Skip to main content

Stream Class

Stream class is responsible for handling audio, video and screen sharing streams.

Stream Class

Stream class defines instance of audio, video and shared screen stream of participants.

Properties

  • __properties

      Properties
    • idstring

    • kindstring

    • codecstring

    • trackMediaStreamTrack

Methods

  • __methods

      Methods
    • pause()undefined

    • resume()undefined

Chrome Autoplay policy workaround

Chrome's autoplay policy does not allow audio autoplay unless user has interacted with the domain (click, tap, etc.) or the user's Media engagement Index threshold has been crossed. Thus, as a workaround before starting the meeting, user can either create a meeting join page or create a join meeting confirmation dialog by which we can perform a user click interaction to enable audio autoplay in chrome's newer versions.

You can find more about MediaStreamTrack class by following link.

Got a Question? Ask us on discord