org.red5.server.stream
public class RtmpSampleAccess extends Object implements IRtmpSampleAccess
IRtmpSampleAccess
BEAN_NAME
Constructor and Description |
---|
RtmpSampleAccess() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAudioAllowed(IScope scope)
Return true if sample access allowed on audio stream
|
boolean |
isVideoAllowed(IScope scope)
Return true if sample access allowed on video stream
|
void |
setAudioAllowed(boolean permission)
Setter audioAllowed
|
void |
setVideoAllowed(boolean permission)
Setter videoAllowed
|
public void setAudioAllowed(boolean permission)
permission
- public void setVideoAllowed(boolean permission)
permission
- public boolean isAudioAllowed(IScope scope)
isAudioAllowed
in interface IRtmpSampleAccess
public boolean isVideoAllowed(IScope scope)
isVideoAllowed
in interface IRtmpSampleAccess
Copyright © 2006-2012 The Red5 Project