Skip to content

WebRTC: counting video frames for stats instead of packets#4635

Open
artem-smorodin-dacast wants to merge 1 commit intoossrs:developfrom
artem-smorodin-dacast:feature/webrtc-frames-count
Open

WebRTC: counting video frames for stats instead of packets#4635
artem-smorodin-dacast wants to merge 1 commit intoossrs:developfrom
artem-smorodin-dacast:feature/webrtc-frames-count

Conversation

@artem-smorodin-dacast
Copy link
Contributor

This PR allows counting webrtc video frames instead of RTP packets. This would be very useful, as the number of RTP packets is not a very useful metric on its own, especially due to NACK.

Technically, this is possible because the marker bit is set for the last packet of the frame.

The count is only done for the primary ssrc, ignoring RTX and FEC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments