Skip to content

Commit

Permalink
rtcp: add receiver_ssrc parsing for PSFB packets (#3454)
Browse files Browse the repository at this point in the history
This fixes handling of PLIs received from Pion streaming plugin clients.
  • Loading branch information
tmatth authored Oct 18, 2024
1 parent ed15555 commit 3afddf0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/rtcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ guint32 janus_rtcp_get_receiver_ssrc(char *packet, int len) {
janus_rtcp_fb *rtcpfb = (janus_rtcp_fb *)rtcp;
return ntohl(rtcpfb->media);
}
case RTCP_PSFB: {
/* PSFB, Payload-specific FB message (rfc4585) */
janus_rtcp_fb *rtcpfb = (janus_rtcp_fb *)rtcp;
return ntohl(rtcpfb->media);
}
default:
break;
}
Expand Down

0 comments on commit 3afddf0

Please sign in to comment.