Skip to content

feat: expose the protocol extensions of WHIP and WHEP sessions - #483

Closed
devopvoid wants to merge 3 commits into
mainfrom
feat/http-extension-links
Closed

devopvoid wants to merge 3 commits into
mainfrom
feat/http-extension-links

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; the session uses no extension itself.

basicAuth(user, password) on Whip.Builder and Whep.Builder sends Basic
credentials (RFC 7617, UTF-8) with every request of the session, as RFC
9725 4.7 asks clients to support HTTP authentication besides bearer
tokens; MediaMTX takes them this way. The one of bearerToken and
basicAuth called last counts.
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.
…inks

# Conflicts:
#	webrtc/src/main/java/dev/onvoid/webrtc/client/HttpSession.java
#	webrtc/src/main/java/dev/onvoid/webrtc/client/Whep.java
#	webrtc/src/main/java/dev/onvoid/webrtc/client/Whip.java
@devopvoid

Copy link
Copy Markdown
Owner Author

Superseded by #485, which contains the same changes and adds WHEP detection by HEAD.

@devopvoid devopvoid closed this Oct 29, 2026
@devopvoid
devopvoid deleted the feat/http-extension-links 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