Class KurentoHandler
- java.lang.Object
-
- org.apache.openmeetings.core.remote.KurentoHandler
-
@Component public class KurentoHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description KurentoHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanactivityAllowed(Client c, Client.Activity a, Room room)voiddestroy()org.kurento.client.CertificateKeyTypegetCertificateType()com.github.openjson.JSONObjectgetRecordingUser(Long roomId)Collection<KRoom>getRooms()com.github.openjson.JSONArraygetTurnServers(Client c)voidinit()voidleaveRoom(Client c)voidonMessage(IWsClient inClient, com.github.openjson.JSONObject msg)voidremove(IWsClient c)voidsendClient(String sid, com.github.openjson.JSONObject msg)static voidsendError(IWsClient c, String msg)voidsetCertificateType(String certificateType)voidupdateSipCount(Room r, long count)
-
-
-
Field Detail
-
PARAM_ICE
public static final String PARAM_ICE
- See Also:
- Constant Field Values
-
PARAM_CANDIDATE
public static final String PARAM_CANDIDATE
- See Also:
- Constant Field Values
-
MODE_TEST
public static final String MODE_TEST
- See Also:
- Constant Field Values
-
TAG_KUID
public static final String TAG_KUID
- See Also:
- Constant Field Values
-
TAG_MODE
public static final String TAG_MODE
- See Also:
- Constant Field Values
-
TAG_ROOM
public static final String TAG_ROOM
- See Also:
- Constant Field Values
-
TAG_STREAM_UID
public static final String TAG_STREAM_UID
- See Also:
- Constant Field Values
-
KURENTO_TYPE
public static final String KURENTO_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
@PostConstruct public void init()
-
destroy
@PreDestroy public void destroy()
-
onMessage
public void onMessage(IWsClient inClient, com.github.openjson.JSONObject msg)
-
getRecordingUser
public com.github.openjson.JSONObject getRecordingUser(Long roomId)
-
leaveRoom
public void leaveRoom(Client c)
-
sendClient
public void sendClient(String sid, com.github.openjson.JSONObject msg)
-
remove
public void remove(IWsClient c)
-
getRooms
public Collection<KRoom> getRooms()
-
updateSipCount
public void updateSipCount(Room r, long count)
-
activityAllowed
public static boolean activityAllowed(Client c, Client.Activity a, Room room)
-
getTurnServers
public com.github.openjson.JSONArray getTurnServers(Client c)
-
setCertificateType
@Value("${kurento.certificateType}") public void setCertificateType(String certificateType)
-
getCertificateType
public org.kurento.client.CertificateKeyType getCertificateType()
-
-