Skip to main content

Interface: ClientConfig

Publisher client configuration.

Extended by​

Properties​

authToken​

authToken: string

Authentication token.


reconnectHandler()?​

optional reconnectHandler: (state) => boolean | Promise<boolean>

Callback to determine whether to reconnect. Return true to reconnect, false to stop.

Parameters​

state​

ReconnectState

Returns​

boolean | Promise<boolean>


url​

url: string

MoQ server URL. https:// uses WebTransport with a wss:// fallback; wss:// uses WebSocket only.