|
From: | Arjan Knepper |
Subject: | Re: [Ccrtp-devel] RTP Multicast TTL |
Date: | Tue, 17 Jan 2006 11:41:37 +0100 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Tom Anwyll wrote:
Hello RTP Gurus, Pardon my ignorance and inexperience. It is my understanding of multicast that the time to live (TTL) option determines the number of times a multicast packet will be routed beyond the network the packets originate from.
yes, basically.
However, I can not determine the method to set the TTL for multicast RTP session transmitters in ccRTP.
in rtp.h: class TRTPSessionBase inline Socket::Error setMcastTTL(uint8 ttl) { Socket::Error error = dso->setMulticast(true); if ( error ) return error; error = dso->setTimeToLive(ttl); if ( error ) return error; error = cso->setMulticast(true); if ( error ) return error; return cso->setTimeToLive(ttl); } This member is private though. (Why ??) But the 'dso' and 'cso' are protected so in your derived class you should be able to access them.
If possible, could someone explain to me how to setTTL in ccRTP for multicast RTP session transmitters?If it is not possible to set TTL in ccRTP, doesn't this limit ccRTP for use only in local networks? How would multicast RTP transmitted packets get routed to multiple networks? Thanks (in advance) for the explanation, Tom __________________________________________________ Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com_______________________________________________ Ccrtp-devel mailing list address@hidden http://lists.gnu.org/mailman/listinfo/ccrtp-devel
[Prev in Thread] | Current Thread | [Next in Thread] |