Package com.wowza.wms.medialist
Class MediaListRendition
- Object
-
- com.wowza.wms.medialist.MediaListRendition
-
public class MediaListRendition extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
adaptationSet
protected String
aspectRatio
protected String
audioCodecId
protected String
audioLanguage
protected String
audioRole
protected int
bitrateAudio
protected int
bitrateTotal
protected int
bitrateVideo
protected int
bitrateVideoPeak
protected java.util.HashSet<String>
essentialPropertySet
protected int
height
protected String
language
protected Object
lock
protected MediaListSegment
mediaListSegment
protected String
name
protected long
playDuration
protected long
playSeek
protected long
playStart
protected WMSProperties
properties
protected String
role
protected java.util.HashSet<String>
supplementalPropertySet
protected String
title
protected int
type
protected String
videoCodecId
protected String
videoLanguage
protected String
videoRole
protected String
vodTranscodeNGRP
protected int
width
protected boolean
wowzaAudioOnly
protected boolean
wowzaKeyFrameOnly
protected boolean
wowzaVideoOnly
-
Constructor Summary
Constructors Constructor Description MediaListRendition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildProperties(java.util.Map<String,Object> params)
String
getAdaptationSet()
String
getAspectRatio()
String
getAudioCodecId()
String
getAudioLanguage()
String
getAudioRole()
int
getBitrateAudio()
int
getBitrateTotal()
int
getBitrateTotalPeak()
int
getBitrateVideo()
int
getBitrateVideoPeak()
String
getCodecId()
java.util.HashSet<String>
getEssentialPropertySet()
int
getHeight()
String
getLanguage()
Object
getLock()
MediaListSegment
getMediaListSegment()
String
getName()
long
getPlayDuration()
long
getPlaySeek()
long
getPlayStart()
WMSProperties
getProperties()
WMSProperties
getProperties(boolean write)
String
getRole()
int[]
getSize()
java.util.HashSet<String>
getSupplementalPropertySet()
String
getTitle()
int
getType()
String
getTypeAsString()
String
getVideoCodecId()
String
getVideoLanguage()
String
getVideoRole()
String
getVODTranscodeNGRP()
int
getWidth()
boolean
isWowzaAudioOnly()
boolean
isWowzaKeyFrameOnly()
boolean
isWowzaVideoOnly()
static java.util.ArrayList<String>
parseCommaSeparatedLanguages(String langStr)
void
setAdaptationSet(String adaptationSet)
void
setAspectRatio(String aspectRatio)
void
setAudioCodecId(String audioCodecId)
void
setAudioLanguage(String audioLanguage)
void
setAudioRole(String audioRole)
void
setBitrateAudio(int bitrateAudio)
void
setBitrateTotal(int bitrateTotal)
void
setBitrateVideo(int bitrateVideo)
void
setBitrateVideoPeak(int bitrateVideoPeak)
void
setEssentialPropertySet(java.util.HashSet<String> essentialPropertySet)
void
setHeight(int height)
void
setLanguage(String language)
void
setLock(Object lock)
void
setMediaListSegment(MediaListSegment mediaListSegment)
void
setName(String name)
void
setPlayDuration(long playDuration)
void
setPlaySeek(long playSeek)
void
setPlayStart(long playStart)
void
setRole(String role)
void
setSize(int width, int height)
void
setSupplementalPropertySet(java.util.HashSet<String> supplementalPropertySet)
void
setTitle(String title)
void
setType(int type)
void
setVideoCodecId(String videoCodecId)
void
setVideoLanguage(String videoLanguage)
void
setVideoRole(String videoRole)
void
setVODTranscodeNGRP(String vodTranscodeNGRP)
void
setWidth(int width)
void
setWowzaAudioOnly(boolean wowzaAudioOnly)
void
setWowzaKeyFrameOnly(boolean wowzaKeyFrameOnly)
void
setWowzaVideoOnly(boolean wowzaVideoOnly)
String
toSMILString()
String
toString()
-
-
-
Field Detail
-
lock
protected Object lock
-
mediaListSegment
protected MediaListSegment mediaListSegment
-
properties
protected WMSProperties properties
-
name
protected String name
-
type
protected int type
-
bitrateTotal
protected int bitrateTotal
-
bitrateAudio
protected int bitrateAudio
-
bitrateVideo
protected int bitrateVideo
-
bitrateVideoPeak
protected int bitrateVideoPeak
-
videoCodecId
protected String videoCodecId
-
audioCodecId
protected String audioCodecId
-
wowzaAudioOnly
protected boolean wowzaAudioOnly
-
wowzaVideoOnly
protected boolean wowzaVideoOnly
-
wowzaKeyFrameOnly
protected boolean wowzaKeyFrameOnly
-
width
protected int width
-
height
protected int height
-
playStart
protected long playStart
-
playDuration
protected long playDuration
-
playSeek
protected long playSeek
-
vodTranscodeNGRP
protected String vodTranscodeNGRP
-
language
protected String language
-
audioLanguage
protected String audioLanguage
-
videoLanguage
protected String videoLanguage
-
title
protected String title
-
aspectRatio
protected String aspectRatio
-
role
protected String role
-
audioRole
protected String audioRole
-
videoRole
protected String videoRole
-
essentialPropertySet
protected java.util.HashSet<String> essentialPropertySet
-
supplementalPropertySet
protected java.util.HashSet<String> supplementalPropertySet
-
adaptationSet
protected String adaptationSet
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classObject
-
toSMILString
public String toSMILString()
-
getTypeAsString
public String getTypeAsString()
-
getLock
public Object getLock()
-
setLock
public void setLock(Object lock)
-
getMediaListSegment
public MediaListSegment getMediaListSegment()
-
setMediaListSegment
public void setMediaListSegment(MediaListSegment mediaListSegment)
-
getProperties
public WMSProperties getProperties()
-
getProperties
public WMSProperties getProperties(boolean write)
-
getBitrateTotal
public int getBitrateTotal()
-
getBitrateTotalPeak
public int getBitrateTotalPeak()
-
setBitrateTotal
public void setBitrateTotal(int bitrateTotal)
-
getBitrateAudio
public int getBitrateAudio()
-
setBitrateAudio
public void setBitrateAudio(int bitrateAudio)
-
getBitrateVideo
public int getBitrateVideo()
-
setBitrateVideo
public void setBitrateVideo(int bitrateVideo)
-
getBitrateVideoPeak
public int getBitrateVideoPeak()
-
setBitrateVideoPeak
public void setBitrateVideoPeak(int bitrateVideoPeak)
-
getVideoCodecId
public String getVideoCodecId()
-
setVideoCodecId
public void setVideoCodecId(String videoCodecId)
-
getCodecId
public String getCodecId()
-
getAudioCodecId
public String getAudioCodecId()
-
setAudioCodecId
public void setAudioCodecId(String audioCodecId)
-
isWowzaAudioOnly
public boolean isWowzaAudioOnly()
-
setWowzaAudioOnly
public void setWowzaAudioOnly(boolean wowzaAudioOnly)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
setSize
public void setSize(int width, int height)
-
getSize
public int[] getSize()
-
getPlayStart
public long getPlayStart()
-
setPlayStart
public void setPlayStart(long playStart)
-
getPlayDuration
public long getPlayDuration()
-
setPlayDuration
public void setPlayDuration(long playDuration)
-
getPlaySeek
public long getPlaySeek()
-
setPlaySeek
public void setPlaySeek(long playSeek)
-
getVODTranscodeNGRP
public String getVODTranscodeNGRP()
-
setVODTranscodeNGRP
public void setVODTranscodeNGRP(String vodTranscodeNGRP)
-
setLanguage
public void setLanguage(String language)
-
getLanguage
public String getLanguage()
-
getAudioLanguage
public String getAudioLanguage()
-
setAudioLanguage
public void setAudioLanguage(String audioLanguage)
-
getVideoLanguage
public String getVideoLanguage()
-
setVideoLanguage
public void setVideoLanguage(String videoLanguage)
-
parseCommaSeparatedLanguages
public static java.util.ArrayList<String> parseCommaSeparatedLanguages(String langStr)
-
isWowzaVideoOnly
public boolean isWowzaVideoOnly()
-
setWowzaVideoOnly
public void setWowzaVideoOnly(boolean wowzaVideoOnly)
-
isWowzaKeyFrameOnly
public boolean isWowzaKeyFrameOnly()
-
setWowzaKeyFrameOnly
public void setWowzaKeyFrameOnly(boolean wowzaKeyFrameOnly)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getAspectRatio
public String getAspectRatio()
-
setAspectRatio
public void setAspectRatio(String aspectRatio)
-
getRole
public String getRole()
-
setRole
public void setRole(String role)
-
getAudioRole
public String getAudioRole()
-
setAudioRole
public void setAudioRole(String audioRole)
-
getVideoRole
public String getVideoRole()
-
setVideoRole
public void setVideoRole(String videoRole)
-
getEssentialPropertySet
public java.util.HashSet<String> getEssentialPropertySet()
-
setEssentialPropertySet
public void setEssentialPropertySet(java.util.HashSet<String> essentialPropertySet)
-
getSupplementalPropertySet
public java.util.HashSet<String> getSupplementalPropertySet()
-
setSupplementalPropertySet
public void setSupplementalPropertySet(java.util.HashSet<String> supplementalPropertySet)
-
getAdaptationSet
public String getAdaptationSet()
-
setAdaptationSet
public void setAdaptationSet(String adaptationSet)
-
buildProperties
public void buildProperties(java.util.Map<String,Object> params)
-
-