Media Stream

The MediaStream interface represents a stream of media content.

A stream consists of several tracks such as video or audio tracks. Each track is specified as an instance of MediaStreamTrack.

See MediaStream for details.

Hierarchy

  • MediaStream

Index

Properties

Properties

active

active: boolean

(Read-only) A Boolean value that returns true if the stream is active, or false otherwise.

See active for details.

id

id: string

(Read-only) A DOMString containing 36 characters denoting a universally unique identifier (UUID) for the object.

See MediaStream.id for details.