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) and connect they in a conference bridge ? 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] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080922/d6fc8b8a/attachment-0001.html