linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Using MSConf - conference


From: damico
Subject: Re: [Linphone-developers] Using MSConf - conference
Date: Thu, 17 Jun 2010 18:43:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

Il 15/06/2010 12:09, Raust Tamatea ha scritto:
Hello,
I'm using mediastreamer2 to receive / send RTP data.
I would like to use the filter MSConf for multiple audio stream. By following instruction, a simple communication between a phone and PC is working. Now I've created a conference but when I don't have any more sound. I've done something like this :

ms_filter_link (stream->rtprecv, 0, stream->decoder, 0);
ms_filter_link (stream->decoder, 0, stream->dtmfgen, 0);
ms_filter_link (stream->dtmfgen, 0, room, 0);
ms_filter_link (room, 0, stream->soundwrite, 0);

ms_ticker_attach (m_ticker, pRtp->m_rtprecv);

with

MSFilter * room = ms_filter_new (MS_CONF_ID);

With this I can't hear any sound. If I don't use room and directly go to soundwrite, it's okay.
Could you help me ? I can't find any example with audio conferencing.

Regards.

_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers
msconf is little bit tricky... there are some rules about the links. The best way to learn how use msconf is read the code.
Anway
input 0 is the local source (soundcard)
input (i*2+1) is the source of remote i-th call (rtp decoded data)
output 0 is the local output (soundcard)
output (i*2+1) is the output for remote i-th call (data to encoding and send to remote point)

the (i*2) input and output can be used for pumping/send audio from/to other sources/destinations

Regards

--Michele



reply via email to

[Prev in Thread] Current Thread [Next in Thread]