[Live-devel] changes about PassiveServerMediaSubsession.hh to support multicast steaming over rtsp

Zhang Qian(张倩) qianzhang at asrmicro.com
Fri Jun 28 01:14:26 PDT 2019


Hi  Engineer sir,

Excuse me. I am Nancy, I have a question to ask for device about live555.

Now I want to implement multicast streaming over rtsp by live555. I have tried some multicast sample such as testH264VideoStreamer under testProgs directory, seems that it only support auto multicast streaming
but not start multicast steaming after rtsp negotiation.

Then I extend PassiveServerMediaSubsession class, and  override startStream/deleteStream methods to start/stop multicast streaming after receiving PLAY/TEARDOWN request from client. It can work, but I need
to do some changes for PassiveServerMediaSubsession.hh as below. I need to visit members fRTPSink/fRTCPInstance/fClientRTCPSourceRecords in startStream/deleteStream methods, but they are private. So I
change them into protected in PassiveServerMediaSubsession.hh.


changes:
......................................
protected:
  RTPSink& fRTPSink;
  RTCPInstance* fRTCPInstance;
  HashTable* fClientRTCPSourceRecords; // indexed by client session id; used to implement RTCP "RR" handling
......................................................................................

Can you help to check whether my changes for PassiveServerMediaSubsession.hh are reasonable and accepted?

Thanks very much.

Qian.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20190628/209da9f3/attachment.htm>


More information about the live-devel mailing list