Skip to content

Commit

Permalink
Add "video_rtcp" legacy attribute when starting a videoroom forwarder
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi committed Feb 6, 2024
1 parent 7547fdc commit 360d9ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/janus_videoroom.c
Expand Up @@ -5726,6 +5726,9 @@ static json_t *janus_videoroom_process_synchronous_request(janus_videoroom_sessi
if(video_handle[0] > 0) {
json_object_set_new(rtp_stream, "video_stream_id", json_integer(video_handle[0]));
json_object_set_new(rtp_stream, "video", json_integer(video_port[0]));
if(video_rtcp_port > 0) {
json_object_set_new(rtp_stream, "video_rtcp", json_integer(video_rtcp_port));
}
}
if(video_handle[1] > 0) {
json_object_set_new(rtp_stream, "video_stream_id_2", json_integer(video_handle[1]));
Expand Down

0 comments on commit 360d9ce

Please sign in to comment.