Skip to main content
Version: 25.12.0

ScreenRecording class

Signature​

export declare abstract class ScreenRecording extends ReadableStream<Uint8Array>

Extends: ReadableStream<Uint8Array>

Remarks​

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ScreenRecording class.

Methods​

Method

Modifiers

Description

[asyncDisposeSymbol]()
pipe(destination)

Pipes the recorded stream to a destination stream.

pipe(destination)
stop()

Stops the screen recording.