Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Latest commit

 

History

History
78 lines (61 loc) · 1.52 KB

stream.md

File metadata and controls

78 lines (61 loc) · 1.52 KB

Stream

A Stream represents the audio/video data coming from a Publisher on this device or on another device in the same OpenTok Session.

Methods Properties Events
[connection](#connection)
[creationTime](#creationtime)
[hasAudio](#hasaudio)
[hasVideo](#hasvideo)
[session](#session)
[streamId](#streamid)
[type](#type)

Properties

connection

(Connection) The Connection object that corresponds to the origin of this Stream. Read Only

creationTime

(Date) The time when this Stream was created. Read Only

hasAudio

(Boolean) Whether or not there is audio available in this stream. Read Only

hasVideo

(Boolean) Whether or not there is video available in this stream. Read Only

session

(Session) The Session object where this Stream is contained. Read Only

streamId

(String) An identifier for this Stream. This is created automatically by OpenTok. Read Only

type

(String) A Stream can be one of two types: "basic" or "archive". Read Only