public interface IStreamPlaybackSecurity
Modifier and Type | Method and Description |
---|---|
boolean |
isPlaybackAllowed(IScope scope,
String name,
int start,
int length,
boolean flushPlaylist)
Check if playback of a stream with the given name is allowed.
|
boolean isPlaybackAllowed(IScope scope, String name, int start, int length, boolean flushPlaylist)
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?Trueif playback is allowed, otherwise
False
Copyright © 2005–2019 Red5. All rights reserved.