From 61b8e6780ded6031dbe7c173975e3f6f0c7cef25 Mon Sep 17 00:00:00 2001 From: windy-wang Date: Tue, 7 Apr 2020 10:24:40 +0800 Subject: [PATCH] check frame->data other than packet for non-rtp frames --- src/mod/applications/mod_conference/conference_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/conference_video.c b/src/mod/applications/mod_conference/conference_video.c index 357f30a560..40b6d8f12d 100644 --- a/src/mod/applications/mod_conference/conference_video.c +++ b/src/mod/applications/mod_conference/conference_video.c @@ -4965,7 +4965,7 @@ switch_status_t conference_video_thread_callback(switch_core_session_t *session, switch_assert(member); - if (switch_test_flag(frame, SFF_CNG) || !frame->packet) { + if (switch_test_flag(frame, SFF_CNG) || !frame->data) { return SWITCH_STATUS_SUCCESS; }