Interface ILocalDynamicMediaStream

The local dynamic media stream interface.

interface ILocalDynamicMediaStream {
    addTrack(track): void;
    getLabel(): string;
    getMediaStream(): MediaStream;
    getOwnerId(): string;
    removeTrack(param): null | MediaStreamTrack;
    replaceTrack(track): void;
    setPriority(priority): void;
    setTransformations(transformations): void;
    unpublish(): void;
}

Hierarchy (view full)

Methods

  • Add a track to the stream. This will replace any existing track of the same kind.

    Parameters

    Returns void

  • Replace the track with same kind as the new track in the stream.

    Parameters

    Returns void

Generated using TypeDoc