public static interface WZBroadcastAPI.Broadcaster
Broadcaster
interface defines the methods that must be implemented by
classes developed as broadcast components with instances registered with an instance of the
WZBroadcast
class via an instance of the WZBroadcastConfig
class.Modifier and Type | Method and Description |
---|---|
WZBroadcastConfig |
getBroadcastConfig()
Returns the configuration settings for an active broadcast session.
|
WZStatus |
getBroadcasterStatus()
Returns the status for a broadcast component
|
WZStatus |
getStatus()
Deprecated.
use getBroadcasterStatus() instead
|
WZStatus |
prepareForBroadcast(WZBroadcastConfig broadcastConfig)
This method is called to initialize each component of a broadcast.
|
WZStatus |
startBroadcasting()
This method is called on each broadcast component to begin a live streaming broadcast.
|
WZStatus |
stopBroadcasting()
This method is called on each broadcast component to end a live streaming broadcast.
|
WZStatus prepareForBroadcast(WZBroadcastConfig broadcastConfig)
WZState.READY
or WZState.IDLE
and indicate the error in the status as well.broadcastConfig
- The broadcast configurationWZState.READY
WZBroadcastConfig getBroadcastConfig()
WZStatus startBroadcasting()
WZState.RUNNING
or WZState.IDLE
and indicate the error in the status as wellWZState.RUNNING
WZStatus stopBroadcasting()
WZState.IDLE
WZState.IDLE
WZStatus getBroadcasterStatus()
WZStatus getStatus()
© 2016 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal