Skip to content

feat: expose WHIP/WHEP extensions and detect WHEP endpoints by HEAD - #485

Merged
devopvoid merged 3 commits into
mainfrom
feat/whip-whep-extensions-detect
Oct 29, 2026
Merged

devopvoid merged 3 commits into
mainfrom
feat/whip-whep-extensions-detect

Conversation

@devopvoid

Copy link
Copy Markdown
Owner
  • Session.extensions() gives the URL of each protocol extension the endpoint names in Link header fields of its answer, by its relation type under urn:ietf:params:whip:ext or urn:ietf:params:whep:ext (RFC 9725 4.9), resolved against the endpoint. Links of other relation types stay ignored, apart from ice-server.
  • Whep.Builder.detect(rtc) asks a URL with HEAD whether it serves WHEP (draft-ietf-wish-whep-05 4.2): 200 with application/sdp and a Link to the profile urn:ietf:params:whep, never the Content-Type alone. It carries the builder's credentials and timeout.
  • Supersedes feat: expose the protocol extensions of WHIP and WHEP sessions #483.

Session.extensions() gives the URL of each extension the endpoint names in
Link header fields of its answer, by its relation type under
urn:ietf:params:whip:ext or urn:ietf:params:whep:ext (RFC 9725 4.9), resolved
against the endpoint. Links of other relation types stay ignored.
Whep.Builder.detect(rtc) asks a URL with HEAD whether it serves WHEP, as
draft-ietf-wish-whep-05 4.2 describes: 200 with application/sdp and a Link
to the profile urn:ietf:params:whep, never the Content-Type alone. The
request carries the builder's credentials and timeout and follows the
redirects the offer follows.
…ions-detect

# Conflicts:
#	webrtc/src/main/java/dev/onvoid/webrtc/client/Whep.java
@devopvoid
devopvoid added this pull request to stack #489 October 29, 2026 18:59
@devopvoid
devopvoid merged commit 365820a into main Oct 29, 2026
10 of 19 checks passed
@devopvoid
devopvoid deleted the feat/whip-whep-extensions-detect branch October 29, 2026 19:28
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