|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.stream.ProviderService
public class ProviderService
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.red5.server.stream.IProviderService |
---|
IProviderService.INPUT_TYPE |
Field Summary |
---|
Fields inherited from interface org.red5.server.stream.IProviderService |
---|
BEAN_NAME |
Constructor Summary | |
---|---|
ProviderService()
|
Method Summary | |
---|---|
Set<String> |
getBroadcastStreamNames(IScope scope)
Get names of existing broadcast streams in a scope. |
IMessageInput |
getLiveProviderInput(IScope scope,
String name,
boolean needCreate)
Get a named Live provider as the source of input. |
IMessageInput |
getProviderInput(IScope scope,
String name)
Get a named provider as the source of input. |
File |
getVODProviderFile(IScope scope,
String name)
Get a named VOD source file. |
IMessageInput |
getVODProviderInput(IScope scope,
String name)
Get a named VOD provider as the source of input. |
IProviderService.INPUT_TYPE |
lookupProviderInput(IScope scope,
String name,
int type)
Returns the input type for a named provider if a source of input exists. |
boolean |
registerBroadcastStream(IScope scope,
String name,
IBroadcastStream bs)
Register a broadcast stream to a scope. |
boolean |
unregisterBroadcastStream(IScope scope,
String name)
Unregister a broadcast stream of a specific name from a scope. |
boolean |
unregisterBroadcastStream(IScope scope,
String name,
IBroadcastStream bs)
Unregister a broadcast stream of a specific name from a scope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProviderService()
Method Detail |
---|
public IProviderService.INPUT_TYPE lookupProviderInput(IScope scope, String name, int type)
lookupProviderInput
in interface IProviderService
scope
- Scope of providername
- Name of providertype
- Type of video stream
public IMessageInput getProviderInput(IScope scope, String name)
getProviderInput
in interface IProviderService
scope
- Scope of providername
- Name of provider
public IMessageInput getLiveProviderInput(IScope scope, String name, boolean needCreate)
getLiveProviderInput
in interface IProviderService
scope
- Scope of providername
- Name of providerneedCreate
- Whether there's need to create basic scope / live provider if they don't exist
public IMessageInput getVODProviderInput(IScope scope, String name)
getVODProviderInput
in interface IProviderService
scope
- Scope of providername
- Name of provider
public File getVODProviderFile(IScope scope, String name)
getVODProviderFile
in interface IProviderService
scope
- Scope of providername
- Name of provider
public boolean registerBroadcastStream(IScope scope, String name, IBroadcastStream bs)
registerBroadcastStream
in interface IProviderService
scope
- Scopename
- Name of streambs
- Broadcast stream to register
public Set<String> getBroadcastStreamNames(IScope scope)
getBroadcastStreamNames
in interface IProviderService
scope
- Scope to get stream names from
public boolean unregisterBroadcastStream(IScope scope, String name)
unregisterBroadcastStream
in interface IProviderService
scope
- Scopename
- Stream name
public boolean unregisterBroadcastStream(IScope scope, String name, IBroadcastStream bs)
unregisterBroadcastStream
in interface IProviderService
scope
- Scopename
- Stream namebs
- Broadcast stream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |