From 0dc48df4261f82c9c58620bbdea6d8a70086c7e2 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 9 Feb 2015 22:34:04 -0600 Subject: [PATCH] cannot send call state about state destroy, this is an internal state and the session is already destoyed. Bug from original implementation --- src/mod/endpoints/mod_rtmp/mod_rtmp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mod/endpoints/mod_rtmp/mod_rtmp.c b/src/mod/endpoints/mod_rtmp/mod_rtmp.c index 9e29601b4f..2ec48628ae 100644 --- a/src/mod/endpoints/mod_rtmp/mod_rtmp.c +++ b/src/mod/endpoints/mod_rtmp/mod_rtmp.c @@ -222,9 +222,6 @@ 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); }