client: TEARDOWN brings that state to Init again

This commit is contained in:
Wim Taymans 2012-11-29 12:30:20 +01:00
parent ad00c5e792
commit 4b61fdad85

View file

@ -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);