FS-7744 amend
This commit is contained in:
parent
987c84a119
commit
2f836a2c53
|
@ -4949,6 +4949,9 @@ static void conference_write_video_frame(conference_obj_t *conference, conferenc
|
|||
(switch_test_flag(conference, CFLAG_VID_FLOOR_LOCK) ||
|
||||
!(imember->id == imember->conference->video_floor_holder && imember->conference->last_video_floor_holder))) {
|
||||
|
||||
if (vid_frame->img) {
|
||||
switch_core_session_write_video_frame(imember->session, vid_frame, SWITCH_IO_FLAG_NONE, 0);
|
||||
} else {
|
||||
switch_assert(vid_frame->packetlen <= SWITCH_RTP_MAX_BUF_LEN);
|
||||
tmp_frame = *vid_frame;
|
||||
tmp_frame.packet = buf;
|
||||
|
@ -4959,6 +4962,7 @@ static void conference_write_video_frame(conference_obj_t *conference, conferenc
|
|||
switch_core_session_write_video_frame(imember->session, &tmp_frame, SWITCH_IO_FLAG_NONE, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switch_core_session_rwunlock(isession);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue