Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor tweaks to frame based stream tracker. #1281

Merged
merged 2 commits into from
Jan 3, 2023
Merged

Conversation

boks1971
Copy link
Contributor

@boks1971 boks1971 commented Jan 3, 2023

  • Do status check if the interval is more than 98% of eval interval. If the eval interval is set close to check interval, things get off by a few ms and it misses a check window. Add some tolerance.

Could not find a good way to use inter-layer fps to eliminate any config. Things change randomly (at least under NLC testing) which makes it hard to rely on inter-layer. And browser variations like some browsers stopping lower layers makes it error prone.

The single config of MinFPS with sane defaults seems like it could be the way. Hopefully, the default will be good for an overwhelming majoirty of use cases. If not, we can look at adding one config to VideoLayers in TrackInfo for MinFPS and override the server side config per track. That is a small enough change to the protocol and fairly straight forward to document/understand.

- Do status check if the interval is more than 98% of eval interval.
  If the eval interval is set close to check interval, things get off
  by a few ms and it misses a check window. Add some tolerance.

Could not find a good way to use inter-layer fps to eliminate any config.
Things change randomly (at least under NLC testing) which makes it hard to
rely on inter-layer. And browser variations like some browsers stopping lower
layers makes it error prone.

The single config of `MinFPS` with sane defaults seems like it could be the way.
Hopefully, the default will be good for an overwhelming majoirty of use cases.
If not, we can look at adding one config to `VideoLayers` in `TrackInfo` for `MinFPS`
and override the server side config per track. That is a small enough change to the
protocol and fairly straight forward to document/understand.
@boks1971 boks1971 merged commit cbc7d43 into master Jan 3, 2023
@boks1971 boks1971 deleted the raja_frame_tweaks branch January 3, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants