Documentation
    Preparing search index...

    Class WebRtc

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    ice: { credential?: string; urls: string[]; username?: string }[]

    Methods

    • Create a new WebRTC connection to a room

      Parameters

      • id: string = ...

        Room ID

      • audio: boolean = true

        Stream local audio to room/peers

      • video: boolean = true

        Stream local video to room/peers

      Returns Promise<WebRTCSession>

      Connection session