FallbackConnection
Defined in: relay-sdks/ts/packages/relay-websocket/src/index.ts:72
What one call of a FallbackTransportFactory returns.
Properties
Section titled “Properties”framing
Section titled “framing”readonly framing: FallbackCarrier;Defined in: relay-sdks/ts/packages/relay-websocket/src/index.ts:81
'webtransport' while the dials are in progress or once WebTransport won, 'websocket' once the WebSocket won.
Both carry the path and token in the URL, so the SDK’s SETUP is the same either way.
ready: Promise<void>;Defined in: relay-sdks/ts/packages/relay-websocket/src/index.ts:76
Resolves once one of the dials is ready and its peer selected a protocol.
transport
Section titled “transport”transport: FallbackTransport;Defined in: relay-sdks/ts/packages/relay-websocket/src/index.ts:74
The transport the MOQT session runs on, whichever dial won.