E
einherjar via JavaKB.com
Hi,
my problem is the following.
I get several incoming RTPStreams with Audiodata. These ones I have to mix
so that i get one Stream (not with several Tracks) that i can decode as
g711 and then send it to several participants.
But I have no idea how to do the mixing. In JavaSound i could simply add
the samples. But I can?t access them in JMF. The DataSource won?t give them
to me.
How can I get an AudioInputStream of it? So that I can access the samples
an add them together?
And after that, how can I make a new DataSource, to decode the new
AudioStream and send it away?
my problem is the following.
I get several incoming RTPStreams with Audiodata. These ones I have to mix
so that i get one Stream (not with several Tracks) that i can decode as
g711 and then send it to several participants.
But I have no idea how to do the mixing. In JavaSound i could simply add
the samples. But I can?t access them in JMF. The DataSource won?t give them
to me.
How can I get an AudioInputStream of it? So that I can access the samples
an add them together?
And after that, how can I make a new DataSource, to decode the new
AudioStream and send it away?