public class VideoCallService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_PATH |
static String |
DISABLEVIDEOCALL_PROP |
static String |
VIDEO_AUTH_ID |
static String |
VIDEO_AUTH_SECRET |
static String |
VIDEO_CERT_MIXIN_NAME |
static String |
VIDEO_DOMAIN_ID |
static String |
VIDEO_P12_CERT_NODE_NAME |
static String |
VIDEO_PASSPHARSE |
static String |
VIDEO_PEM_CERT_NODE_NAME |
static String |
VIDEO_PERMISSIONS_PROP |
static String |
VIDEO_PROFILE_ID |
static String |
VIDEO_PROFILE_KEY |
static String |
VIDEOCALL_BASE_PATH |
static String |
VIDEOCALL_NODETYPE |
static String |
WEEMOKEY_PROP |
protected static String |
WORKSPACE_NAME |
| Constructor and Description |
|---|
VideoCallService()
Method constructor
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getFullName(String userId) |
InputStream |
getP12CertInputStream()
Get P12 certificate from VideoCalls Profile.
|
InputStream |
getPemCertInputStream()
Get PEM certificate from VideoCalls Profile.
|
String |
getTokenKey()
Get token key from VideoCalls Profile
|
VideoCallModel |
getVideoCallProfile()
Get VideoCalls Profile.
|
String |
getWeemoKey()
Get Weemo key from VideoCalls Profile.
|
static boolean |
isCloudRunning() |
boolean |
isExistVideoCallProfile()
Check if VideoCalls Profile is exist or not
|
boolean |
isTurnOffVideoCall()
Check if VideoCalls is turn off or not
|
boolean |
isTurnOffVideoCallForUser()
Check if VideoCalls is turn off or not for current user.
|
boolean |
isTurnOffVideoCallForUser(boolean isGroupCall)
Check if VideoCalls is turn off or not for current user.
|
boolean |
isTurnOffVideoCallForUser(boolean isGroupCall,
String user)
Check if VideoCalls is turn off or not for current user.
|
void |
saveVideoCallProfile(VideoCallModel videoCallModel)
Stores a VideoCalls Profile in a repository with given properties.
|
void |
setTokenKey(String newTokenKey)
Set token key into VideoCalls Profile
|
public static String VIDEO_PROFILE_KEY
public static String BASE_PATH
public static String VIDEOCALL_BASE_PATH
public static String VIDEOCALL_NODETYPE
public static String DISABLEVIDEOCALL_PROP
public static String WEEMOKEY_PROP
public static String VIDEO_PERMISSIONS_PROP
public static String VIDEO_PASSPHARSE
public static String VIDEO_AUTH_ID
public static String VIDEO_AUTH_SECRET
public static String VIDEO_P12_CERT_NODE_NAME
public static String VIDEO_PEM_CERT_NODE_NAME
public static String VIDEO_CERT_MIXIN_NAME
public static String VIDEO_PROFILE_ID
public static String VIDEO_DOMAIN_ID
protected static final String WORKSPACE_NAME
public String getTokenKey()
public void setTokenKey(String newTokenKey)
newTokenKey - The token key's value.public void saveVideoCallProfile(VideoCallModel videoCallModel)
videoCallModel - contains properties of VideoCalls Profile.public InputStream getP12CertInputStream()
public InputStream getPemCertInputStream()
public VideoCallModel getVideoCallProfile()
public String getWeemoKey()
public boolean isExistVideoCallProfile()
public boolean isTurnOffVideoCall()
throws Exception
Exceptionpublic boolean isTurnOffVideoCallForUser()
throws Exception
Exceptionpublic boolean isTurnOffVideoCallForUser(boolean isGroupCall)
throws Exception
isGroupCall - true: check for Video Group call; false: check for 1:1 callExceptionpublic boolean isTurnOffVideoCallForUser(boolean isGroupCall,
String user)
throws Exception
isGroupCall - true: check for Video Group call; false: check for 1:1 calluser - user to checkExceptionpublic static boolean isCloudRunning()
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.