Skip to content

Commit

Permalink
Don't print SDP errors if rtx is being negotiated for audio
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Sep 7, 2020
1 parent bacf4dc commit f3eb0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -926,8 +926,8 @@ int janus_sdp_parse_ssrc_group(void *ice_stream, const char *group_attr, int vid
janus_ice_handle *handle = stream->handle;
if(handle == NULL)
return -2;
if(!video)
return -3;
if(!video) /* We only do rtx for video, return */
return 0;
if(stream->rid[0] != NULL) {
/* Simulcasting is rid-based, don't parse SSRCs for now */
return 0;
Expand Down

0 comments on commit f3eb0d7

Please sign in to comment.