[Live-devel] sending RTCP through Unicast

Ross Finlayson finlayson at live555.com
Thu Jun 25 10:00:09 PDT 2009


>I'm using the Live555 in order to make a unicast transmission of an MPEG2T.
>my sender and receiver are both Live555 .
>I used the DEBUG mode on RTCP.CPP to check the messages .
>I noticed that the receiver sends the RTCP packets only to itself 
>(they are being received on 127.0.0.1 and on the same port where it 
>receives all RTCP pacekts).
>doesn't the sender need to receive those packets?
>I couldn't find the code (if there is any) where the IP/PORT of the 
>new sender is being saved in order to send it those feedback 
>messages.

This is why you should be using RTSP; our RTSP client implementation 
does this automatically.

But because you're not using RTSP, you have to do it yourself: call 
"changeDestinationParameters()" on your RTCP 'groupsock' object.  See 
<http://www.live555.com/liveMedia/faq.html#unicast>
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list