[sip-comm-dev] Stopping a stream


#1

Hello again,

I finally found out how to remove a stream. However, there are still
some problems.

I am using the method removeTarget() from the object RTPManager.

Removing the video stream while maintaining the audio stream is
possible.

But,

Removing the audio stream while maintaining the video stream is not
possible. The video stream is stopped as well.

I can't explain this behavior. Any idea ? Is it in the spec of JMF that
video cannot run without audio ?

Thank you very much in advance for you help
Laurent ADROIT
Trainee at FT R&D UK

Note :
For your Information, in some case, after invoking the remoteTarget()
method, the BYE event is not sent.
It's a bug :
http://developer.java.sun.com/developer/bugParade/bugs/4421128.html

From: zze-ADROIT Laurent FTRD/DMR/LON

[mailto:laurent.adroit@rd.francetelecom.com]

···

-----Original Message-----
Sent: 26 April 2004 11:10
To: dev@sip-communicator.dev.java.net
Subject: [sip-comm-dev] Stopping a stream

Hello,

I started to implement the reINVITE.

I would like to be able to stop and resume a stream (eg: maintain audio
and add/remove video).

In the method createTransmitter() of AVTransmitter.java, an object
SendStream is created for each stream : audio and video.

That's why I store theses objects and then I invoke the stop() method
when I want to stop the stream and start() when I want to resume.

However, it doesn't work. In the case where I invoke the stop() method,
no more sounds can be heared, there is a pink screen in the video
windows, so no more images but the counter of the video is still running
...

Am I working on the rights objects ? Do you have any idea ?

Note : I am not using the method removeTarget() of the object RTPManager
cause I want to be able to resume the stream later ...

Thank you in advance,
Laurent ADROIT
Trainee at FT R&D UK

---------------------------------------------------------------------
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


#2

Hello Laurent,

Please excuse the lag.

I don't see a reason why video won't run witout audio !?? Quite strange. Have you tried posting the question on JMF-INTEREST?

Emil

···

I finally found out how to remove a stream. However, there are still
some problems.

I am using the method removeTarget() from the object RTPManager.

Removing the video stream while maintaining the audio stream is
possible.

But,

Removing the audio stream while maintaining the video stream is not
possible. The video stream is stopped as well.

I can't explain this behavior. Any idea ? Is it in the spec of JMF that
video cannot run without audio ?

Thank you very much in advance for you help
Laurent ADROIT
Trainee at FT R&D UK

Note :
For your Information, in some case, after invoking the remoteTarget()
method, the BYE event is not sent.
It's a bug :
http://developer.java.sun.com/developer/bugParade/bugs/4421128.html

-----Original Message-----
From: zze-ADROIT Laurent FTRD/DMR/LON
[mailto:laurent.adroit@rd.francetelecom.com] Sent: 26 April 2004 11:10
To: dev@sip-communicator.dev.java.net
Subject: [sip-comm-dev] Stopping a stream

Hello,

I started to implement the reINVITE.

I would like to be able to stop and resume a stream (eg: maintain audio
and add/remove video).

In the method createTransmitter() of AVTransmitter.java, an object
SendStream is created for each stream : audio and video.

That's why I store theses objects and then I invoke the stop() method
when I want to stop the stream and start() when I want to resume.

However, it doesn't work. In the case where I invoke the stop() method,
no more sounds can be heared, there is a pink screen in the video
windows, so no more images but the counter of the video is still running
...

Am I working on the rights objects ? Do you have any idea ?

Note : I am not using the method removeTarget() of the object RTPManager
cause I want to be able to resume the stream later ...

Thank you in advance,
Laurent ADROIT
Trainee at FT R&D UK

---------------------------------------------------------------------
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