Skip to content

Set the transport through hyper.video's transport setting - #16

Merged
jlnstrk merged 1 commit into
mainfrom
jlnstrk/transport-setting
Oct 23, 2026
Merged

jlnstrk merged 1 commit into
mainfrom
jlnstrk/transport-setting

Conversation

@jlnstrk

@jlnstrk jlnstrk commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Today, the simulator forces a Hyper Core participant onto WebRTC through hyper.settings.sessionDebug.forceWebrtc. hypervideo/hyper.video#6101 removes that hook and makes the transport a layered setting, transport, which takes automatic (the default), webTransport or webRtc. Once it deploys, the simulator's transport edit fails, and its participants lose their transport choice. Since #17 applies each setting on its own, the other settings and the microphone and camera state still apply.

  • Setter: webrtc sets the participant's transport to webRtc, and webtransport to webTransport, which has no fallback to WebRTC. default unsets it, so that an admin's value for the session applies, else automatic, which connects over WebTransport where the browser has it, and over WebRTC elsewhere.
  • Getter: the participant's state reports WebRTC for webRtc, and WebTransport for webTransport and automatic.
  • Options: --transport, the transport config key and --participant JSON take default next to webtransport and webrtc, and default to it, as Edit Hyper Core settings through hyper.settings.client #17's other settings do. The TUI lists it too, and Cloudflare participants still use WebRTC whatever the transport says.

A config.yaml that the TUI saved names transport: webtransport, which now asks for WebTransport only. Set it to default to let hyper.video choose.

hypervideo/hyper.video#6101 runs on latest.dev, where the old forceWebrtc path does nothing, so this PR restores the transport choice there. A deployment without it, such as meet.hyper.video, drops the transport edit, so --transport has no effect there.

@jlnstrk
jlnstrk force-pushed the jlnstrk/layered-settings-hooks branch from bfbe1cd to 9e9f96d Compare October 23, 2026 14:23
@jlnstrk
jlnstrk changed the base branch from jlnstrk/layered-settings-hooks to jlnstrk/layered-settings-client October 23, 2026 14:40
@jlnstrk
jlnstrk force-pushed the jlnstrk/transport-setting branch from 97a3735 to 8537f90 Compare October 23, 2026 14:46
@jlnstrk
jlnstrk changed the base branch from jlnstrk/layered-settings-client to main October 23, 2026 14:57
hyper.video #6101 removes hyper.settings.sessionDebug.forceWebrtc and
makes the transport a layered setting, transport, which takes
automatic, webTransport or webRtc. Its default, automatic, connects
over WebTransport where the browser has it, and over WebRTC elsewhere.

The transport takes "default" next to webtransport and webrtc, and
defaults to it, as the other settings that hyper.video decides do.
"default" unsets the participant's transport, so that an admin's value
for the session applies, else automatic. webtransport sets webTransport,
and webrtc sets webRtc. The state reads webRtc as WebRTC, and automatic
and webTransport as WebTransport.
@jlnstrk
jlnstrk force-pushed the jlnstrk/transport-setting branch from 8537f90 to 0b43287 Compare October 23, 2026 14:58
@jlnstrk
jlnstrk merged commit 26c5ced into main Oct 23, 2026
8 of 9 checks passed
@jlnstrk
jlnstrk deleted the jlnstrk/transport-setting branch October 23, 2026 16:50
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