Header menu logo fable-electron-docs-api

Streams Type

Constructors

Constructor Description

Streams(?video, ?audio, ?enableLocalEcho)

Full Usage: Streams(?video, ?audio, ?enableLocalEcho)

Parameters:
    ?video : U2<Video, WebFrameMain> -
    ?audio : U2<Audio, WebFrameMain> - If a string is specified, can be loopback or loopbackWithMute. Specifying a loopback device will capture system audio, and is currently only supported on Windows. If a WebFrameMain is specified, will capture audio from that frame.
    ?enableLocalEcho : bool - If audio is a WebFrameMain and this is set to true, then local playback of audio will not be muted (e.g. using MediaRecorder to record WebFrameMain with this flag set to true will allow audio to pass through to the speakers while recording). Default is false.

Returns: Streams
?video : U2<Video, WebFrameMain>

?audio : U2<Audio, WebFrameMain>

If a string is specified, can be loopback or loopbackWithMute. Specifying a loopback device will capture system audio, and is currently only supported on Windows. If a WebFrameMain is specified, will capture audio from that frame.

?enableLocalEcho : bool

If audio is a WebFrameMain and this is set to true, then local playback of audio will not be muted (e.g. using MediaRecorder to record WebFrameMain with this flag set to true will allow audio to pass through to the speakers while recording). Default is false.

Returns: Streams

Instance members

Instance member Description

this.audio

Full Usage: this.audio

If a string is specified, can be loopback or loopbackWithMute. Specifying a loopback device will capture system audio, and is currently only supported on Windows. If a WebFrameMain is specified, will capture audio from that frame.

this.enableLocalEcho

Full Usage: this.enableLocalEcho

If audio is a WebFrameMain and this is set to true, then local playback of audio will not be muted (e.g. using MediaRecorder to record WebFrameMain with this flag set to true will allow audio to pass through to the speakers while recording). Default is false.

this.video

Full Usage: this.video

Type something to start searching.