getPlayer() |
|
Returns the Player instance |
play() |
|
Resume / Start the stream |
pause() |
|
Pause the stream |
getChannel() |
|
Get the name of the channel currently being streamed |
setChannel(channel) |
channel: Name of the channel |
Set the active stream component to given channel |
getQualities() |
|
Get the available video qualities for the stream |
setQuality(quality) |
quality: String containing the quality identifier. e.g. "360p" |
Set the stream quality to given quality |
getMuted() |
|
Get the muted status of the active stream |
setMuted(isMuted) |
isMuted: Boolean, if the stream should be muted or not |
Set the muted status to given value (true/false) |
getVolume() |
|
Get the current volume of the stream |
setVolume(volume) |
volume: A float value between 0.0 and 1.0 |
Set the current volume of the stream |