[sip-comm-dev] multiple audio conversations at the same time

I am modifying the sip-communicator for a project and one of the requirements is to have multiple simultaneous audio conversations. For example if you have 2 conversations, when you speak both parties hear you and you hear both parties when they speak, but they cannot hear each other (not a conference). I am using a private server running the trixbox flavor of asterisk and so far I have been able to create 2 conversations in which I can receive the rtp streams and hear what each party is saying but I can only talk on one line (only one out-going rtp stream). I was wondering if anyone has experimented with this... or can point me in the right direction. Even a small example of two out going rtp streams from the same audio capture device would be a great help.

thank you

Sergei Frankoff

Frankoff.S@forces.gc.ca

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

As far as the JMF end of this, I believe this would be done using Manager.createCloneableDatasource.

You would create the javasound datasource, then create a cloneable datasource from it, then you have 2, the original and the clone. You then start processors for each, transmitting.

I have not tried this myself.

Also, FMJ has not yet implemented Manager.createCloneableDatasource, although JMF has.

Ken Larson

···

FRANKOFF.S@forces.gc.ca wrote:

I am modifying the sip-communicator for a project and one of the requirements is to have multiple simultaneous audio conversations. For example if you have 2 conversations, when you speak both parties hear you and you hear both parties when they speak, but they cannot hear each other (not a conference). I am using a private server running the trixbox flavor of asterisk and so far I have been able to create 2 conversations in which I can receive the rtp streams and hear what each party is saying but I can only talk on one line (only one out-going rtp stream). I was wondering if anyone has experimented with this... or can point me in the right direction. Even a small example of two out going rtp streams from the same audio capture device would be a great help.

thank you

Sergei Frankoff

Frankoff.S@forces.gc.ca

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

thank you I have been able to clone the capture device however now I have a new problem. When I create a new rtp transmit stream the old one disappears. Does anyone have any suggestions?

thank you

sergei

···

-----Original Message-----

From: Ken Larson [mailto:forum@larsontechnologies.com]

Sent: Monday, 15 October, 2007 16:44
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] multiple audio conversations at the same
time

As far as the JMF end of this, I believe this would be done using
Manager.createCloneableDatasource.

You would create the javasound datasource, then create a cloneable
datasource from it, then you have 2, the original and the clone. You
then start processors for each, transmitting.

I have not tried this myself.

Also, FMJ has not yet implemented Manager.createCloneableDatasource,
although JMF has.

Ken Larson

FRANKOFF.S@forces.gc.ca wrote:

I am modifying the sip-communicator for a project and one of the requirements is to have multiple simultaneous audio conversations. For example if you have 2 conversations, when you speak both parties hear you and you hear both parties when they speak, but they cannot hear each other (not a conference). I am using a private server running the trixbox flavor of asterisk and so far I have been able to create 2 conversations in which I can receive the rtp streams and hear what each party is saying but I can only talk on one line (only one out-going rtp stream). I was wondering if anyone has experimented with this... or can point me in the right direction. Even a small example of two out going rtp streams from the same audio capture device would be a great help.

thank you

Sergei Frankoff

Frankoff.S@forces.gc.ca

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

I'm sorry I don't have any advice for solving your problem at this
time. But I do want to mention that I'm looking forward to seeing your
revised code show up in the S-C project's CVS, as per the GPL. If it's
still got problems then, well, that's what the open source project's
community is for. Which is an argument to submit something that works
even minimally at the earliest time, to get help earlier. Best of luck.

···

On Wed, 2007-10-17 at 10:43 -0400, FRANKOFF.S@forces.gc.ca wrote:

thank you I have been able to clone the capture device however now I have a new problem. When I create a new rtp transmit stream the old one disappears. Does anyone have any suggestions?

thank you

sergei

-----Original Message-----
From: Ken Larson [mailto:forum@larsontechnologies.com]
Sent: Monday, 15 October, 2007 16:44
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] multiple audio conversations at the same
time

As far as the JMF end of this, I believe this would be done using
Manager.createCloneableDatasource.

You would create the javasound datasource, then create a cloneable
datasource from it, then you have 2, the original and the clone. You
then start processors for each, transmitting.

I have not tried this myself.

Also, FMJ has not yet implemented Manager.createCloneableDatasource,
although JMF has.

Ken Larson

FRANKOFF.S@forces.gc.ca wrote:
> I am modifying the sip-communicator for a project and one of the requirements is to have multiple simultaneous audio conversations. For example if you have 2 conversations, when you speak both parties hear you and you hear both parties when they speak, but they cannot hear each other (not a conference). I am using a private server running the trixbox flavor of asterisk and so far I have been able to create 2 conversations in which I can receive the rtp streams and hear what each party is saying but I can only talk on one line (only one out-going rtp stream). I was wondering if anyone has experimented with this... or can point me in the right direction. Even a small example of two out going rtp streams from the same audio capture device would be a great help.
>
> thank you
>
> Sergei Frankoff
>
> Frankoff.S@forces.gc.ca
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help@sip-communicator.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--

(C) Matthew Rubenstein

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

Perhaps you could post a code sample or patch of what you are doing, maybe I'll have some ideas.

Ken

···

FRANKOFF.S@forces.gc.ca wrote:

thank you I have been able to clone the capture device however now I have a new problem. When I create a new rtp transmit stream the old one disappears. Does anyone have any suggestions?

thank you

sergei

-----Original Message-----
From: Ken Larson [mailto:forum@larsontechnologies.com]
Sent: Monday, 15 October, 2007 16:44
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] multiple audio conversations at the same
time

