Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Broadcast API #241

Closed
msach22 opened this issue Apr 1, 2019 · 1 comment · May be fixed by #288
Closed

List Broadcast API #241

msach22 opened this issue Apr 1, 2019 · 1 comment · May be fixed by #288

Comments

@msach22
Copy link
Contributor

msach22 commented Apr 1, 2019

This is an API Proposal for the list broadcast API call.

List Broadcasts

The platform allows you to get a list of all broadcasts. See docs.

We propose to add a new method for getting all broadcast information in a session.

listBroadcasts()

// Get list of broadcasts
$broadcastList = $opentok->listBroadcasts();
$broadcastList->totalCount(); // total count
// Get list of broadcasts by sessionId
$broadcastList = $opentok->listBroadcasts($sessionId);
$broadcastList->totalCount(); // total count

You can also use offset and count when retrieving the broadcasts list:

$broadcastList = $opentok->listBroadcasts($offset=0, $count=null);
@SecondeJK
Copy link
Contributor

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants