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

    Modifier and Type
    Method
    Description
    boolean
    isPublishAllowed(IScope scope, String name, String mode, Map<String,String> queryParams, String metaData)
    Check if publishing a stream with the given name is allowed.
  • Method Details

    • isPublishAllowed

      boolean isPublishAllowed(IScope scope, String name, String mode, Map<String,String> queryParams, String metaData)
      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, otherwise
       False