mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
client: TEARDOWN brings that state to Init again
This commit is contained in:
parent
ad00c5e792
commit
4b61fdad85
1 changed files with 2 additions and 0 deletions
|
@ -675,6 +675,8 @@ handle_teardown_request (GstRTSPClient * client, GstRTSPClientState * state)
|
|||
|
||||
send_response (client, session, state->response, TRUE);
|
||||
|
||||
gst_rtsp_session_media_set_rtsp_state (media, GST_RTSP_STATE_INIT);
|
||||
|
||||
/* we emit the signal before closing the connection */
|
||||
g_signal_emit (client, gst_rtsp_client_signals[SIGNAL_TEARDOWN_REQUEST],
|
||||
0, state);
|
||||
|
|
Loading…
Reference in a new issue