Package org.red5.server.api.stream
Interface IStreamPlaybackSecurity
public interface IStreamPlaybackSecurity
Interface for handlers that control access to stream playback.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisPlaybackAllowed(IScope scope, String name, int start, int length, boolean flushPlaylist) Check if playback of a stream with the given name is allowed.
-
Method Details
-
isPlaybackAllowed
Check if playback of a stream with the given name is allowed.- Parameters:
scope- Scope the stream is about to be played back from.name- Name of the stream to play.start- Position to start playback from (in milliseconds).length- Duration to play (in milliseconds).flushPlaylist- Flush playlist?- Returns:
True
if playback is allowed, otherwiseFalse
-