public class WOWZH264Broadcaster extends com.wowza.gocoder.sdk.support.encoder.H264Encoder implements WOWZBroadcastAPI.VideoBroadcaster
| Constructor and Description |
|---|
WOWZH264Broadcaster()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
WOWZBroadcastConfig |
getBroadcastConfig()
Gets the configuration settings for an active broadcast session.
|
WOWZStatus |
getBroadcasterStatus()
Gets the status for a broadcast component.
|
WOWZStatus |
getStatus() |
WOWZMediaConfig |
getVideoSourceConfig()
Gets configuration information for the video source.
|
boolean |
isVideoEnabled()
Checks whether a video broadcast component is enabled.
|
boolean |
isVideoPaused()
Checks whether a video broadcast component is paused.
|
WOWZStatus |
prepareForBroadcast(WOWZBroadcastConfig broadcastConfig)
Initializes each component of a broadcast.
|
void |
setVideoEnabled(boolean enabled)
Sets the flag indicating that a video broadcast component is enabled.
|
void |
setVideoPaused(boolean paused)
Sets the flag indicating that a video broadcast component is paused.
|
WOWZStatus |
startBroadcasting()
Called on each broadcast component to begin a live streaming broadcast.
|
WOWZStatus |
stopBroadcasting()
Called on each broadcast component to end a live streaming broadcast.
|
changeAdaptiveBitrate, changeAdaptiveFramerate, encodeInputSurfaceContents, flushEncoder, getAdaptiveBitrate, getAdaptiveFramerate, getEglEnv, getEncoderConfig, getEncoderInputSurface, getMediaCodecName, getMediaFormatDescription, hasFrameRateIntervalElapsed, onEncodeInputSurfaceContents, onFrameSubmittedToEncoder, onFrameSubmittedToEncoder, run, runOnEncoderThread, setSharedContextpublic WOWZMediaConfig getVideoSourceConfig()
WOWZBroadcastAPI.VideoBroadcastergetVideoSourceConfig in interface WOWZBroadcastAPI.VideoBroadcasterpublic WOWZBroadcastConfig getBroadcastConfig()
WOWZBroadcastAPI.BroadcastergetBroadcastConfig in interface WOWZBroadcastAPI.Broadcasterpublic WOWZStatus getBroadcasterStatus()
WOWZBroadcastAPI.BroadcastergetBroadcasterStatus in interface WOWZBroadcastAPI.Broadcasterpublic WOWZStatus getStatus()
getStatus in interface WOWZBroadcastAPI.Broadcasterpublic boolean isVideoPaused()
WOWZBroadcastAPI.VideoBroadcasterisVideoPaused in interface WOWZBroadcastAPI.VideoBroadcasterpublic void setVideoPaused(boolean paused)
WOWZBroadcastAPI.VideoBroadcastersetVideoPaused in interface WOWZBroadcastAPI.VideoBroadcasterpaused - True if the component should be paused; false otherwise.public boolean isVideoEnabled()
WOWZBroadcastAPI.VideoBroadcasterisVideoEnabled in interface WOWZBroadcastAPI.VideoBroadcasterpublic void setVideoEnabled(boolean enabled)
WOWZBroadcastAPI.VideoBroadcastersetVideoEnabled in interface WOWZBroadcastAPI.VideoBroadcasterenabled - True if the component should be enabled; false otherwise.public WOWZStatus prepareForBroadcast(WOWZBroadcastConfig broadcastConfig)
WOWZBroadcastAPI.BroadcasterWOWZState.READY or WOWZState.IDLE
and also indicate the error in the status.prepareForBroadcast in interface WOWZBroadcastAPI.BroadcasterbroadcastConfig - The broadcast configuration.WOWZState.READY.public WOWZStatus startBroadcasting()
WOWZBroadcastAPI.BroadcasterWOWZState.RUNNING or WOWZState.IDLE
and also indicate the error in the status.startBroadcasting in interface WOWZBroadcastAPI.BroadcasterWOWZState.RUNNING.public WOWZStatus stopBroadcasting()
WOWZBroadcastAPI.BroadcasterWOWZState.IDLE.stopBroadcasting in interface WOWZBroadcastAPI.BroadcasterWOWZState.IDLE.© 2016 - 2018 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal