]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6235 try this patch, this will send you a DOWN state at last
authorSeven Du <dujinfang@gmail.com>
Sat, 22 Feb 2014 01:44:19 +0000 (09:44 +0800)
committerSeven Du <dujinfang@gmail.com>
Sun, 23 Feb 2014 00:33:27 +0000 (08:33 +0800)
src/mod/endpoints/mod_rtmp/mod_rtmp.c

index 0690a87c7399d2aba4dfc77a96da1e91dbe1f108..6e283d29479b583da4e54a29518c76d27b07d112 100644 (file)
@@ -229,6 +229,9 @@ switch_status_t rtmp_on_destroy(switch_core_session_t *session)
        tech_pvt = switch_core_session_get_private(session);
 
        if (tech_pvt) {
+
+               rtmp_notify_call_state(session);
+
                if (switch_core_codec_ready(&tech_pvt->read_codec)) {
                        switch_core_codec_destroy(&tech_pvt->read_codec);
                }