Skip to content

fix: follow the WebRTC constraints of WHIP and WHEP - #470

Merged
devopvoid merged 1 commit into
mainfrom
fix/whip-whep-sdp-rules
Oct 28, 2026
Merged

devopvoid merged 1 commit into
mainfrom
fix/whip-whep-sdp-rules

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

RFC 9725 4.4, which the WHEP draft shares:

  • Peers of WHIP and WHEP sessions use max-bundle (4.4.1, SHALL), so only the m-line that tags the BUNDLE group gathers candidates. With balanced, candidates of transports dropped later trickled to the session under that m-line.
  • The descriptions a session sends, the offer and the answer to a WHEP counter-offer, mark each m-line rtcp-mux-only (4.4.1, MUST). WebRTC multiplexes RTP and RTCP anyway but never writes the attribute; the applied descriptions stay as WebRTC made them.
  • WHIP refuses a second audio or video track before the peer exists (4.4.2: one track of each kind at most).

RFC 9725 4.4: peers of WHIP and WHEP sessions use max-bundle, so that
only the tagged m-line gathers the candidates that trickle to the
session; the descriptions they send mark each m-line rtcp-mux-only, which
WebRTC never writes; and WHIP refuses a second track of a kind before the
peer exists.
@devopvoid
devopvoid merged commit d70ab5d into main Oct 28, 2026
25 checks passed
@devopvoid
devopvoid deleted the fix/whip-whep-sdp-rules branch October 28, 2026 19:12
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