Skip to content

connectSupervisedPublisher

function connectSupervisedPublisher(options): Promise<SupervisedPublisher>;

Defined in: relay-sdks/ts/src/supervised-publisher.ts:112

Open a publisher that reconnects: each connection serves namespace plus a fresh generation field, and the track writers registerTrack returns outlive the connections. Resolves once the first generation is up; see spec/behavior.md, “Supervised connections”. The primitives (connectRelayPublisher) never reconnect.

Parameter Type
options ConnectSupervisedPublisherOptions

Promise<SupervisedPublisher>