Skip to main content

Interface: PublisherOptions

Publisher configuration options.

Extends

Properties

authToken

authToken: string

Authentication token.

Inherited from

ClientConfig.authToken


channelId

channelId: string

Channel ID to connect to


encodeQueueSize?

optional encodeQueueSize: number

Encode queue size for flow control


logLevel?

optional logLevel: "error" | "off" | "warn" | "info" | "debug" | "trace"

Sets the log level - defaults to info


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>

Inherited from

ClientConfig.reconnectHandler


telemetryEnabled?

optional telemetryEnabled: boolean

Enables telemetry reporting (default: true)


url

url: string

MoQ server URL.

Inherited from

ClientConfig.url