Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<IConnection,IScope> |
Client.connToScope
Scopes this client connected to
|
Modifier and Type | Method and Description |
---|---|
IScope |
BaseConnection.getScope() |
IScope |
Context.getScope()
Return scope
|
IScope |
Context.resolveScope(IScope root,
String path)
Resolves scope from given root using scope resolver.
|
IScope |
Context.resolveScope(String path)
Resolves scope using scope resolver collaborator
|
IScope |
Context.resolveScope(String host,
String path)
Resolve scope from host and path
|
Modifier and Type | Method and Description |
---|---|
Collection<IScope> |
Client.getScopes() |
Modifier and Type | Method and Description |
---|---|
boolean |
CoreHandler.connect(IConnection conn,
IScope scope)
Connects client to the scope
|
boolean |
CoreHandler.connect(IConnection conn,
IScope scope,
Object[] params)
Connects client to the scope
|
boolean |
BaseConnection.connect(IScope newScope)
Connect to another scope on server
|
boolean |
BaseConnection.connect(IScope newScope,
Object[] params)
Connect to another scope on server with given parameters
|
void |
CoreHandler.disconnect(IConnection conn,
IScope scope)
Called just after the a connection is disconnected.
|
Set<IConnection> |
Client.getConnections(IScope scope)
Return client connections to given scope
|
boolean |
CoreHandler.join(IClient client,
IScope scope)
Called just before a client enters the scope.
|
void |
CoreHandler.leave(IClient client,
IScope scope)
Called just after the client leaves the scope.
|
void |
Server.notifyScopeCreated(IScope scope)
Notify listeners about a newly created scope.
|
void |
Server.notifyScopeRemoved(IScope scope)
Notify listeners that a scope was removed.
|
IScope |
Context.resolveScope(IScope root,
String path)
Resolves scope from given root using scope resolver.
|
boolean |
CoreHandler.start(IScope scope)
Called when a scope is created for the first time.
|
void |
CoreHandler.stop(IScope scope)
Called just before a scope is disposed.
|
Modifier and Type | Field and Description |
---|---|
protected IScope |
StatefulScopeWrappingAdapter.scope
Wrapped scope
|
Modifier and Type | Method and Description |
---|---|
IScope |
StatefulScopeWrappingAdapter.getChildScope(String name)
Return child scope
|
IScope |
StatefulScopeWrappingAdapter.getParent()
Return parent scope
|
IScope |
StatefulScopeWrappingAdapter.getScope()
Getter for wrapped scope
|
Modifier and Type | Method and Description |
---|---|
boolean |
ApplicationLifecycle.appJoin(IClient client,
IScope app) |
boolean |
IApplication.appJoin(IClient client,
IScope app)
Called every time client joins app level scope
|
boolean |
MultiThreadedApplicationAdapter.appJoin(IClient client,
IScope app) |
void |
ApplicationLifecycle.appLeave(IClient client,
IScope app) |
void |
IApplication.appLeave(IClient client,
IScope app)
Called every time client leaves the application scope
|
void |
MultiThreadedApplicationAdapter.appLeave(IClient client,
IScope app)
Handler method.
|
boolean |
ApplicationLifecycle.appStart(IScope app) |
boolean |
IApplication.appStart(IScope app)
Called once when application or room starts
|
boolean |
MultiThreadedApplicationAdapter.appStart(IScope app)
Called once on scope (that is, application or application room) start.
|
void |
ApplicationLifecycle.appStop(IScope app) |
void |
IApplication.appStop(IScope app)
Called on application stop
|
void |
MultiThreadedApplicationAdapter.appStop(IScope app)
Handler method.
|
boolean |
MultiThreadedApplicationAdapter.clearSharedObjects(IScope scope,
String name)
Deletes persistent shared objects specified by name and clears all
properties from active shared objects (persistent and nonpersistent).
|
boolean |
AbstractScopeAdapter.connect(IConnection conn,
IScope scope,
Object[] params)
Called just before every connection to a scope.
|
boolean |
ApplicationAdapter.connect(IConnection conn,
IScope scope,
Object[] params)
Returns connection result for given scope and parameters.
|
boolean |
MultiThreadedApplicationAdapter.connect(IConnection conn,
IScope scope,
Object[] params)
Returns connection result for given scope and parameters.
|
boolean |
MultiThreadedApplicationAdapter.createSharedObject(IScope scope,
String name,
boolean persistent)
Creates a new shared object for given scope.
|
void |
AbstractScopeAdapter.disconnect(IConnection conn,
IScope scope)
Called just after the a connection is disconnected.
|
void |
ApplicationAdapter.disconnect(IConnection conn,
IScope scope)
Returns disconnection result for given scope and parameters.
|
void |
MultiThreadedApplicationAdapter.disconnect(IConnection conn,
IScope scope)
Returns disconnection result for given scope and parameters.
|
IBroadcastStream |
MultiThreadedApplicationAdapter.getBroadcastStream(IScope scope,
String name)
Get a broadcast stream by name
|
Set<String> |
MultiThreadedApplicationAdapter.getBroadcastStreamNames(IScope scope)
Returns list of stream names broadcasted in
|
IOnDemandStream |
MultiThreadedApplicationAdapter.getOnDemandStream(IScope scope,
String name)
Returns VOD stream with given name from specified scope.
|
ISharedObject |
MultiThreadedApplicationAdapter.getSharedObject(IScope scope,
String name)
Returns shared object from given scope by name.
|
ISharedObject |
MultiThreadedApplicationAdapter.getSharedObject(IScope scope,
String name,
boolean persistent)
Returns shared object from given scope by name.
|
Set<String> |
MultiThreadedApplicationAdapter.getSharedObjectNames(IScope scope)
Returns available SharedObject names as List
|
ISubscriberStream |
MultiThreadedApplicationAdapter.getSubscriberStream(IScope scope,
String name)
Returns subscriber stream with given name from specified scope.
|
boolean |
MultiThreadedApplicationAdapter.hasBroadcastStream(IScope scope,
String name)
Does the scope have a broadcast stream registered with a given name
|
boolean |
MultiThreadedApplicationAdapter.hasOnDemandStream(IScope scope,
String name)
Check whether scope has VOD stream with given name or not
|
boolean |
MultiThreadedApplicationAdapter.hasSharedObject(IScope scope,
String name)
Checks whether there's a SO with given scope and name
|
boolean |
AbstractScopeAdapter.join(IClient client,
IScope scope)
Called just before a client enters the scope.
|
boolean |
ApplicationAdapter.join(IClient client,
IScope scope)
Adds client to scope.
|
boolean |
MultiThreadedApplicationAdapter.join(IClient client,
IScope scope)
Adds client to scope.
|
void |
AbstractScopeAdapter.leave(IClient client,
IScope scope)
Called just after the client leaves the scope.
|
void |
ApplicationAdapter.leave(IClient client,
IScope scope)
Disconnects client from scope.
|
void |
MultiThreadedApplicationAdapter.leave(IClient client,
IScope scope)
Disconnects client from scope.
|
boolean |
ApplicationLifecycle.roomJoin(IClient client,
IScope room) |
boolean |
IApplication.roomJoin(IClient client,
IScope room)
Called when user joins room scope
|
boolean |
MultiThreadedApplicationAdapter.roomJoin(IClient client,
IScope room) |
void |
ApplicationLifecycle.roomLeave(IClient client,
IScope room) |
void |
IApplication.roomLeave(IClient client,
IScope room)
Called when user leaves room scope
|
void |
MultiThreadedApplicationAdapter.roomLeave(IClient client,
IScope room)
Handler method.
|
boolean |
ApplicationLifecycle.roomStart(IScope room) |
boolean |
IApplication.roomStart(IScope room)
Called on application room start
|
boolean |
MultiThreadedApplicationAdapter.roomStart(IScope room)
Handler method.
|
void |
ApplicationLifecycle.roomStop(IScope room) |
void |
IApplication.roomStop(IScope room)
Called on room scope stop
|
void |
MultiThreadedApplicationAdapter.roomStop(IScope room)
Handler method.
|
void |
StatefulScopeWrappingAdapter.setScope(IScope scope)
Set the scope the object is located in.
|
boolean |
AbstractScopeAdapter.start(IScope scope)
Called when a scope is created for the first time.
|
boolean |
ApplicationAdapter.start(IScope scope)
Starts scope.
|
boolean |
MultiThreadedApplicationAdapter.start(IScope scope)
Starts scope.
|
void |
AbstractScopeAdapter.stop(IScope scope)
Called just before a scope is disposed.
|
void |
ApplicationAdapter.stop(IScope scope)
Stops scope handling (that is, stops application if given scope is app
level scope and stops room handling if given scope has lower scope
level).
|
void |
MultiThreadedApplicationAdapter.stop(IScope scope)
Stops scope handling (that is, stops application if given scope is app
level scope and stops room handling if given scope has lower scope
level).
|
Modifier and Type | Method and Description |
---|---|
IScope |
IConnection.getScope()
Get the scope this is connected to.
|
IScope |
Red5.getScope()
Get the scope
|
IScope |
IContext.resolveScope(IScope root,
String path)
Returns scope by path from given root.
|
IScope |
IContext.resolveScope(String path)
Returns scope by path.
|
Modifier and Type | Method and Description |
---|---|
Collection<IScope> |
IClient.getScopes()
Get a set of scopes the client is connected to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IConnection.connect(IScope scope)
Try to connect to the scope.
|
boolean |
IConnection.connect(IScope scope,
Object[] params)
Try to connect to the scope with a list of connection parameters.
|
Set<IConnection> |
IClient.getConnections(IScope scope)
Get a set of connections of a given scope.
|
IScope |
IContext.resolveScope(IScope root,
String path)
Returns scope by path from given root.
|
Modifier and Type | Method and Description |
---|---|
void |
IScopeListener.notifyScopeCreated(IScope scope)
A scope has been created.
|
void |
IScopeListener.notifyScopeRemoved(IScope scope)
A scope has been removed.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IGlobalScope
The global scope that acts as root for all applications in a host.
|
Modifier and Type | Method and Description |
---|---|
IScope |
IBasicScope.getParent()
Get this scopes parent.
|
IScope |
IScope.getScope(String name)
Return scope by name
|
IScope |
IScopeResolver.resolveScope(IScope root,
String path)
Get the scope for a given path from a root scope.
|
IScope |
IScopeResolver.resolveScope(String path)
Get the scope for a given path.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IScopeHandler.connect(IConnection conn,
IScope scope,
Object[] params)
Called just before every connection to a scope.
|
void |
IScopeHandler.disconnect(IConnection conn,
IScope scope)
Called just after the a connection is disconnected.
|
boolean |
IScopeHandler.join(IClient client,
IScope scope)
Called just before a client enters the scope.
|
void |
IScopeHandler.leave(IClient client,
IScope scope)
Called just after the client leaves the scope.
|
IScope |
IScopeResolver.resolveScope(IScope root,
String path)
Get the scope for a given path from a root scope.
|
void |
IScopeAware.setScope(IScope scope)
Set the scope the object is located in.
|
boolean |
IScopeHandler.start(IScope scope)
Called when a scope is created for the first time.
|
void |
IScopeHandler.stop(IScope scope)
Called just before a scope is disposed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IServiceInvoker.invoke(IServiceCall call,
IScope scope)
Execute the passed service call in the given scope.
|
static void |
ServiceUtils.invokeOnAllConnections(IScope scope,
String method,
Object[] params)
Invoke a method on all connections to a given scope.
|
static void |
ServiceUtils.invokeOnAllConnections(IScope scope,
String method,
Object[] params,
IPendingServiceCallback callback)
Invoke a method on all connections to a given scope and handle result.
|
static void |
ServiceUtils.invokeOnClient(IClient client,
IScope scope,
String method,
Object[] params)
Invoke a method on all connections of a client to a given scope.
|
static void |
ServiceUtils.invokeOnClient(IClient client,
IScope scope,
String method,
Object[] params,
IPendingServiceCallback callback)
Invoke a method on all connections of a client to a given scope and
handle result.
|
static void |
ServiceUtils.notifyOnAllConnections(IScope scope,
String method,
Object[] params)
Notify a method on all connections to a given scope.
|
static void |
ServiceUtils.notifyOnClient(IClient client,
IScope scope,
String method,
Object[] params)
Notify a method on all connections of a client to a given scope.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ISharedObjectService.clearSharedObjects(IScope scope,
String name)
Deletes persistent shared objects specified by name and clears all
properties from active shared objects (persistent and nonpersistent).
|
boolean |
ISharedObjectService.createSharedObject(IScope scope,
String name,
boolean persistent)
Create a new shared object.
|
ISharedObject |
ISharedObjectService.getSharedObject(IScope scope,
String name)
Get a shared object by name.
|
ISharedObject |
ISharedObjectService.getSharedObject(IScope scope,
String name,
boolean persistent)
Get a shared object by name and create it if it doesn't exist.
|
Set<String> |
ISharedObjectService.getSharedObjectNames(IScope scope)
Get a set of the shared object names.
|
boolean |
ISharedObjectService.hasSharedObject(IScope scope,
String name)
Check if a shared object exists.
|
boolean |
ISharedObjectSecurity.isCreationAllowed(IScope scope,
String name,
boolean persistent)
Check if the a shared object may be created in the given scope.
|
Modifier and Type | Method and Description |
---|---|
ISharedObject |
IStatisticsService.getScopeStatisticsSO(IScope scope)
Return the shared object that will be used to keep scope statistics.
|
ISharedObject |
IStatisticsService.getSharedObjectStatisticsSO(IScope scope)
Return the shared object that will be used to keep SO statistics.
|
Modifier and Type | Method and Description |
---|---|
IScope |
IStream.getScope()
Get the scope this stream is associated with.
|
Modifier and Type | Method and Description |
---|---|
String |
IStreamFilenameGenerator.generateFilename(IScope scope,
String name,
IStreamFilenameGenerator.GenerationType type)
Generate a filename without an extension.
|
String |
IStreamFilenameGenerator.generateFilename(IScope scope,
String name,
String extension,
IStreamFilenameGenerator.GenerationType type)
Generate a filename with an extension.
|
IBroadcastStream |
IBroadcastStreamService.getBroadcastStream(IScope scope,
String name)
Get a broadcast stream by name
|
Set<String> |
IBroadcastStreamService.getBroadcastStreamNames(IScope scope)
Get a set containing the names of all the broadcasts
|
IOnDemandStream |
IOnDemandStreamService.getOnDemandStream(IScope scope,
String name)
Get a stream that can be used for playback of the on-demand stream
|
ISubscriberStream |
ISubscriberStreamService.getSubscriberStream(IScope scope,
String name)
Returns a stream that can subscribe a broadcast stream with the given
name using "IBroadcastStream.subscribe".
|
boolean |
IBroadcastStreamService.hasBroadcastStream(IScope scope,
String name)
Does the scope have a broadcast stream registered with a given name
|
boolean |
IOnDemandStreamService.hasOnDemandStream(IScope scope,
String name)
Has the service an on-demand stream with the passed name?
|
boolean |
IRtmpSampleAccess.isAudioAllowed(IScope scope)
Return true if sample access allowed on audio stream
|
boolean |
IStreamPlaybackSecurity.isPlaybackAllowed(IScope scope,
String name,
int start,
int length,
boolean flushPlaylist)
Check if playback of a stream with the given name is allowed.
|
boolean |
IStreamPublishSecurity.isPublishAllowed(IScope scope,
String name,
String mode)
Check if publishing a stream with the given name is allowed.
|
boolean |
IRtmpSampleAccess.isVideoAllowed(IScope scope)
Return true if sample access allowed on video stream
|
Modifier and Type | Method and Description |
---|---|
static IServerStream |
StreamUtils.createServerStream(IScope scope,
String name)
Creates server stream
|
static IServerStream |
StreamUtils.getServerStream(IScope scope,
String name)
Looks up a server stream in the stream map.
|
boolean |
DenyAllStreamAccess.isPlaybackAllowed(IScope scope,
String name,
int start,
int length,
boolean flushPlaylist)
Check if playback of a stream with the given name is allowed.
|
boolean |
DenyAllStreamAccess.isPublishAllowed(IScope scope,
String name,
String mode)
Check if publishing a stream with the given name is allowed.
|
static void |
StreamUtils.putServerStream(IScope scope,
String name,
IServerStream stream)
Puts a server stream in the stream map
|
static void |
StreamUtils.removeServerStream(IScope scope,
String name)
Removes a server stream from the stream map
|
Constructor and Description |
---|
ScopeNotFoundException(IScope scope,
String childName)
Create exception from given scope object and given child subscope
|
ScopeShuttingDownException(IScope scope)
Create exception from given scope object
|
Modifier and Type | Method and Description |
---|---|
IScope |
ContextMXBean.getGlobalScope() |
IScope |
ContextMXBean.getScope() |
IScope |
ContextMXBean.resolveScope(IScope root,
String path) |
IScope |
ContextMXBean.resolveScope(String path) |
IScope |
ContextMXBean.resolveScope(String host,
String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
ApplicationMXBean.appJoin(IClient client,
IScope app) |
void |
ApplicationMXBean.appLeave(IClient client,
IScope app) |
boolean |
ApplicationMXBean.appStart(IScope app) |
void |
ApplicationMXBean.appStop(IScope app) |
boolean |
CoreHandlerMXBean.connect(IConnection conn,
IScope scope) |
boolean |
CoreHandlerMXBean.connect(IConnection conn,
IScope scope,
Object[] params) |
void |
CoreHandlerMXBean.disconnect(IConnection conn,
IScope scope) |
boolean |
CoreHandlerMXBean.join(IClient client,
IScope scope) |
void |
CoreHandlerMXBean.leave(IClient client,
IScope scope) |
IScope |
ContextMXBean.resolveScope(IScope root,
String path) |
boolean |
ApplicationMXBean.roomJoin(IClient client,
IScope room) |
void |
ApplicationMXBean.roomLeave(IClient client,
IScope room) |
boolean |
ApplicationMXBean.roomStart(IScope room) |
void |
ApplicationMXBean.roomStop(IScope room) |
boolean |
CoreHandlerMXBean.start(IScope scope) |
void |
CoreHandlerMXBean.stop(IScope scope) |
Modifier and Type | Field and Description |
---|---|
protected IScope |
RemotingConnection.scope
Scope
|
Modifier and Type | Method and Description |
---|---|
IScope |
RemotingConnection.getScope()
Get the scope this is connected to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RemotingConnection.connect(IScope scope)
Try to connect to the scope.
|
boolean |
RemotingConnection.connect(IScope scope,
Object[] params)
Try to connect to the scope with a list of connection parameters.
|
Constructor and Description |
---|
RemotingConnection(javax.servlet.http.HttpServletRequest request,
IScope scope,
RemotingPacket packet)
Create servlet connection from request and scope.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RTMPConnection.connect(IScope newScope,
Object[] params) |
boolean |
RTMPMinaConnection.connect(IScope newScope,
Object[] params) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AMFGatewayServlet.handleRemotingPacket(javax.servlet.http.HttpServletRequest req,
IContext context,
IScope scope,
RemotingPacket message)
Handles AMF request by making calls
|
Constructor and Description |
---|
FilePersistence(IScope scope)
Create file persistence object for given scope
|
RamPersistence(IScope scope)
Creates RAM persistence object from scope
|
Modifier and Type | Class and Description |
---|---|
class |
GlobalScope
Global scope is a top level scope.
|
class |
RoomScope
Represents a subscope to other scopes.
|
class |
Scope
The scope object.
|
class |
WebScope
Web scope is special scope that is aware of servlet context and represents
scope of a Red5 application within a servlet container (or application server)
such as Tomcat, Jetty or JBoss.
|
Modifier and Type | Field and Description |
---|---|
protected IScope |
BasicScope.parent
Parent scope.
|
Modifier and Type | Method and Description |
---|---|
IScope |
BasicScope.getParent()
Get this scopes parent.
|
IScope |
Scope.getParent()
Return parent scope
|
IScope |
Scope.getScope(String name)
Return child scope by name
|
IScope |
ScopeResolver.resolveScope(IScope root,
String path)
Return scope associated with given path from given root scope.
|
IScope |
ScopeResolver.resolveScope(String path)
Return scope associated with given path
|
Modifier and Type | Method and Description |
---|---|
IScope |
ScopeResolver.resolveScope(IScope root,
String path)
Return scope associated with given path from given root scope.
|
void |
Scope.setParent(IScope parent)
Setter for parent scope
|
Constructor and Description |
---|
BasicScope(IScope parent,
ScopeType type,
String name,
boolean persistent)
Constructor for basic scope
|
BroadcastScope(IScope parent,
String name)
Creates broadcast scope
|
Builder(IScope parent,
ScopeType type,
String name,
boolean persistent) |
Modifier and Type | Method and Description |
---|---|
boolean |
ServiceInvoker.invoke(IServiceCall call,
IScope scope)
Execute the passed service call in the given scope.
|
Object |
ContextServiceResolver.resolveService(IScope scope,
String serviceName)
Search for a service with the given name in the scope.
|
Object |
HandlerServiceResolver.resolveService(IScope scope,
String serviceName)
Search for a service with the given name in the scope.
|
Object |
IServiceResolver.resolveService(IScope scope,
String serviceName)
Search for a service with the given name in the scope.
|
Object |
ScopeServiceResolver.resolveService(IScope scope,
String serviceName)
Search for a service with the given name in the scope.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SharedObjectService.clearSharedObjects(IScope scope,
String name)
Deletes persistent shared objects specified by name and clears all
properties from active shared objects (persistent and nonpersistent).
|
boolean |
SharedObjectService.createSharedObject(IScope scope,
String name,
boolean persistent)
Create a new shared object.
|
ISharedObject |
SharedObjectService.getSharedObject(IScope scope,
String name)
Get a shared object by name.
|
ISharedObject |
SharedObjectService.getSharedObject(IScope scope,
String name,
boolean persistent)
Get a shared object by name and create it if it doesn't exist.
|
Set<String> |
SharedObjectService.getSharedObjectNames(IScope scope)
Get a set of the shared object names.
|
boolean |
SharedObjectService.hasSharedObject(IScope scope,
String name)
Check if a shared object exists.
|
Constructor and Description |
---|
SharedObjectScope(IScope parent,
String name,
boolean persistent,
IPersistenceStore store)
Creates shared object with given parent scope, name, persistence flag state and store object
|
Modifier and Type | Method and Description |
---|---|
ISharedObject |
StatisticsService.getScopeStatisticsSO(IScope scope) |
ISharedObject |
StatisticsService.getSharedObjectStatisticsSO(IScope scope) |
void |
StatisticsService.setGlobalScope(IScope scope) |
void |
XmlRpcScopeStatistics.setGlobalScope(IScope scope)
Setter for global scope.
|
Constructor and Description |
---|
XmlRpcScopeStatistics(IScope globalScope)
Create new scope statistic.
|
Modifier and Type | Method and Description |
---|---|
IScope |
AbstractStream.getScope()
Return scope
|
Modifier and Type | Method and Description |
---|---|
String |
DefaultStreamFilenameGenerator.generateFilename(IScope scope,
String name,
IStreamFilenameGenerator.GenerationType type)
Generate a filename without an extension.
|
String |
DefaultStreamFilenameGenerator.generateFilename(IScope scope,
String name,
String extension,
IStreamFilenameGenerator.GenerationType type)
Generate a filename with an extension.
|
IBroadcastScope |
StreamService.getBroadcastScope(IScope scope,
String name)
Return broadcast scope object for given scope and child scope name
|
Set<String> |
IProviderService.getBroadcastStreamNames(IScope scope)
Get names of existing broadcast streams in a scope.
|
Set<String> |
ProviderService.getBroadcastStreamNames(IScope scope)
Get names of existing broadcast streams in a scope.
|
IMessageInput |
IProviderService.getLiveProviderInput(IScope scope,
String name,
boolean needCreate)
Get a named Live provider as the source of input.
|
IMessageInput |
ProviderService.getLiveProviderInput(IScope scope,
String name,
boolean needCreate)
Get a named Live provider as the source of input.
|
IMessageInput |
IProviderService.getProviderInput(IScope scope,
String name)
Get a named provider as the source of input.
|
IMessageInput |
ProviderService.getProviderInput(IScope scope,
String name)
Get a named provider as the source of input.
|
protected File |
ClientBroadcastStream.getRecordFile(IScope scope,
String name)
Get the file we'd be recording to based on scope and given name.
|
File |
IProviderService.getVODProviderFile(IScope scope,
String name)
Get a named VOD source file.
|
File |
ProviderService.getVODProviderFile(IScope scope,
String name)
Get a named VOD source file.
|
IMessageInput |
IProviderService.getVODProviderInput(IScope scope,
String name)
Get a named VOD provider as the source of input.
|
IMessageInput |
ProviderService.getVODProviderInput(IScope scope,
String name)
Get a named VOD provider as the source of input.
|
boolean |
RtmpSampleAccess.isAudioAllowed(IScope scope)
Return true if sample access allowed on audio stream
|
boolean |
RtmpSampleAccess.isVideoAllowed(IScope scope)
Return true if sample access allowed on video stream
|
IProviderService.INPUT_TYPE |
IProviderService.lookupProviderInput(IScope scope,
String name,
int type)
Returns the input type for a named provider if a source of input exists.
|
IProviderService.INPUT_TYPE |
ProviderService.lookupProviderInput(IScope scope,
String name,
int type)
Returns the input type for a named provider if a source of input exists.
|
boolean |
IProviderService.registerBroadcastStream(IScope scope,
String name,
IBroadcastStream stream)
Register a broadcast stream to a scope.
|
boolean |
ProviderService.registerBroadcastStream(IScope scope,
String name,
IBroadcastStream bs)
Register a broadcast stream to a scope.
|
void |
AbstractStream.setScope(IScope scope)
Setter for scope
|
boolean |
IProviderService.unregisterBroadcastStream(IScope scope,
String name)
Unregister a broadcast stream of a specific name from a scope.
|
boolean |
ProviderService.unregisterBroadcastStream(IScope scope,
String name)
Unregister a broadcast stream of a specific name from a scope.
|
boolean |
IProviderService.unregisterBroadcastStream(IScope scope,
String name,
IBroadcastStream stream)
Unregister a broadcast stream of a specific name from a scope.
|
boolean |
ProviderService.unregisterBroadcastStream(IScope scope,
String name,
IBroadcastStream bs)
Unregister a broadcast stream of a specific name from a scope.
|
Modifier and Type | Method and Description |
---|---|
void |
FileConsumer.setScope(IScope scope)
Sets the scope for this consumer.
|
Constructor and Description |
---|
FileConsumer(IScope scope,
File file)
Creates file consumer
|
Constructor and Description |
---|
FileProvider(IScope scope,
File file)
Create file provider for given file and scope
|
Modifier and Type | Method and Description |
---|---|
static IScope |
ScopeUtils.findApplication(IScope from)
Returns the application scope for specified scope.
|
static IScope |
ScopeUtils.findRoot(IScope from)
Finds root scope for specified scope object.
|
static IScope |
ScopeUtils.resolveScope(IScope from,
String path)
Resolves scope for specified scope and path.
|
Modifier and Type | Method and Description |
---|---|
static IScope |
ScopeUtils.findApplication(IScope from)
Returns the application scope for specified scope.
|
static IScope |
ScopeUtils.findRoot(IScope from)
Finds root scope for specified scope object.
|
static Object |
ScopeUtils.getScopeService(IScope scope,
Class<?> intf)
Returns scope service that implements a given interface.
|
static Object |
ScopeUtils.getScopeService(IScope scope,
Class<?> intf,
boolean checkHandler) |
static Object |
ScopeUtils.getScopeService(IScope scope,
Class<?> intf,
Class<?> defaultClass)
Returns scope service that implements a given interface.
|
static Object |
ScopeUtils.getScopeService(IScope scope,
Class<?> intf,
Class<?> defaultClass,
boolean checkHandler) |
protected static Object |
ScopeUtils.getScopeService(IScope scope,
String name)
Returns scope service by bean name.
|
protected static Object |
ScopeUtils.getScopeService(IScope scope,
String name,
Class<?> defaultClass)
Returns scope services (e.g.
|
static IScope |
ScopeUtils.resolveScope(IScope from,
String path)
Resolves scope for specified scope and path.
|
Copyright © 2006-2012 The Red5 Project