AutoSinkMediaNode class

Signature:

export declare class AutoSinkMediaNode<Pins extends string> extends SinkMediaNode<Pins | "auto">

Extends: SinkMediaNode<Pins | "auto">

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.