Documentation

StreamList
in package

An object, returned by the <a href="OpenTok.OpenTok.html#method_listStreams">OpenTok.listStreams()</a> method, representing a list of streams in an OpenTok session.

Table of Contents

getItems()  : array<string|int, Stream>
Returns an array of Stream objects.
jsonSerialize()  : array<string|int, mixed>
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>

jsonSerialize()

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

totalCount()

Returns the number of total streams for the session ID.

public totalCount() : int
Return values
int

Search results