An object representing an OpenTok stream. This is passed into the callback function of the OpenTok.getStream() method.
Properties:
| Name | Type | Description |
|---|---|---|
id | String | The stream ID of the stream. |
name | String | The stream name (if one was set when the client published the stream). |
layoutClassList | Array | An array of the layout classes for the stream. These layout classes are used in customizing the layout in Live streaming broadcasts and composed archives. |
videoType | String | Set to either "camera" or "screen". A "screen" video uses screen sharing on the publisher as the video source; for other videos, this property is set to "camera". |