FS-6235 try this patch, this will send you a DOWN state at last

This commit is contained in:
Seven Du 2014-02-22 09:44:19 +08:00
parent 518b98fd9d
commit c0481e62f8

View File

@ -229,6 +229,9 @@ switch_status_t rtmp_on_destroy(switch_core_session_t *session)
tech_pvt = switch_core_session_get_private(session); tech_pvt = switch_core_session_get_private(session);
if (tech_pvt) { if (tech_pvt) {
rtmp_notify_call_state(session);
if (switch_core_codec_ready(&tech_pvt->read_codec)) { if (switch_core_codec_ready(&tech_pvt->read_codec)) {
switch_core_codec_destroy(&tech_pvt->read_codec); switch_core_codec_destroy(&tech_pvt->read_codec);
} }