AutoSinkMediaNode class

Signature:

export declare class AutoSinkMediaNode<Pins extends string, Events extends MediaNodeStateEvents = MediaNodeStateEvents> extends SinkMediaNode<Pins | "auto", Events>

Extends: SinkMediaNode<Pins | "auto", Events>

Methods

Method Modifiers Description

subscribe(sources, validation, done)

Subscribe to the given sources.

This version of subscribe simply requires a list of stream keys to be returned from each selector, and the server will automatically assign each stream to the appropriate pin on the sink node. This is the appropriate method for most cases.