Class KRoom
- java.lang.Object
-
- org.apache.openmeetings.core.remote.KRoom
-
public class KRoom extends Object
Dynamically created object representing a conference room on the MediaServer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()LonggetRecordingId()com.github.openjson.JSONObjectgetRecordingUser()RoomgetRoom()com.github.openjson.JSONObjectgetSharingUser()longgetSipCount()booleanisRecording()booleanisSharing()This method will return true, even if the sharing is not enabled.KStreamjoin(Client.StreamDesc sd)voidonStopBroadcast(KStream stream)voidstartRecording(Client c)voidstartSharing(Client c, Optional<Client.StreamDesc> osd, com.github.openjson.JSONObject msg, Client.Activity a)voidstopRecording(Client c)voidstopSharing()voidupdateSipCount(long count)
-
-
-
Constructor Detail
-
KRoom
public KRoom(Room r)
-
-
Method Detail
-
getRoom
public Room getRoom()
-
getRecordingId
public Long getRecordingId()
-
join
public KStream join(Client.StreamDesc sd)
-
onStopBroadcast
public void onStopBroadcast(KStream stream)
-
isRecording
public boolean isRecording()
-
getRecordingUser
public com.github.openjson.JSONObject getRecordingUser()
-
startRecording
public void startRecording(Client c)
-
stopRecording
public void stopRecording(Client c)
-
isSharing
public boolean isSharing()
This method will return true, even if the sharing is not enabled. But just recording. Cause in order to record you need to have a Screensharing enabled. Doesn't mean that other users see that screenshare yet (permissions have not been granted).- Returns:
-
getSharingUser
public com.github.openjson.JSONObject getSharingUser()
-
startSharing
public void startSharing(Client c, Optional<Client.StreamDesc> osd, com.github.openjson.JSONObject msg, Client.Activity a)
-
stopSharing
public void stopSharing()
-
close
public void close()
-
updateSipCount
public void updateSipCount(long count)
-
getSipCount
public long getSipCount()
-
-