Rtp Multicast send/receive switching

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

 



On Mon, Sep 22, 2008 at 4:37 PM, Carmine <cmcrew at tiscali.it> wrote:

>
> On 22/set/08, at 01:46, Benny Prijono wrote:
>
> On Sat, Sep 20, 2008 at 1:37 PM, Carmine <cmcrew at tiscali.it> wrote:
>
>> Hi!
>> My application is developed in C#; Visual Studio .Net (Compact
>> Framework 2,0)  using my own wrapper DLL.
>>
>> I tested with success unicast and multicast calls using streamutil.c
>> example.
>> I developped a presence/sync server (with a custom protocol) to permit
>> only one client to transmit at same time in same multicast channel.
>> Now I need to create a multicast rtp channel  (A kind of Push to talk
>> application) where a client talk (pressing the PTT button) and others
>> receive, but when the first release PTT
>> it will be able to receive from same multicast address.
>> Have I to destroy transmit stream and recreate a receive stream, or
>> 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.


> and connect they in a conference bridge ?
>
>
You don't have to, but the bridge will make things much easier to
manipulate.

 -benny




> carmine
>
>
>
>
>
> _______________________________________________
> 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]
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080922/1f13c53d/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