Many thanks Ross

Miguel Ángel Orenes Fernández
Software Engineer
DisplayNote Technologies Ltd.

 P   +34 868 079 259
 W   
www.displaynote.com<https://db3prd0502.outlook.com/owa/redir.aspx?C=moUE0BLKE0ec8lft6znvI6pBg2zyy84I0rNI7kBTil9tPTrOQvbtlTc9ikgB418fDceVmCxyJ-Y.&URL=http%3a%2f%2fwww.displaynote.com%2f>
 E   miguel.ore...@displaynote.com<mailto:miguel.ore...@displaynote.com>
 A   Trapería 19 4ºD | MURCIA 30001
Follow us on Twitter! 
http://twitter.com/displaynote<https://db3prd0502.outlook.com/owa/redir.aspx?C=moUE0BLKE0ec8lft6znvI6pBg2zyy84I0rNI7kBTil9tPTrOQvbtlTc9ikgB418fDceVmCxyJ-Y.&URL=http%3a%2f%2ftwitter.com%2fdisplaynote>

From: live-devel-boun...@ns.live555.com 
[mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson
Sent: Monday, September 9, 2013 11:05 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] RTSP SETUP response

I know, I do not want to configure the client as multicast or unicast, I only 
want to know if RTSPClient received "Transport:RTP/AVP;unicast;" or 
"Trasport:RTP/AVP;multicast;" on SETUP reply.

OK - you can do this by testing the IP address for the "MediaSubsession" 
object.  E.g., using the "testRTSPClient" code as an example, in the 
"continueAfterSETUP()" function, you could call
            
IsMulticastAddress(scs.subsession->rtpSource()->RTPgs()->groupAddress().s_addr)

I.e., you can do this without having to subclass "RTSPClient".

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

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

Reply via email to