check frame->data other than packet for non-rtp frames

This commit is contained in:
windy-wang 2020-04-07 10:24:40 +08:00
parent ae0444e9cb
commit 61b8e6780d
1 changed files with 1 additions and 1 deletions

View File

@ -4965,7 +4965,7 @@ switch_status_t conference_video_thread_callback(switch_core_session_t *session,
switch_assert(member); 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; return SWITCH_STATUS_SUCCESS;
} }