Skip to content

Commit 3afddf0

Browse files
authored
rtcp: add receiver_ssrc parsing for PSFB packets (#3454)
This fixes handling of PLIs received from Pion streaming plugin clients.
1 parent ed15555 commit 3afddf0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/rtcp.c

+5
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ guint32 janus_rtcp_get_receiver_ssrc(char *packet, int len) {
143143
janus_rtcp_fb *rtcpfb = (janus_rtcp_fb *)rtcp;
144144
return ntohl(rtcpfb->media);
145145
}
146+
case RTCP_PSFB: {
147+
/* PSFB, Payload-specific FB message (rfc4585) */
148+
janus_rtcp_fb *rtcpfb = (janus_rtcp_fb *)rtcp;
149+
return ntohl(rtcpfb->media);
150+
}
146151
default:
147152
break;
148153
}

0 commit comments

Comments
 (0)