Skip to content

rtsp-media: do not unblock on unsuspend

rtsp_media_unsuspend() is called from handle_play_request() before sending the play response. Unblocking the streams here was causing data to be sent out before the client was ready to handle it, with obvious side effects such as initial packets getting discarded, causing decoding errors.

Instead we can simply let the media streams be unblocked when the state of the media is set to PLAYING, which occurs after sending the play response.

Obsoletes !137 (closed)

Merge request reports

Loading