Package org.red5.server.api.stream
Interface IStreamPublishSecurity
- All Known Implementing Classes:
AcceptOnlyStreamsInDataStore
,AcceptOnlyStreamsWithWebhook
,DenyAllStreamAccess
,ExpireStreamPublishSecurity
,MockTokenService
public interface IStreamPublishSecurity
Interface for handlers that control access to stream publishing.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
-
Method Summary
-
Method Details
-
isPublishAllowed
boolean isPublishAllowed(IScope scope, String name, String mode, Map<String, String> queryParams, String metaData, String token, String subscriberId, String subscriberCode) 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.queryParams
-metaData
-token
-subscriberId
-subscriberCode
-- Returns:
True
if publishing is allowed, otherwise
False
-