Ticket #7 (closed defect: wontfix)

Opened 17 months ago

Last modified 8 months ago

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

Change History

comment:1 Changed 8 months ago by jet

  • Status changed from new to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.