mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
rtpsession: Don't crash if we receive FIR/PLI from a source we don't know
This commit is contained in:
parent
2fb1fe2ee3
commit
565cd49643
1 changed files with 4 additions and 2 deletions
|
@ -2528,12 +2528,14 @@ rtp_session_process_feedback (RTPSession * sess, GstRTCPPacket * packet,
|
|||
case GST_RTCP_TYPE_PSFB:
|
||||
switch (fbtype) {
|
||||
case GST_RTCP_PSFB_TYPE_PLI:
|
||||
src->stats.recv_pli_count++;
|
||||
if (src)
|
||||
src->stats.recv_pli_count++;
|
||||
rtp_session_process_pli (sess, sender_ssrc, media_ssrc,
|
||||
current_time);
|
||||
break;
|
||||
case GST_RTCP_PSFB_TYPE_FIR:
|
||||
src->stats.recv_fir_count++;
|
||||
if (src)
|
||||
src->stats.recv_fir_count++;
|
||||
rtp_session_process_fir (sess, sender_ssrc, fci_data, fci_length,
|
||||
current_time);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue