StreamList

An object, returned by the OpenTok.listStreams() method, representing a list of streams in an OpenTok session.

Table of Contents

getItems()  : array<string|int, Stream&gt; : Returns an array of Stream objects.

jsonSerialize()  : array&lt;string|int, mixed&gt;

totalCount()  : int : Returns the number of total streams for the session ID.

Methods

getItems()

Returns an array of Stream objects.

public getItems() : array<string|int, Stream>

Return values

array<string|int, Stream&gt; —

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>

Return values

array&lt;string|int, mixed&gt; —

totalCount()

Returns the number of total streams for the session ID.

public totalCount() : int

Return values

int —