You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While tuning a single stream published via ffmpeg's rtsp method, the client sends the proper setup messages (OPTIONS -> DESCRIBE -> SETUP), but sends 2 sequential PLAY messages. The second is rejected by the simple-rtsp-server with a client error code (400), and this causes the client to fail to stream the media. The error log from the server is:
2020/11/18 22:13:07 [2/1/0] [client 172.24.52.198:64120] connected
2020/11/18 22:13:07 [2/1/0] [client 172.24.52.198:64120] OPTIONS
2020/11/18 22:13:07 [2/1/0] [client 172.24.52.198:64120] DESCRIBE
2020/11/18 22:13:07 [2/1/0] [client 172.24.52.198:64120] SETUP
2020/11/18 22:13:07 [2/1/0] [client 172.24.52.198:64120] PLAY
2020/11/18 22:13:07 [2/1/1] [client 172.24.52.198:64120] is reading from path 'stream', 1 track with udp
2020/11/18 22:13:07 [2/1/1] [client 172.24.52.198:64120] PLAY
2020/11/18 22:13:07 [2/1/1] [client 172.24.52.198:64120] ERR: client must be in state [PrePlay], while is in state Play
2020/11/18 22:13:07 [1/1/0] [client 172.24.52.198:64120] disconnected
The command we are using to publish the stream to the server is:
Where the udp stream on localhost is coming from the camera. My understanding of the RFC is that additional PLAY messages may be sent by clients while in a Play state, and that the client is just expecting a OK response since the stream is already playing at the requested position. The client itself is a QT application, and I believe it is using the qmediaplayer library, but I don't have the ability to change its behavior.
This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.
Which version are you using?
v0.12.1
Which operating system are you using?
Windows
Describe the problem
While tuning a single stream published via ffmpeg's rtsp method, the client sends the proper setup messages (OPTIONS -> DESCRIBE -> SETUP), but sends 2 sequential PLAY messages. The second is rejected by the simple-rtsp-server with a client error code (400), and this causes the client to fail to stream the media. The error log from the server is:
The command we are using to publish the stream to the server is:
ffmpeg.exe -re -stream_loop -1 -i udp://127.0.0.1:2222?overrun_nonfatal=1'&'fifo_size=50000000 -vcodec copy -f rtsp rtsp://localhost:8554/stream
Where the udp stream on localhost is coming from the camera. My understanding of the RFC is that additional PLAY messages may be sent by clients while in a Play state, and that the client is just expecting a OK response since the stream is already playing at the requested position. The client itself is a QT application, and I believe it is using the qmediaplayer library, but I don't have the ability to change its behavior.
Did you attach a network dump?
yes
networkdump.zip
The text was updated successfully, but these errors were encountered: