Skip to content

feat: add simulcast and per-layer encodings to the client API - #601

Merged
devopvoid merged 1 commit into
mainfrom
feat/client-simulcast
Nov 20, 2026
Merged

devopvoid merged 1 commit into
mainfrom
feat/client-simulcast

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Description

Peers of the client API can send a video track in simulcast layers:

  • Peer.addTrack(track, Simulcast, streamIds...) sends a video track in two or three layers, each with its rid and encoding. Simulcast.standard() gives f, h and q at full, half and quarter resolution.
  • Sender.configure(rid, Encoding) changes one layer, for example to pause it, and Sender.rids() lists the layers.
  • Whip.simulcast(...) now builds on Simulcast, with unchanged behavior.

Motivation and Context

SFUs such as LiveKit or Janus forward each receiver one layer of a simulcast track, and ask the sender to pause the layers that nobody watches. Until now only WHIP could send simulcast, and no layer could be changed on its own.

Type of Change

  • New feature (feat)

Affected Modules

  • webrtc (Java API)
  • docs

Peer.addTrack(track, Simulcast) sends a video track in layers with rids of
the caller's choice, and Sender.configure(rid, encoding) changes one layer.
@devopvoid
devopvoid merged commit e0e2505 into main Nov 20, 2026
27 checks passed
@devopvoid
devopvoid deleted the feat/client-simulcast branch November 20, 2026 21:45
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