תשובה: Using multicast addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rozenezvaig_t at tadcomm.com wrote:
> I didn?t understand why to use the option PJMEDIA_UDP_NO_SRC_ADDR_CHECKING

The default behavior is to switch sending to the source address of 
the RTP packet if the source address is different than the currently 
configured remote address, to work with NAT. This wouldn't work with 
multicast, I think.

cheers,
  -benny

> Thanks,
> Tomer
> 
> -----????? ??????-----
> ???: pjsip-bounces at lists.pjsip.org [mailto:pjsip-bounces at lists.pjsip.org] ??? Benny Prijono
> ????: ? 09 ????? 2007 15:01
> ??: pjsip embedded/DSP SIP discussion
> ????: Re: [pjsip] Using multicast addresses
> 
> rozenezvaig_t at tadcomm.com wrote:
>> Benny Hi,
>>
>> Is PJ media can use multicast address for send end receive RTP packets?
> 
> 
> Yes. The trick is to create the socket yourself, join it to the 
> multicast group using native API, and create a pjmedia_transport 
> using this socket by calling pjmedia_transport_udp_attach() with 
> "options" argument set to PJMEDIA_UDP_NO_SRC_ADDR_CHECKING.
> 
> cheers,
>   -benny
> 
>> Thanks,
>>
>> Tomer
> 
> 
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


-- 
Benny Prijono
http://www.pjsip.org




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux