Package com.wowza.wms.mediacaster
Class MediaCasterItem
- Object
-
- com.wowza.wms.mediacaster.MediaCasterItem
-
public class MediaCasterItem extends Object
-
-
Constructor Summary
Constructors Constructor Description MediaCasterItem(String name, String streamType, String baseClass)
Media caster item constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearProperty(String name)
Clear propertyString
getBaseClass()
Get base classint
getConnectionTimeout()
Get connection timeout (milliseconds)String
getDescription()
Get descriptionstatic String
getIdString(String name, String liveStreamPacketizer, String liveStreamRepeater)
Get id string for this media caster item (not used - returns name unchanged)int
getKeepAliveTime()
Get keep alive time (milliseconds)String
getName()
Get nameWMSProperties
getProperties()
Get properties collectionString
getProperty(String name)
Get property valueString
getStreamType()
Get the stream typeString
idStringToName(String idString)
Convert name to id string (not used - returns id string unchanged)static com.wowza.wms.mediacaster.MediaCasterStreamId
parseIdString(String idString)
void
setBaseClass(String baseClass)
Set base classvoid
setConnectionTimeout(int connectionTimeout)
Set connection timeout (milliseconds)void
setDescription(String description)
Set descriptionvoid
setKeepAliveTime(int keepAliveTime)
Set keep alive time (milliseconds)void
setName(String name)
Set namevoid
setProperty(String name, String value)
Set a propertyvoid
setStreamType(String streamType)
Set stream typeString
toString()
toString
-
-
-
Method Detail
-
getStreamType
public String getStreamType()
Get the stream type- Returns:
- stream type
-
setStreamType
public void setStreamType(String streamType)
Set stream type- Parameters:
streamType
- stream type
-
getName
public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
Set name- Parameters:
name
- name
-
setProperty
public void setProperty(String name, String value)
Set a property- Parameters:
name
- namevalue
- value
-
clearProperty
public void clearProperty(String name)
Clear property- Parameters:
name
- name
-
getProperty
public String getProperty(String name)
Get property value- Parameters:
name
- name- Returns:
- property value
-
getProperties
public WMSProperties getProperties()
Get properties collection- Returns:
- properties collection
-
getDescription
public String getDescription()
Get description- Returns:
- description
-
setDescription
public void setDescription(String description)
Set description- Parameters:
description
- description
-
getBaseClass
public String getBaseClass()
Get base class- Returns:
- base class
-
setBaseClass
public void setBaseClass(String baseClass)
Set base class- Parameters:
baseClass
- base class
-
getConnectionTimeout
public int getConnectionTimeout()
Get connection timeout (milliseconds)- Returns:
- connection timeout (milliseconds)
-
setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout)
Set connection timeout (milliseconds)- Parameters:
connectionTimeout
- connection timeout (milliseconds)
-
getKeepAliveTime
public int getKeepAliveTime()
Get keep alive time (milliseconds)- Returns:
- keep alive time (milliseconds)
-
setKeepAliveTime
public void setKeepAliveTime(int keepAliveTime)
Set keep alive time (milliseconds)- Parameters:
keepAliveTime
- keep alive time (milliseconds)
-
getIdString
public static String getIdString(String name, String liveStreamPacketizer, String liveStreamRepeater)
Get id string for this media caster item (not used - returns name unchanged)- Parameters:
name
- name- Returns:
- id string for this media caster item
-
parseIdString
public static com.wowza.wms.mediacaster.MediaCasterStreamId parseIdString(String idString)
-
idStringToName
public String idStringToName(String idString)
Convert name to id string (not used - returns id string unchanged)- Parameters:
idString
- id string- Returns:
- name
-
toString
public String toString()
toString- Overrides:
toString
in classObject
-
-