提交 e88ad705 authored 作者: Seven Du's avatar Seven Du

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

上级 daad292e
......@@ -222,6 +222,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);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论