mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
rtpsession: also count NACKS when no signal was pending
This commit is contained in:
parent
bec9c04ea0
commit
0a0ff100ef
1 changed files with 2 additions and 2 deletions
|
@ -2396,6 +2396,8 @@ rtp_session_process_feedback (RTPSession * sess, GstRTCPPacket * packet,
|
|||
GST_DEBUG ("received feedback %d:%d from %08X about %08X with FCI of "
|
||||
"length %d", type, fbtype, sender_ssrc, media_ssrc, fci_length);
|
||||
|
||||
sess->stats.nacks_received++;
|
||||
|
||||
if (g_signal_has_handler_pending (sess,
|
||||
rtp_session_signals[SIGNAL_ON_FEEDBACK_RTCP], 0, TRUE)) {
|
||||
GstBuffer *fci_buffer = NULL;
|
||||
|
@ -2407,8 +2409,6 @@ rtp_session_process_feedback (RTPSession * sess, GstRTCPPacket * packet,
|
|||
GST_BUFFER_TIMESTAMP (fci_buffer) = pinfo->running_time;
|
||||
}
|
||||
|
||||
sess->stats.nacks_received++;
|
||||
|
||||
RTP_SESSION_UNLOCK (sess);
|
||||
g_signal_emit (sess, rtp_session_signals[SIGNAL_ON_FEEDBACK_RTCP], 0,
|
||||
type, fbtype, sender_ssrc, media_ssrc, fci_buffer);
|
||||
|
|
Loading…
Reference in a new issue