That's why i recommended AmMultipartyMixer: it does that for you ;-)

-raphael.

On 17.06.2008, at 21:13, "Jason Penton" <[EMAIL PROTECTED]> wrote:

Hi Raphael, Stefan

Im trying to mix the audiostreams within the AmAudioDelayBridge class, by overiding the put and get methods of AmAudio.

It seems as though it will work but I need to ask one more question:

when put is called on AmAudioDelayBridge I can write the data to a global, syncrhonized buffer (which is ultimately written to a file). However, how do I synchronzie the data written to the other AmAudioDelayBridge i.e. how do I know where to mix the data in the global, protected buffer. Baasically I am trying to mix the data that is passed from the AmMediaProcessor to each AmAudioDelatBridge::put method to a global, mixed buffer - I just cant see how to sync the individual streams??????

I think the question I am asking here is how to do the timing of the mixing?

any clues / ideas

Cheers
Jason

On Tue, Jun 17, 2008 at 4:46 PM, Stefan Sayer <[EMAIL PROTECTED]> wrote:


o Raphael Coeffic [06/17/08 13:52]:

Stefan Sayer wrote:


o Raphael Coeffic [06/17/08 11:42]:
Jason Penton wrote:
Hi *,

Is there anyone that give me / point me to a tutorial on mixing audio streams in SEMS without using a conferencechannel?


Hi Jason,

i cannot point you at any tutorial, as there are none on that subject. But i can give you some good hints.
...

Then you need a mixer: AmMultipartyMixer is your (only?) choice. It has a very easy interface. Then, you can use the same strategy as proposed
imo too complicated, look at AmAudioMixIn.

Ok, i could not remember this one.... But could you explain how you want to use this one? It needs some extentions, doesn't it? i think its possible with AmAudioMixIn, AmAudioBridge and AmAudioQueue alone.

Stefan


-Raphael.

Stefan


--
Stefan Sayer
VoIP Services

[EMAIL PROTECTED]
www.iptego.com

iptego GmbH
Am Borsigturm 40
13507 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to