Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Stream

Represents each one of the videos send and receive by a user in a session. Therefore each Publisher and Subscriber has an attribute of type Stream

Hierarchy

  • Stream

Index

Properties

connection

connection: Connection

The Connection object that is publishing the stream

Optional frameRate

frameRate: number

Frame rate of the video in frames per second. This property is only defined if the Publisher of the stream was initialized passing a frameRate property on OpenVidu.initPublisher method

hasAudio

hasAudio: boolean

Whether the stream has an audio track or not

hasVideo

hasVideo: boolean

Whether the stream has a video track or not

streamId

streamId: string

Unique identifier of the stream

Optional typeOfVideo

typeOfVideo: string

"CAMERA" or "SCREEN". undefined if stream is audio-only

Generated using TypeDoc