summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
825d6f0)
The advantage is that in the signal handler you get direct access to
information about what streams are about to get torn down (in the
GstRTSPClientState).
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697686
state->sessmedia = media;
state->sessmedia = media;
+ /* we emit the signal before closing the connection */
+ g_signal_emit (client, gst_rtsp_client_signals[SIGNAL_TEARDOWN_REQUEST],
+ 0, state);
+
/* unlink the all TCP callbacks */
unlink_session_transports (client, session, media);
/* unlink the all TCP callbacks */
unlink_session_transports (client, session, media);
send_response (client, session, state->response, TRUE);
send_response (client, session, state->response, TRUE);
- /* we emit the signal before closing the connection */
- g_signal_emit (client, gst_rtsp_client_signals[SIGNAL_TEARDOWN_REQUEST],
- 0, state);
-
return TRUE;
/* ERRORS */
return TRUE;
/* ERRORS */