Uses of Interface
org.red5.server.api.scope.IScope
Package
Description
-
Uses of IScope in io.antmedia
-
Uses of IScope in io.antmedia.console
Modifier and TypeMethodDescriptionAdminApplication.getRootScope()
private IScope
private IScope
AdminApplication.getScopes
(IGlobalScope root, String scopeName) Gt only application scopeModifier and TypeMethodDescriptionboolean
boolean
AdminApplication.connect
(IConnection conn, IScope scope, Object[] params) Returns connection result for given scope and parameters.void
AdminApplication.disconnect
(IConnection conn, IScope scope) Returns disconnection result for given scope and parameters.AdminApplication.getApplicationAdaptor
(IScope appScope) int
AdminApplication.getAppLiveStreamCount
(IScope appScope) int
AdminApplication.getVoDCount
(IScope appScope) -
Uses of IScope in io.antmedia.muxer
Modifier and TypeMethodDescriptionstatic File
Muxer.getPreviewFile
(IScope scope, String name, String extension) static File
Muxer.getRecordFile
(IScope scope, String name, String extension, String subFolder) Muxer.getResourceFile
(IScope scope, String name, String extension, String subFolder) static File
Muxer.getUserRecordFile
(IScope scope, String userVoDFolder, String name) void
Inits the file to write.boolean
void
Muxer.init
(IScope scope, String name, int resolution, boolean overrideIfExist, String subFolder, int bitrate) Init file name file format is NAME[-{DATETIME}][_{RESOLUTION_HEIGHT}p_{BITRATE}kbps].{EXTENSION} Datetime format is yyyy-MM-dd_HH-mm We are using "-" instead of ":" in HH:mm -> Stream filename must not contain ":" character.void
Inits the file to write.void
Inits the file to write.static MuxAdaptor
MuxAdaptor.initializeMuxAdaptor
(ClientBroadcastStream clientBroadcastStream, Broadcast broadcast, boolean isSource, IScope scope) -
Uses of IScope in io.antmedia.rest
-
Uses of IScope in io.antmedia.security
Modifier and TypeMethodDescriptionAcceptOnlyStreamsInDataStore.getAppAdaptor
(IScope scope) AcceptOnlyStreamsInDataStore.getLicenceService
(IScope scope) boolean
AcceptOnlyStreamsInDataStore.isPublishAllowed
(IScope scope, String name, String mode, Map<String, String> queryParams, String metaData) boolean
AcceptOnlyStreamsWithWebhook.isPublishAllowed
(IScope scope, String streamId, String mode, Map<String, String> queryParams, String metaData) boolean
ExpireStreamPublishSecurity.isPublishAllowed
(IScope scope, String name, String mode, Map<String, String> queryParams, String metaData) boolean
MockTokenService.isPublishAllowed
(IScope scope, String name, String mode, Map<String, String> queryParams, String metaData) -
Uses of IScope in io.antmedia.statistic
Modifier and TypeMethodDescriptionprivate static int
StatsCollector.getDASHViewers
(IScope scope) private static int
StatsCollector.getHLSViewers
(IScope scope) Modifier and TypeMethodDescriptionstatic com.google.gson.JsonObject
StatsCollector.getSystemResourcesInfo
(Queue<IScope> scopes) void
StatsCollector.sendInstanceStats
(Queue<IScope> scopes) void
-
Uses of IScope in io.antmedia.streamsource
Modifier and TypeFieldDescriptionprivate IScope
StreamFetcher.scope
private IScope
StreamFetcherManager.scope
Modifier and TypeMethodDescriptionvoid
ModifierConstructorDescriptionStreamFetcher
(String streamUrl, String streamId, String streamType, IScope scope, io.vertx.core.Vertx vertx, long seekTimeInMs) StreamFetcherManager
(io.vertx.core.Vertx vertx, DataStore datastore, IScope scope) -
Uses of IScope in org.red5.server
Modifier and TypeFieldDescriptionprivate IScope
Server.ScopeCreatedJob.scope
private IScope
Server.ScopeRemovedJob.scope
Modifier and TypeMethodDescriptionBaseConnection.getScope()
Return the current scope.Context.getScope()
Return scopeContext.resolveScope
(String path) Resolves scope using scope resolver collaboratorContext.resolveScope
(String host, String path) Resolve scope from host and pathContext.resolveScope
(IScope root, String path) Resolves scope from given root using scope resolver.Modifier and TypeMethodDescriptionboolean
Connect to another scope on serverboolean
Connect to another scope on server with given parametersboolean
CoreHandler.connect
(IConnection conn, IScope scope) Connects client to the scopeboolean
CoreHandler.connect
(IConnection conn, IScope scope, Object[] params) Connects client to the scopevoid
CoreHandler.disconnect
(IConnection conn, IScope scope) Called just after the a connection is disconnected.Client.getConnections
(IScope scope) Return client connections to given scopeboolean
Called just before a client enters the scope.void
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.Context.resolveScope
(IScope root, String path) Resolves scope from given root using scope resolver.boolean
Called when a scope is created for the first time.void
Called just before a scope is disposed.ModifierConstructorDescription(package private)
ScopeCreatedJob
(IScope scope) (package private)
ScopeRemovedJob
(IScope scope) -
Uses of IScope in org.red5.server.adapter
Modifier and TypeFieldDescriptionprotected IScope
StatefulScopeWrappingAdapter.scope
Wrapped scopeModifier and TypeMethodDescriptionStatefulScopeWrappingAdapter.getChildScope
(String name) Return child scopeStatefulScopeWrappingAdapter.getParent()
Return parent scopeStatefulScopeWrappingAdapter.getScope()
Getter for wrapped scopeModifier and TypeMethodDescriptionboolean
boolean
Called every time client joins app level scopeboolean
void
void
Called every time client leaves the application scopevoid
Handler method.boolean
boolean
Called once when application or room startsboolean
Called once on scope (that is, application or application room) start.void
void
Called on application stopvoid
Handler method.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.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.MultiThreadedApplicationAdapter.getBroadcastStream
(IScope scope, String name) Get a broadcast stream by nameMultiThreadedApplicationAdapter.getBroadcastStreamNames
(IScope scope) Returns list of stream names broadcasted in scope.MultiThreadedApplicationAdapter.getOnDemandStream
(IScope scope, String name) Returns VOD stream with given name from specified scope.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 nameboolean
MultiThreadedApplicationAdapter.hasOnDemandStream
(IScope scope, String name) Check whether scope has VOD stream with given name or notboolean
Called just before a client enters the scope.boolean
Adds client to scope.boolean
Adds client to scope.void
Called just after the client leaves the scope.void
Disconnects client from scope.void
Disconnects client from scope.boolean
boolean
Called when user joins room scopeboolean
void
void
Called when user leaves room scopevoid
Handler method.boolean
boolean
Called on application room startboolean
Handler method.void
void
Called on room scope stopvoid
Handler method.void
Set the scope the object is located in.boolean
Called when a scope is created for the first time.boolean
Starts scope.boolean
Starts scope.void
Called just before a scope is disposed.void
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
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). -
Uses of IScope in org.red5.server.api
Modifier and TypeMethodDescriptionIConnection.getScope()
Get the scope this is connected to.Red5.getScope()
Get the scopeIContext.resolveScope
(String path) Returns scope by path.IContext.resolveScope
(IScope root, String path) Returns scope by path from given root.Modifier and TypeMethodDescriptionIClient.getScopes()
Get a set of scopes the client is connected to.Modifier and TypeMethodDescriptionboolean
Try to connect to the scope.boolean
Try to connect to the scope with a list of connection parameters.IClient.getConnections
(IScope scope) Get a set of connections of a given scope.IContext.resolveScope
(IScope root, String path) Returns scope by path from given root. -
Uses of IScope in org.red5.server.api.listeners
Modifier and TypeMethodDescriptionvoid
IScopeListener.notifyScopeCreated
(IScope scope) A scope has been created.void
IScopeListener.notifyScopeRemoved
(IScope scope) A scope has been removed. -
Uses of IScope in org.red5.server.api.scope
Modifier and TypeInterfaceDescriptioninterface
The global scope that acts as root for all applications in a host.Modifier and TypeMethodDescriptionIBasicScope.getParent()
Get this scopes parent.Return scope by nameIScopeResolver.resolveScope
(String path) Get the scope for a given path.IScopeResolver.resolveScope
(IScope root, String path) Get the scope for a given path from a root scope.Modifier and TypeMethodDescriptionboolean
Determines whether or not a given scope is allowed.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
IBasicScope.isScopeAllowed
(IScope scope) Provides a means to allow a scope to perform processing on another scope prior to additional scope handling.boolean
Called just before a client enters the scope.void
Called just after the client leaves the scope.IScopeResolver.resolveScope
(IScope root, String path) Get the scope for a given path from a root scope.void
Set the scope the object is located in.boolean
Called when a scope is created for the first time.void
Called just before a scope is disposed. -
Uses of IScope in org.red5.server.api.service
Modifier and TypeMethodDescriptionIBroadcastStreamService.getBroadcastStream
(IScope scope, String name) Get a broadcast stream by nameIBroadcastStreamService.getBroadcastStreamNames
(IScope scope) Get a set containing the names of all the broadcastsIOnDemandStreamService.getOnDemandStream
(IScope scope, String name) Get a stream that can be used for playback of the on-demand streamISubscriberStreamService.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 nameboolean
IOnDemandStreamService.hasOnDemandStream
(IScope scope, String name) Has the service an on-demand stream with the passed name?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) Deprecated.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.invokeOnAllScopeConnections
(IScope scope, String method, Object[] params, IPendingServiceCallback callback) Invoke a method on all connections of a 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) Deprecated.static void
ServiceUtils.notifyOnAllConnections
(IScope scope, String method, Object[] params) Deprecated.static void
ServiceUtils.notifyOnAllScopeConnections
(IScope scope, String method, Object[] params) Notify a method on all connections of a scope.static void
ServiceUtils.notifyOnClient
(IClient client, IScope scope, String method, Object[] params) Deprecated. -
Uses of IScope in org.red5.server.api.stream
Modifier and TypeMethodDescriptionIStream.getScope()
Get the scope this stream is associated with.Modifier and TypeMethodDescriptionIStreamFilenameGenerator.generateFilename
(IScope scope, String name, String extension, IStreamFilenameGenerator.GenerationType type, String subFolder) Generate a filename with an extension.IStreamFilenameGenerator.generateFilename
(IScope scope, String name, IStreamFilenameGenerator.GenerationType type) Generate a filename without an extension.IBroadcastStreamService.getBroadcastStream
(IScope scope, String name) Get a broadcast stream by nameIBroadcastStreamService.getBroadcastStreamNames
(IScope scope) Get a set containing the names of all the broadcastsIOnDemandStreamService.getOnDemandStream
(IScope scope, String name) Get a stream that can be used for playback of the on-demand streamISubscriberStreamService.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 nameboolean
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, Map<String, String> queryParams, String metaData) 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. -
Uses of IScope in org.red5.server.api.stream.support
Modifier and TypeMethodDescriptionstatic IServerStream
StreamUtils.createServerStream
(IScope scope, String name) Creates server streamstatic 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, Map<String, String> queryParams, String metaData) 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 mapstatic void
StreamUtils.removeServerStream
(IScope scope, String name) Removes a server stream from the stream map -
Uses of IScope in org.red5.server.exception
ModifierConstructorDescriptionScopeNotFoundException
(IScope scope, String childName) Create exception from given scope object and given child subscopeScopeShuttingDownException
(IScope scope) Create exception from given scope object -
Uses of IScope in org.red5.server.jmx.mxbeans
Modifier and TypeMethodDescriptionContextMXBean.getGlobalScope()
ContextMXBean.getScope()
ContextMXBean.resolveScope
(String path) ContextMXBean.resolveScope
(String host, String path) ContextMXBean.resolveScope
(IScope root, String path) Modifier and TypeMethodDescriptionboolean
void
boolean
void
boolean
CoreHandlerMXBean.connect
(IConnection conn, IScope scope) boolean
CoreHandlerMXBean.connect
(IConnection conn, IScope scope, Object[] params) void
CoreHandlerMXBean.disconnect
(IConnection conn, IScope scope) boolean
void
ContextMXBean.resolveScope
(IScope root, String path) boolean
void
boolean
void
boolean
void
-
Uses of IScope in org.red5.server.net.rtmp
-
Uses of IScope in org.red5.server.scope
Modifier and TypeClassDescriptionclass
Global scope is a top level scope.class
Represents a subscope to other scopes.class
The scope object.class
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 TypeFieldDescriptionprotected IScope
BasicScope.parent
Parent scope.private IScope
Scope.Builder.parent
Modifier and TypeMethodDescriptionBasicScope.getParent()
Get this scopes parent.Scope.getParent()
Return parent scopeReturn child scope by nameScopeResolver.resolveScope
(String path) Return scope associated with given pathScopeResolver.resolveScope
(IScope root, String path) Return scope associated with given path from given root scope.Modifier and TypeMethodDescriptionboolean
boolean
BasicScope.isScopeAllowed
(IScope scope) Provides a means to allow a scope to perform processing on another scope prior to additional scope handling.ScopeResolver.resolveScope
(IScope root, String path) Return scope associated with given path from given root scope.void
Setter for parent scope -
Uses of IScope in org.red5.server.service
Modifier and TypeMethodDescriptionprivate Object
ServiceInvoker.getServiceHandler
(IScope scope, String serviceName) Lookup a handler for the passed service name in the given scope.boolean
ServiceInvoker.invoke
(IServiceCall call, IScope scope) Execute the passed service call in the given scope.ContextServiceResolver.resolveService
(IScope scope, String serviceName) Search for a service with the given name in the scope.HandlerServiceResolver.resolveService
(IScope scope, String serviceName) Search for a service with the given name in the scope.IServiceResolver.resolveService
(IScope scope, String serviceName) Search for a service with the given name in the scope.ScopeServiceResolver.resolveService
(IScope scope, String serviceName) Search for a service with the given name in the scope. -
Uses of IScope in org.red5.server.statistics
-
Uses of IScope in org.red5.server.stream
Modifier and TypeMethodDescriptionDefaultStreamFilenameGenerator.generateFilename
(IScope scope, String name, String extension, IStreamFilenameGenerator.GenerationType type, String subFolder) Generate a filename with an extension.DefaultStreamFilenameGenerator.generateFilename
(IScope scope, String name, IStreamFilenameGenerator.GenerationType type) Generate a filename without an extension.StreamService.getBroadcastScope
(IScope scope, String name) Return broadcast scope object for given scope and child scope name.IProviderService.getBroadcastStreamNames
(IScope scope) Get names of existing broadcast streams in a scope.ProviderService.getBroadcastStreamNames
(IScope scope) Get names of existing broadcast streams in a scope.IProviderService.getLiveProviderInput
(IScope scope, String name, boolean needCreate) Get a named Live provider as the source of input.ProviderService.getLiveProviderInput
(IScope scope, String name, boolean needCreate) Get a named Live provider as the source of input.IProviderService.getProviderInput
(IScope scope, String name) Get a named provider as the source of input.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.static File
RecordingListener.getRecordFile
(IScope scope, String name) Get the file we'd be recording to based on scope and given name.private String
DefaultStreamFilenameGenerator.getStreamDirectory
(IScope scope) Generate stream directory based on relative scope path.private File
ProviderService.getStreamFile
(IScope scope, String name) IProviderService.getVODProviderFile
(IScope scope, String name) Get a named VOD source file.ProviderService.getVODProviderFile
(IScope scope, String name) Get a named VOD source file.IProviderService.getVODProviderInput
(IScope scope, String name) Get a named VOD provider as the source of input.ProviderService.getVODProviderInput
(IScope scope, String name) Get a named VOD provider as the source of input.boolean
Initialize the listener.boolean
Initialize the listener.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.lookupProviderInput
(IScope scope, String name, int type) Returns the input type for a named provider if a source of input exists.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
Setter for scope.boolean
IProviderService.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) 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. -
Uses of IScope in org.red5.server.stream.consumer
Modifier and TypeMethodDescriptionvoid
Sets the scope for this consumer. -
Uses of IScope in org.red5.server.stream.provider
ModifierConstructorDescriptionFileProvider
(IScope scope, File file) Create file provider for given file and scope -
Uses of IScope in org.red5.server.util
Modifier and TypeMethodDescriptionstatic IScope
ScopeUtils.findApplication
(IScope from) Returns the application scope for specified scope.static IScope
Finds root scope for specified scope object.static IScope
ScopeUtils.resolveScope
(IScope from, String path) Resolves scope for specified scope and path.Modifier and TypeMethodDescriptionstatic IScope
ScopeUtils.findApplication
(IScope from) Returns the application scope for specified scope.static IScope
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.
ServiceUtils.invokeOnAllScopeConnections(IScope, String, Object[], IPendingServiceCallback)
instead