Skip to content

Commit

Permalink
Consider RTCP feedback messages when evaluating receiver SSRC
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi committed Dec 14, 2022
1 parent 2a30ea9 commit dc4e2b9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/rtcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ guint32 janus_rtcp_get_receiver_ssrc(char *packet, int len) {
}
break;
}
case RTCP_RTPFB: {
/* RTPFB, Transport layer FB message (rfc4585) */
if (!janus_rtcp_check_fci(rtcp, total, 4))
break;
janus_rtcp_fb *rtcpfb = (janus_rtcp_fb *)rtcp;
return ntohl(rtcpfb->media);
}
default:
break;
}
Expand Down

0 comments on commit dc4e2b9

Please sign in to comment.