[Live-devel] RTSP SETUP response

Miguel Orenes miguel.orenes at displaynote.com
Tue Sep 10 01:01:43 PDT 2013


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.orenes at displaynote.com<mailto:miguel.orenes at 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-bounces at ns.live555.com [mailto:live-devel-bounces at 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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130910/47040522/attachment-0001.html>


More information about the live-devel mailing list