SinkMediaNode class

Signature:

export declare class SinkMediaNode<Pins extends string> extends MediaNodeState

Extends: MediaNodeState

Methods

Method Modifiers Description

sourceContextChange(responseCallback)

subscribeToPins(sources, validation, done)

Subscribe to the given sources.

This version of the function call accepts the target pins of an output and is suitable for advanced use where a node is capable of subscribing to multiple video streams and provides a means of distinguishing them via pins discarding any existing subscriptions.