set marker and ts, some endpoints depending on the marker bit to render correct video
This commit is contained in:
parent
748c15221b
commit
5a0d9514db
|
@ -411,6 +411,8 @@ SWITCH_STANDARD_APP(play_fsv_function)
|
|||
if (switch_channel_test_flag(channel, CF_VIDEO)) {
|
||||
switch_byte_t *data = (switch_byte_t *) vid_frame.packet;
|
||||
|
||||
vid_frame.m = hdr->m;
|
||||
vid_frame.timestamp = ts;
|
||||
vid_frame.data = data + 12;
|
||||
vid_frame.datalen = vid_frame.packetlen - 12;
|
||||
switch_core_session_write_video_frame(session, &vid_frame, SWITCH_IO_FLAG_NONE, 0);
|
||||
|
|
Loading…
Reference in New Issue