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

Compute input media jitter #205

Merged
merged 14 commits into from
Jan 29, 2024
Merged

Compute input media jitter #205

merged 14 commits into from
Jan 29, 2024

Conversation

biglittlebigben
Copy link
Contributor

This PR computes, and reports every second, the p50, p90 and p99 jitter for the input audio and video. The exact significance of the jitter value depends on the kind of input:

  • For RTMP, the jitter is computed between the reception of 2 audio or video media messages.
  • For WHIP, the jitter is computed between the reception of 2 RTP packets
  • For URL pull, the jitter is computed between the samples being enqueued in the multi queue. For HLS for instance, jitter will be high as, provided the origin can download faster than the media is consumed, as segments are downloaded as fast as possible, with the segments being mostly demultiplexed on reception.

@biglittlebigben biglittlebigben merged commit 537e42b into main Jan 29, 2024
3 checks passed
@biglittlebigben biglittlebigben deleted the benjamin/ingress_jitter branch January 29, 2024 20:42
biglittlebigben added a commit that referenced this pull request Feb 3, 2024
 ## Changelog

 ### Added
- Add EndedAt field to Ingress State (#40)
- Log room name and participant ID (#191)
- Gather input stats for url pull sessions (#192)
- Add support for SRT in URL Pull ingress (#206)
- Compute input media jitter (#205)
- Gather pipeline output statistics (#207)
- Add WHIP Simulcast Support (#209)

 ### Fixed
- Use a secret token to authenticate relay connections (#186)
- Update go-sdk to fix pli missed (#188)
- Use new upstream go-gst repository (#189)
- Refactor stats gathering functionality (#201)
- Add nil check in media stats merging code (#204)
- Do not use sample providers in the go SDK (#212)
biglittlebigben added a commit that referenced this pull request Feb 3, 2024
## Changelog

### Added
- Add EndedAt field to Ingress State (#40)
- Log room name and participant ID (#191)
- Gather input stats for url pull sessions (#192)
- Add support for SRT in URL Pull ingress (#206)
- Compute input media jitter (#205)
- Gather pipeline output statistics (#207)
- Add WHIP Simulcast Support (#209)

### Fixed
- Use a secret token to authenticate relay connections (#186)
- Update go-sdk to fix pli missed (#188)
- Use new upstream go-gst repository (#189)
- Refactor stats gathering functionality (#201)
- Add nil check in media stats merging code (#204)
- Do not use sample providers in the go SDK (#212)
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.

2 participants