Class StreamProcessor
- java.lang.Object
-
- org.apache.openmeetings.core.remote.StreamProcessor
-
- All Implemented Interfaces:
IStreamProcessor
@Component public class StreamProcessor extends Object implements IStreamProcessor
-
-
Constructor Summary
Constructors Constructor Description StreamProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Collection<KStream>getStreams()booleanhasRightsToRecord(Client c)booleanhasRightsToShare(Client c)booleanhasStream(String uid)booleanisRecording(Long roomId)booleanisSharing(Long roomId)protected static com.github.openjson.JSONObjectnewStoppedMsg(Client.StreamDesc sd)booleanrecordingAllowed(Client c)voidrelease(AbstractStream stream, boolean releaseStream)voidrightsUpdated(Client c)booleanscreenShareAllowed(Client c)voidstartRecording(Client c)voidstopRecording(Client c)voidtoggleActivity(Client c, Client.Activity a)
-
-
-
Method Detail
-
toggleActivity
public void toggleActivity(Client c, Client.Activity a)
-
rightsUpdated
public void rightsUpdated(Client c)
-
hasRightsToShare
public boolean hasRightsToShare(Client c)
-
screenShareAllowed
public boolean screenShareAllowed(Client c)
-
isSharing
public boolean isSharing(Long roomId)
-
hasRightsToRecord
public boolean hasRightsToRecord(Client c)
-
recordingAllowed
public boolean recordingAllowed(Client c)
-
startRecording
public void startRecording(Client c)
-
stopRecording
public void stopRecording(Client c)
-
isRecording
public boolean isRecording(Long roomId)
-
getStreams
public Collection<KStream> getStreams()
-
hasStream
public boolean hasStream(String uid)
-
release
public void release(AbstractStream stream, boolean releaseStream)
- Specified by:
releasein interfaceIStreamProcessor
-
destroy
public void destroy()
- Specified by:
destroyin interfaceIStreamProcessor
-
newStoppedMsg
protected static com.github.openjson.JSONObject newStoppedMsg(Client.StreamDesc sd)
-
-