Ticket #7 (closed defect: wontfix)
Using the SendRTMPMessage function in the application
| Reported by: | igorya | Owned by: | |
|---|---|---|---|
| Priority: | major | Keywords: | |
| Cc: |
Description
I can't use SendRTMPMessage in own application. For example, in vptests ProcessMessage?() (variantappprotocolhandler.cpp)
Because got compilation error like this:
/home/igorya/crtmpserver/builders/cmake/applications/vpappsgw/../../../../sources/thelib/include/protocols/rtmp/basertmpappprotocolhandler.h: In member function 'virtual bool VariantAppProtocolHandler::ProcessMessage?(BaseVariantProtocol?*, Variant&, Variant&)':
/home/igorya/crtmpserver/builders/cmake/applications/vpappsgw/../../../../sources/thelib/include/protocols/rtmp/basertmpappprotocolhandler.h:192: error: 'bool BaseRTMPAppProtocolHandler::SendRTMPMessage(BaseRTMPProtocol*, Variant, bool)' is protected
/home/igorya/crtmpserver/sources/applications/vpappsgw/src/variantappprotocolhandler.cpp:73: error: within this context
/home/igorya/crtmpserver/builders/cmake/applications/vpappsgw/../../../../sources/thelib/include/protocols/rtmp/basertmpappprotocolhandler.h:192: error: 'bool BaseRTMPAppProtocolHandler::SendRTMPMessage(BaseRTMPProtocol*, Variant, bool)' is protected
/home/igorya/crtmpserver/sources/applications/vpappsgw/src/variantappprotocolhandler.cpp:141: error: within this context
* Error code 1
I redefine this function as public in basertmpappprotocolhandler.h
But this is temporary solution
