Hello, I am trying to create a simple RTSP Proxy which makes use of PassiveServerMediaSubsession instead of OnDemandServerMediaSubsession. What I am doing is just a test just to see if the result is acceptable for our application ad is as follows:

The source of my video is an Axis Q7424-R server.

I create a RTSPClient and do all the RTSP requests (Describe, Setup and Play) on one Media Session which contains only a Media Subsession with the video stream.

Once the Client is beginning receiving the frames I setup a RTSP Server and do following:
- create two Groupsock (one for RTP and one for RTCP)
- create a RTPSink of the appropriate type (in my case H264VideoRTPSink)
- create RTCPInstance
- create PassiveServerMediaSubsession
- add Subsession to the ServerMediaSession and add the ServerMediaSession to the RTSPServer
- start the sink providing the source of the Client Media Session

Once I connect a client to my proxy everything works correctly except that I receive the video with has a significant delay (1 or 2 seconds). I noticed this opening with the same player (Axis Media Control) both streams: the original and the proxied one. If I proxy the same stream using the live555ProxyServer I do not have the same delay, so probably I am doing something wrong, but what??

Thanks for helping...
Bill
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to