> 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
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel