Re: RTP Multicast TTL

Arjan Knepper <[email protected]>
Newsgroups gmane.comp.gnu.ccrtp.devel
Message-ID <[email protected]>
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 set
>TTL 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
>[email protected]
>http://lists.gnu.org/mailman/listinfo/ccrtp-devel
>
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.