Skip to content

Commit

Permalink
Multistream add orient extmap (#2852)
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanel committed Jan 10, 2022
1 parent 5c36f0c commit 88ebebd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -6999,6 +6999,9 @@ static void janus_videoroom_recorder_create(janus_videoroom_publisher_stream *ps
janus_videoroom_media_str(ps->type));
}
}
/* If the video-orientation extension has been negotiated, mark it in the recording */
if(ps->video_orient_extmap_id > 0)
janus_recorder_add_extmap(rc, ps->video_orient_extmap_id, JANUS_RTP_EXTMAP_VIDEO_ORIENTATION);
/* If media is encrypted, mark it in the recording */
if(ps->type != JANUS_VIDEOROOM_MEDIA_DATA && participant->e2ee)
janus_recorder_encrypted(rc);
Expand Down

0 comments on commit 88ebebd

Please sign in to comment.