|
||||||||||
| 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 | |
|---|---|
List<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)
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)
lookupProviderInput in interface IProviderServicescope - Scope of providername - Name of provider
public IMessageInput getProviderInput(IScope scope,
String name)
getProviderInput in interface IProviderServicescope - Scope of providername - Name of provider
public IMessageInput getLiveProviderInput(IScope scope,
String name,
boolean needCreate)
getLiveProviderInput in interface IProviderServicescope - 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 IProviderServicescope - Scope of providername - Name of provider
public File getVODProviderFile(IScope scope,
String name)
getVODProviderFile in interface IProviderServicescope - Scope of providername - Name of provider
public boolean registerBroadcastStream(IScope scope,
String name,
IBroadcastStream bs)
registerBroadcastStream in interface IProviderServicescope - Scopename - Name of streambs - Broadcast stream to register
public List<String> getBroadcastStreamNames(IScope scope)
getBroadcastStreamNames in interface IProviderServicescope - Scope to get stream names from
public boolean unregisterBroadcastStream(IScope scope,
String name)
unregisterBroadcastStream in interface IProviderServicescope - Scopename - Stream name
public boolean unregisterBroadcastStream(IScope scope,
String name,
IBroadcastStream bs)
unregisterBroadcastStream in interface IProviderServicescope - Scopename - Stream namebs - Broadcast stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||