EricssonResearch / EricssonResearch/openwebrtc

Requesting too many new keyframes

Open
#47 6 comments 0 reactions 0 assignees View on GitHub
All Platforms bug Non-Build Issue
Dominant language
C
Stars
1.8k
Forks
531
PR merge metrics
No merged PRs in 30d

Description

When running the owr daemon with some additional printfs in the code where keyframes are requested in gstrtpsession.c, one can see that in some situations 10 or so keyframes are requested per second... and then many keyframes arrive in a row.

We should probably throttle this a bit somewhere. If a keyframe got lost because of network saturation, it's not going to get better if we saturate the network even more ;)

Contributor guide

Open the contributing guide

Research direction

Start in gstrtpsession.c at the code paths where keyframes are requested, using the reported printfs to reproduce the repeated requests. Determine a throttling rule that prevents bursts during network saturation, then verify that keyframe requests no longer occur around ten times per second in the affected situations.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.