Package com.wowza.wms.mediacaster
Class MediaCasterStreamManager
- Object
-
- com.wowza.wms.mediacaster.MediaCasterStreamManager
-
public class MediaCasterStreamManager extends Object
-
-
Constructor Summary
Constructors Constructor Description MediaCasterStreamManager(MediaCasterStreamMap mediaCasterStreamMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getStreamArray()
Get a list of active streamsjava.util.List<String>
getStreamList()
Get a list of active streamsboolean
startStream(String streamName, String mediaCasterType)
Start a stream by nameboolean
stopStream(String streamName)
Stop a stream by nameboolean
streamExists(String streamName)
Returns true if stream exists
-
-
-
Constructor Detail
-
MediaCasterStreamManager
public MediaCasterStreamManager(MediaCasterStreamMap mediaCasterStreamMap)
-
-
Method Detail
-
getStreamArray
public String[] getStreamArray()
Get a list of active streams- Returns:
- list of active streams
-
getStreamList
public java.util.List<String> getStreamList()
Get a list of active streams- Returns:
- list of active streams
-
streamExists
public boolean streamExists(String streamName)
Returns true if stream exists- Parameters:
streamName
- stream name- Returns:
- true if stream exists
-
stopStream
public boolean stopStream(String streamName)
Stop a stream by name- Parameters:
streamName
- stream name- Returns:
- true is successful
-
startStream
public boolean startStream(String streamName, String mediaCasterType)
Start a stream by name- Parameters:
streamName
- stream namemediaCasterType
- MediaCaster type as defined in the name field of conf/MediaCasters.xml- Returns:
- true is successful
-
-