As far as the JMF end of this, I believe this would be done using Manager.createCloneableDatasource.

You would create the javasound datasource, then create a cloneable datasource from it, then you have 2, the original and the clone. You then start processors for each, transmitting.

I have not tried this myself.

Also, FMJ has not yet implemented Manager.createCloneableDatasource, although JMF has.

Ken Larson

FRANKOFF.S@forces.gc.ca wrote:
  

I am modifying the sip-communicator for a project and one of the requirements is to have multiple simultaneous audio conversations. For example if you have 2 conversations, when you speak both parties hear you and you hear both parties when they speak, but they cannot hear each other (not a conference). I am using a private server running the trixbox flavor of asterisk and so far I have been able to create 2 conversations in which I can receive the rtp streams and hear what each party is saying but I can only talk on one line (only one out-going rtp stream). I was wondering if anyone has experimented with this... or can point me in the right direction. Even a small example of two out going rtp streams from the same audio capture device would be a great help.

thank you

Sergei Frankoff

Frankoff.S@forces.gc.ca

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

By the way, I've just implemented Manager.createCloneableDataSource for PushBufferDataSource and PullBufferDataSource in FMJ.

Ken

···

FRANKOFF.S@forces.gc.ca wrote:

thank you I have been able to clone the capture device however now I have a new problem. When I create a new rtp transmit stream the old one disappears. Does anyone have any suggestions?

thank you

sergei

-----Original Message-----
From: Ken Larson [mailto:forum@larsontechnologies.com]
Sent: Monday, 15 October, 2007 16:44
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] multiple audio conversations at the same
time

As far as the JMF end of this, I believe this would be done using Manager.createCloneableDatasource.

You would create the javasound datasource, then create a cloneable datasource from it, then you have 2, the original and the clone. You then start processors for each, transmitting.

I have not tried this myself.

Also, FMJ has not yet implemented Manager.createCloneableDatasource, although JMF has.

Ken Larson

FRANKOFF.S@forces.gc.ca wrote:
  

I am modifying the sip-communicator for a project and one of the requirements is to have multiple simultaneous audio conversations. For example if you have 2 conversations, when you speak both parties hear you and you hear both parties when they speak, but they cannot hear each other (not a conference). I am using a private server running the trixbox flavor of asterisk and so far I have been able to create 2 conversations in which I can receive the rtp streams and hear what each party is saying but I can only talk on one line (only one out-going rtp stream). I was wondering if anyone has experimented with this... or can point me in the right direction. Even a small example of two out going rtp streams from the same audio capture device would be a great help.

thank you

Sergei Frankoff

Frankoff.S@forces.gc.ca

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

for anyone who wants to know how to do this the key lies in cloning the audioDS for the first conversation initiated then saving the clonableDS somewhere with public access so that it may be used for all new conversations. my problem came from trying to use the original DS that I had cloned for the first conversation's RTP, I should have used a clone. With regards to the reply below I am not using the sip-communicator but something based on it called the java-sip-applet phone. As a result I will not be uploading to the CVS (our work computers cannot access any external CVS anyway). This was a proof of concept not an addition to the SC. I will happily post the code somewhere if anyone has any suggestions.

thank you for all your help!

Sergei

···

-----Original Message-----

From: Matthew Rubenstein [mailto:email@mattruby.com]

Sent: Wednesday, 17 October, 2007 12:01
To: Ken Larson
Cc: SIP-Communicator Dev
Subject: RE: [sip-comm-dev] multiple audio conversations at the same
time

  I'm sorry I don't have any advice for solving your problem at this
time. But I do want to mention that I'm looking forward to seeing your
revised code show up in the S-C project's CVS, as per the GPL. If it's
still got problems then, well, that's what the open source project's
community is for. Which is an argument to submit something that works
even minimally at the earliest time, to get help earlier. Best of luck.

On Wed, 2007-10-17 at 10:43 -0400, FRANKOFF.S@forces.gc.ca wrote:

thank you I have been able to clone the capture device however now I have a new problem. When I create a new rtp transmit stream the old one disappears. Does anyone have any suggestions?

thank you

sergei

-----Original Message-----
From: Ken Larson [mailto:forum@larsontechnologies.com]
Sent: Monday, 15 October, 2007 16:44
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] multiple audio conversations at the same
time

As far as the JMF end of this, I believe this would be done using
Manager.createCloneableDatasource.

You would create the javasound datasource, then create a cloneable
datasource from it, then you have 2, the original and the clone. You
then start processors for each, transmitting.

I have not tried this myself.

Also, FMJ has not yet implemented Manager.createCloneableDatasource,
although JMF has.

Ken Larson

FRANKOFF.S@forces.gc.ca wrote:
> I am modifying the sip-communicator for a project and one of the requirements is to have multiple simultaneous audio conversations. For example if you have 2 conversations, when you speak both parties hear you and you hear both parties when they speak, but they cannot hear each other (not a conference). I am using a private server running the trixbox flavor of asterisk and so far I have been able to create 2 conversations in which I can receive the rtp streams and hear what each party is saying but I can only talk on one line (only one out-going rtp stream). I was wondering if anyone has experimented with this... or can point me in the right direction. Even a small example of two out going rtp streams from the same audio capture device would be a great help.
>
> thank you
>
> Sergei Frankoff
>
> Frankoff.S@forces.gc.ca
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help@sip-communicator.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--

(C) Matthew Rubenstein

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net