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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080922/472e588f/attachment-0001.html