Class TagModelStreamInfCommon
- Object
-
- com.wowza.wms.manifest.model.ManifestModelLogging
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModel
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModelStreamInfCommon
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
TagModelIFrameStreamInf
,TagModelStreamInf
public abstract class TagModelStreamInfCommon extends TagModel
-
-
Field Summary
-
Fields inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
attributes, tagName
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TagModelStreamInfCommon(String tagName)
TagModelStreamInfCommon(String tagName, Integer bandwidth, Integer avgBandwidth, String codecs, String resolution, Float frameRate, String video, Integer programId, String uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Integer
getAvgBandwidth()
Integer
getBandwidth()
String
getCodecs()
Float
getFrameRate()
Integer
getProgramId()
String
getResolution()
java.net.URI
getUri()
String
getUriStr()
String
getVideo()
int
hashCode()
boolean
isMediaSegmentTag()
boolean
isValid(Integer version)
void
setAvgBandwidth(Integer avgBandwidth)
void
setBandwidth(Integer bandwidth)
void
setCodecs(String codecs)
void
setFrameRate(Float frameRate)
void
setProgramId(Integer programId)
void
setResolution(String resolution)
void
setUri(java.net.URI uri)
void
setUriStr(String uri)
void
setVideo(String video)
protected void
toString(StringBuilder sb)
boolean
validForMasterPlaylist()
boolean
validForMediaPlaylist()
void
write(TagWriter writer, StringBuffer buf)
-
Methods inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
addAllAttributes, addAttribute, clone, equals, findTags, formatAttributes, formatBoolean, formatBooleanAttribute, formatDoubleAttribute, formatEnumAttribute, formatFloat, formatFloatAttribute, formatInteger, formatIntegerAttribute, formatLong, formatLongAttribute, formatQuotedStringAttribute, formatString, formatUnquotedStringAttribute, formatValue, getContextStr, getTag, getTagName, getUnknownAttributes, setContextStr, toString, write
-
Methods inherited from class com.wowza.wms.manifest.model.ManifestModelLogging
getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOut
-
-
-
-
Constructor Detail
-
TagModelStreamInfCommon
public TagModelStreamInfCommon(String tagName, Integer bandwidth, Integer avgBandwidth, String codecs, String resolution, Float frameRate, String video, Integer programId, String uri)
-
TagModelStreamInfCommon
protected TagModelStreamInfCommon(String tagName)
-
-
Method Detail
-
validForMasterPlaylist
public boolean validForMasterPlaylist()
- Specified by:
validForMasterPlaylist
in classTagModel
-
validForMediaPlaylist
public boolean validForMediaPlaylist()
- Specified by:
validForMediaPlaylist
in classTagModel
-
getBandwidth
public Integer getBandwidth()
- Returns:
- the bandwidth
-
setBandwidth
public void setBandwidth(Integer bandwidth)
- Parameters:
bandwidth
- the bandwidth to set
-
getAvgBandwidth
public Integer getAvgBandwidth()
- Returns:
- the avgBandwidth
-
setAvgBandwidth
public void setAvgBandwidth(Integer avgBandwidth)
- Parameters:
avgBandwidth
- the avgBandwidth to set
-
getCodecs
public String getCodecs()
- Returns:
- the codecs
-
setCodecs
public void setCodecs(String codecs)
- Parameters:
codecs
- the codecs to set
-
getResolution
public String getResolution()
- Returns:
- the resolution
-
setResolution
public void setResolution(String resolution)
- Parameters:
resolution
- the resolution to set
-
getFrameRate
public Float getFrameRate()
- Returns:
- the frameRate
-
setFrameRate
public void setFrameRate(Float frameRate)
- Parameters:
frameRate
- the frameRate to set
-
getVideo
public String getVideo()
- Returns:
- the video
-
setVideo
public void setVideo(String video)
- Parameters:
video
- the video to set
-
getProgramId
public Integer getProgramId()
- Returns:
- the programId
-
setProgramId
public void setProgramId(Integer programId)
- Parameters:
programId
- the programId to set
-
getUri
public java.net.URI getUri()
- Returns:
- the uri
-
setUri
public void setUri(java.net.URI uri)
- Parameters:
uri
- the uri to set
-
getUriStr
public String getUriStr()
- Returns:
- the uri
-
setUriStr
public void setUriStr(String uri)
- Parameters:
uri
- the uri to set
-
toString
protected void toString(StringBuilder sb)
-
write
public void write(TagWriter writer, StringBuffer buf) throws java.io.IOException
- Throws:
java.io.IOException
-
isMediaSegmentTag
public boolean isMediaSegmentTag()
- Specified by:
isMediaSegmentTag
in classTagModel
-
-