public class SourceControlManager
extends com.wowza.wms.sourcecontrol.SourceControlLogging
| Modifier and Type | Method | Description |
|---|---|---|
ISourceControlSession |
createSourceControlSession(String streamName,
IApplicationInstance appInstance) |
Creates a SourceControlSession for the indicated stream and application instance.
|
java.util.List<String> |
getDriverList() |
Get a list of the Source Control Drivers
|
static SourceControlManager |
getInstance() |
Static method to reference a single instance of the Source Control Manager.
|
ISourceControl |
getSourceControlInstance(com.wowza.wms.sourcecontrol.drivers.SourceControlContext context) |
Gets the ISourceControl implemenation for the provided SourceControlContext
|
static String |
getXMLConfigPath() |
For testing purposes only
|
boolean |
isDriverListLoaded() |
Returns true if the list of Source Control Drivers was successfully loaded.
|
com.wowza.wms.sourcecontrol.drivers.SourceControlContext |
loadContext(com.wowza.util.JSON jsonData) |
Get a SourceControlContext for the source control device described by the provided JSON data
|
static void |
reset() |
Static method to clear the Source Control Manager, you will need to get a new reference via the getInstance() method.
|
public ISourceControlSession createSourceControlSession(String streamName, IApplicationInstance appInstance)
streamName - the stream name to associate it withappInstance - the application instance to associate it withpublic java.util.List<String> getDriverList()
public static SourceControlManager getInstance()
public ISourceControl getSourceControlInstance(com.wowza.wms.sourcecontrol.drivers.SourceControlContext context)
context - that contains the information to instantiate an ISourceControl devicepublic static String getXMLConfigPath()
public boolean isDriverListLoaded()
public com.wowza.wms.sourcecontrol.drivers.SourceControlContext loadContext(com.wowza.util.JSON jsonData)
jsonData - JSON class that contains the key value pairs that describe a source control devicepublic static void reset()