[Live-devel] rtsp proxy error on first request

Yuri D'Elia wavexx at thregr.org
Mon Sep 16 06:21:48 PDT 2019


I've been using live555ProxyServer for a while, starting a couple of
years ago and currently using 2019.08.28 from debian unstable.

I'm relaying an authenticated rtsp stream from a webcam.
I'm using proxyserver as follows:

live555ProxyServer -p 554 -R -U user pass 'rtsp://user:pass@cameraip/videostream'

Whenever I open the proxied video stream for the first time in a while,
I get the following from the client (ffplay, vlc, or anything else):

Playing: rtsp://server/proxyStream [ffmpeg/demuxer] rtsp: method PLAY
failed: 454 Session Not Found

If I reopen the video stream immediately after that, it works.
As long as I keep open a video stream somewhere, the stream starts
without issues.

I did some tests in the past:

- If I open the webcam stream directly, it always works, so even though
  we're speaking about a cheapo no-brand usb webcam, I didn't have
  issues when opening the stream directly from it.
- I cannot disable authentication on the webcam stream to test if
  authentication is creating issues.
- I can (and tried) disabling authentication in proxyserver, but it made
  no difference.


More information about the live-devel mailing list