Hi, I'm playing with live555 RTSP server and trying some its test
applications.

I have looked at the code of the server and openRTSP client, but I'm a
beginner of C++, so it's not easy..

I would like to implement (in C++) an RTP retransmission mechanism of loss
packets between the server and the client.

I explain better my scenario:

I would like that the stream arrive in *unicast* mode to the client and *at
the same time* arrive to a fixed size buffer (retransmission buffer) that
store all the packets (the retransmission buffer should be phisically
located in the same place as the RTSP server, so I suppose to have no losses
between the streaming server and the retransmission buffer..)

When the client (which also has got its own buffer) detects a loss in the
stream, sends a NACK to the retransmission buffer asking for the
retransmission using a separate channel from the original one..

*I thought to implement it in this way:

- Create the buffer using a simple circular buffer: I have created a simple
queue with two pointers to store the "elements", that are the RTP packets
defined with an appropriate class..

- Create a server-client socket that communicate each other and then
creating a "thread" that allow the communication between the socket and the
buffer, both on the server side and client side of course..*

*I would like to know if there is the possibility to do all this just
modifying somehow the RTSPserver and openRTSP* instead of creating
everything from scratch...

I hope I was clear and someone can help me..

Any suggestion is very appreciated,

thanks!

Francesco
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to