Package org.red5.server.api.stream
Interface IStreamPublishSecurity
- All Known Implementing Classes:
DenyAllStreamAccess
public interface IStreamPublishSecurity
Interface for handlers that control access to stream publishing.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isPublishAllowed
(IScope scope, String name, String mode) Check if publishing a stream with the given name is allowed.
-
Method Details
-
isPublishAllowed
Check if publishing a stream with the given name is allowed.- Parameters:
scope
- Scope the stream is about to be published in.name
- Name of the stream to publish.mode
- Publishing mode.- Returns:
True
if publishing is allowed, otherwiseFalse
-