Package org.red5.server.api.service
Interface IBroadcastStreamService
- All Known Implementing Classes:
AdminApplication,AntMediaApplicationAdapter,ApplicationAdapter,MultiThreadedApplicationAdapter
public interface IBroadcastStreamService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetBroadcastStream(IScope scope, String name) Get a broadcast stream by namegetBroadcastStreamNames(IScope scope) Get a set containing the names of all the broadcastsbooleanhasBroadcastStream(IScope scope, String name) Does the scope have a broadcast stream registered with a given name
-
Field Details
-
BROADCAST_STREAM_SERVICE
- See Also:
-
-
Method Details
-
hasBroadcastStream
Does the scope have a broadcast stream registered with a given name- Parameters:
scope- the scope to check for the streamname- name of the broadcast- Returns:
- true is a stream exists, otherwise false
-
getBroadcastStream
Get a broadcast stream by name- Parameters:
scope- the scope to return the stream fromname- the name of the broadcast- Returns:
- broadcast stream object
-
getBroadcastStreamNames
Get a set containing the names of all the broadcasts- Parameters:
scope- the scope to search for streams- Returns:
- set containing all broadcast names
-