[Live-devel] Multiple session TEARDOWN issue

Jose Maria Infanzon jose.infanzon at digitalmotus.io
Tue Jun 29 10:08:18 PDT 2021


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 
<https://live-devel.live555.narkive.com/qGf6LfB7/proxyserver-subsession-teardown>

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


-- 


      José María Infanzon

CTO

Digital Motus

	
	
	
	

	+54-9-351-6618704 <tel:+54-9-351-6618704>

	jose.infanzon at digitalmotus.io <mailto:jose.infanzon at digitalmotus.io>

	www.digitalmotus.io <//www.digitalmotus.io>

	
linkedin <https://www.linkedin.com/in/jinfanzon/> 	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20210629/62974ca8/attachment-0001.htm>


More information about the live-devel mailing list