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) |
(Connection) The Connection object that corresponds to the origin of this Stream. Read Only
(Date) The time when this Stream was created. Read Only
(Boolean) Whether or not there is audio available in this stream. Read Only
(Boolean) Whether or not there is video available in this stream. Read Only
(Session) The Session object where this Stream is contained. Read Only
(String) An identifier for this Stream. This is created automatically by OpenTok. Read Only
(String) A Stream can be one of two types: "basic" or "archive". Read Only