public class WOWZPlayerConfig extends WOWZStreamConfig
DEFAULT_APP, DEFAULT_PORT, DEFAULT_STREAMALWAYS_LANDSCAPE, ALWAYS_PORTRAIT, AUDIO_CHANNELS_MONO, AUDIO_CHANNELS_STEREO, CROP_TO_FRAME, DEFAULT_AUDIO_BITRATE, DEFAULT_AUDIO_SAMPLE_RATE, DEFAULT_SCALE_MODE, DEFAULT_VIDEO_BITRATE, DEFAULT_VIDEO_BITRATE_SCALING_FACTOR, DEFAULT_VIDEO_FRAME_BUFFER_MULTIPLIER, DEFAULT_VIDEO_FRAME_HEIGHT, DEFAULT_VIDEO_FRAME_RATE, DEFAULT_VIDEO_FRAME_SIZE, DEFAULT_VIDEO_FRAME_SKIP_COUNT, DEFAULT_VIDEO_FRAME_WIDTH, DEFAULT_VIDEO_KEYFRAME_INTERVAL, FILL_FRAME, FILL_VIEW, FRAME_SIZE_1280x720, FRAME_SIZE_1440x1080, FRAME_SIZE_176x144, FRAME_SIZE_1920x1080, FRAME_SIZE_320x240, FRAME_SIZE_352x288, FRAME_SIZE_3840x2160, FRAME_SIZE_640x480, FRAME_SIZE_960x540, ORIENTATION_LANDSCAPE, ORIENTATION_LANDSCAPE_INVERTED, ORIENTATION_PORTRAIT, ORIENTATION_PORTRAIT_INVERTED, PRESET_CONFIGS, RESIZE_TO_ASPECT, SAME_AS_SOURCE, SUPPORTED_AUDIO_SAMPLE_RATES| Constructor and Description |
|---|
WOWZPlayerConfig()
The default constructor.
|
WOWZPlayerConfig(WOWZMediaConfig preset)
Creates and initializes an instance using the property values from the specified preset configuration.
|
WOWZPlayerConfig(WOWZPlayerConfig other)
Creates and initializes an instance using the property values from the specified instance.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getPreRollBufferDuration() |
long |
getPreRollBufferDurationMillis() |
void |
set(WOWZMediaConfig preset)
Updates the property values of this instance with the property values from the specified preset configuration.
|
void |
set(WOWZPlayerConfig other)
Updates the property values of this instance with the property values from the specified instance.
|
void |
setPreRollBufferDuration(float preRollBufferDuration) |
WOWZDataMap |
toDataMap(WOWZDataMap dataMap)
Gets a
WOWZDataMap that contains the configuration properties. |
java.lang.String |
toString() |
getApplicationName, getConnectionParameters, getConnectionURL, getHostAddress, getLogLevel, getPassword, getPortNumber, getStreamMetadata, getStreamName, getUsername, set, setApplicationName, setConnectionParameters, setHostAddress, setLogLevel, setPassword, setPortNumber, setStreamMetadata, setStreamName, setUsername, validateForBroadcast, validateForPlaybackbitrateLabel, compareTo, equals, fromFrameSizes, getAudioBitRate, getAudioChannels, getAudioSampleRate, getFrameBufferSizeMultiplier, getFrameRateLowBandwidthSkipCount, getHLSBackupURL, getIsPlayback, getLabel, getLabel, getLowBandwidthScalingFactor, getPlayerExampleAutoconfig, getPresetLabel, getPresetLabelByFrameSize, getVideoBitRate, getVideoFrameHeight, getVideoFramerate, getVideoFrameSize, getVideoFrameWidth, getVideoKeyFrameInterval, getVideoProfileLevel, getVideoRotation, isABREnabled, isAudioEnabled, isHLSEnabled, isLandscape, isLandscapeRotation, isPortrait, isPortraitRotation, isValidScaleMode, isVideoEnabled, keyFrameIntervalFramesToSeconds, orientationLabel, orientationToRotation, orientationToSurfaceRotation, resetToDefaults, rotationToOrientation, setABREnabled, setAudioBitRate, setAudioChannels, setAudioEnabled, setAudioSampleRate, setFrameBufferSizeMultiplier, setFrameRateLowBandwidthSkipCount, setHLSBackupURL, setHLSEnabled, setIsPlayback, setLowBandwidthScalingFactor, setPlayerExampleAutoconfig, setVideoBitRate, setVideoEnabled, setVideoFrameHeight, setVideoFramerate, setVideoFrameSize, setVideoFrameSize, setVideoFrameWidth, setVideoKeyFrameInterval, setVideoProfileLevel, setVideoProfileLevel, setVideoRotation, surfaceRotationToOrientation, toDataMap, toFrameSizespublic WOWZPlayerConfig()
public WOWZPlayerConfig(WOWZPlayerConfig other)
other - The instance to use.public WOWZPlayerConfig(WOWZMediaConfig preset)
preset - The preset configuration to use.public void set(WOWZPlayerConfig other)
other - The instance with the property values to use.public void set(WOWZMediaConfig preset)
set in class WOWZStreamConfigpreset - The preset configuration with the property values to use.public float getPreRollBufferDuration()
public long getPreRollBufferDurationMillis()
public void setPreRollBufferDuration(float preRollBufferDuration)
public java.lang.String toString()
toString in class WOWZStreamConfigpublic WOWZDataMap toDataMap(WOWZDataMap dataMap)
WOWZDataMap that contains the configuration properties.toDataMap in class WOWZStreamConfigdataMap - The data map to which you want to add the configuration properties.© 2016 - 2018 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal