Skip to content

feat: set the jitter buffer target of a receiver - #604

Merged
devopvoid merged 1 commit into
mainfrom
feat/receiver-jitter-buffer-target
Nov 26, 2026
Merged

devopvoid merged 1 commit into
mainfrom
feat/receiver-jitter-buffer-target

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Description

  • RTCRtpReceiver.setJitterBufferTarget(Double) sets how long the jitter buffer holds media at least, from 0 to 4000 ms, as jitterBufferTarget of the WebRTC specification does. null returns to the default.
  • RemoteTrack.setJitterBufferTarget(Duration) does the same in the client API.

Motivation and Context

On a network with much jitter, a longer target trades latency for smooth playout. Until now only the audio jitter buffer of the whole connection could be configured.

Type of Change

  • New feature (feat)

Affected Modules

  • webrtc (Java API)
  • webrtc-jni (native code)
  • docs

@devopvoid
devopvoid merged commit d051215 into main Nov 26, 2026
27 checks passed
@devopvoid
devopvoid deleted the feat/receiver-jitter-buffer-target branch November 26, 2026 16:39
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.

1 participant