Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple session Teardown problem #36

Open
jinfanzon opened this issue Jun 28, 2021 · 0 comments
Open

Multiple session Teardown problem #36

jinfanzon opened this issue Jun 28, 2021 · 0 comments

Comments

@jinfanzon
Copy link

I'm proxying a RTSP stream with live555 proxy server. Then I have 2 sessions active one with VLC and other one with OpenRTSP:

  • openRTSP -v -V rtsp://192.168.0.101:8554/proxyStream
  • vlc --extraintf=http:logger --verbose=5 --file-logging --logfile=vlc-log.txt rtsp://192.168.0.101:8554/proxyStream

Please notice that openRTSP play is only video without audio.

After a couple of seconds, I stop the VLC stream, a TEARDOWN command is sent, and the openRTSP is automatically stopped as well.

I added a couple of logs to the source code and seems it is not re-using the session but it is creating a new session. So when the VLC stream send a TEARDOWN, then the proxyserver sends a PAUSE command.

This same scenario occurs with Janus and a webrtc channel that consumes only a video channel from the live555 proxy-server.

It is my understanding that the problem is a new source stream is being created if no audio channel is consumed instead of re-using.

Researching I found this thread:
https://live-devel.live555.narkive.com/qGf6LfB7/proxyserver-subsession-teardown

It mentions a fix being included, was that patch included in this repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant