Rtp Multicast send/receive switching

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

 



On 23/set/08, at 11:25, Benny Prijono wrote:

> On Tue, Sep 23, 2008 at 9:05 AM, Carmine <cmcrew at tiscali.it> wrote:
>>> there is a better solution to change direction?
>>>
>>>
>>> I don't think you need to destroy/re-create the stream during the  
>>> call at all. Once you've configured multicast on the media  
>>> transport, you should just need to disconnect/reconnect the stream  
>>> from the audio source to mute/unmute the transmission. If you use  
>>> conference bridge then this will become even easier to do.
>>>
>>>  -benny
>>
>> Actually I don't use conference bridge but only a single  
>> bidirectional stream port. Have I to create 2 separate "single  
>> direction" streams (transmission and receive)
>>
>> No. Since you only have 1 transport, you can only create 1  
>> bidirectional stream.
>
> I don't understand; if I have only a bidirectional multicast stream,  
> how can I pause only transmission leaving reception active?
>
> That's where the conference bridge comes handy. All you need to do  
> is disconnect the stream from any source, and nothing will be  
> transmitted (except keep alive packet perhaps. Have a look at  
> pjmedia/config.h for the settings). See http://trac.pjsip.org/repos/wiki/Python_SIP/Media 
>  for an introduction on how the bridge works.
>

Wonderfull!!! I've got it!
thanks, many thanks!

> If you don't use the bridge, then you can use pjmedia_stream_pause()  
> to pause media flow on a particular direction.
>
>  -benny
>
>
>
> _______________________________________________
> 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

--
Carmine Ruffino
[Mobile: +39 339 3525816]
[Mobile: +39 329 7571322]
[MSN: cmcrew (at) tiscalinet (dot) it]
[Skype ID: cmcsynth]
[GPG Key: xxxxxx]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080923/c2c7e1ff/attachment.html 


[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