cannot send call state about state destroy, this is an internal state and the session is already destoyed. Bug from original implementation

This commit is contained in:
Anthony Minessale 2015-02-09 22:34:04 -06:00
parent 6f13748800
commit 0dc48df426
1 changed files with 0 additions and 3 deletions

View File

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