Player input from MediaStream

Hierarchy

  • MediaStream

Implements

Constructors

Methods

Constructors

  • Creates MediaStream input from MediaStream

    Parameters

    • stream: MediaStream

    Returns MediaStream

    Example

    const stream = new MediaStream(
    await navigator.mediaDevices.getUserMedia({ video: true })
    )

Methods

  • Stops underlying media stream

    Returns void