Function createLocalScreenTracks

  • Creates a screen capture tracks with getDisplayMedia(). A LocalVideoTrack is always created and returned. If { audio: true }, and the browser supports audio capture, a LocalAudioTrack is also created.

    Parameters

    Returns Promise<LocalTrack[]>