Class MediaCasterItem


  • public class MediaCasterItem
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaCasterItem​(String name, String streamType, String baseClass)
      Media caster item constructor
    • Constructor Detail

      • MediaCasterItem

        public MediaCasterItem​(String name,
                               String streamType,
                               String baseClass)
        Media caster item constructor
        Parameters:
        name - media caster name
        streamType - stream type
        baseClass - base class
    • 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 - name
        value - 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 class Object