org.exoplatform.services.videocall
Class VideoCallService

java.lang.Object
  extended by org.exoplatform.services.videocall.VideoCallService

public class VideoCallService
extends Object


Field Summary
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 Summary
VideoCallService()
          Method constructor
 
Method Summary
 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.
 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.
 void saveVideoCallProfile(VideoCallModel videoCallModel)
          Stores a VideoCalls Profile in a repository with given properties.
 void setTokenKey(String newTokenKey)
          Set token key into VideoCalls Profile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIDEO_PROFILE_KEY

public static String VIDEO_PROFILE_KEY

BASE_PATH

public static String BASE_PATH

VIDEOCALL_BASE_PATH

public static String VIDEOCALL_BASE_PATH

VIDEOCALL_NODETYPE

public static String VIDEOCALL_NODETYPE

DISABLEVIDEOCALL_PROP

public static String DISABLEVIDEOCALL_PROP

WEEMOKEY_PROP

public static String WEEMOKEY_PROP

VIDEO_PERMISSIONS_PROP

public static String VIDEO_PERMISSIONS_PROP

VIDEO_PASSPHARSE

public static String VIDEO_PASSPHARSE

VIDEO_AUTH_ID

public static String VIDEO_AUTH_ID

VIDEO_AUTH_SECRET

public static String VIDEO_AUTH_SECRET

VIDEO_P12_CERT_NODE_NAME

public static String VIDEO_P12_CERT_NODE_NAME

VIDEO_PEM_CERT_NODE_NAME

public static String VIDEO_PEM_CERT_NODE_NAME

VIDEO_CERT_MIXIN_NAME

public static String VIDEO_CERT_MIXIN_NAME

VIDEO_PROFILE_ID

public static String VIDEO_PROFILE_ID

VIDEO_DOMAIN_ID

public static String VIDEO_DOMAIN_ID

WORKSPACE_NAME

protected static final String WORKSPACE_NAME
See Also:
Constant Field Values
Constructor Detail

VideoCallService

public VideoCallService()
Method constructor

Method Detail

getTokenKey

public String getTokenKey()
Get token key from VideoCalls Profile

Returns:
token key.

setTokenKey

public void setTokenKey(String newTokenKey)
Set token key into VideoCalls Profile

Parameters:
newTokenKey - The token key's value.

saveVideoCallProfile

public void saveVideoCallProfile(VideoCallModel videoCallModel)
Stores a VideoCalls Profile in a repository with given properties. *

Parameters:
videoCallModel - contains properties of VideoCalls Profile.

getP12CertInputStream

public InputStream getP12CertInputStream()
Get P12 certificate from VideoCalls Profile.

Returns:
InputStream object for P12 certificate file.

getPemCertInputStream

public InputStream getPemCertInputStream()
Get PEM certificate from VideoCalls Profile.

Returns:
InputStream object for PEM certificate file.

getVideoCallProfile

public VideoCallModel getVideoCallProfile()
Get VideoCalls Profile.

Returns:
VideoCallModel object that represents for VideoCalls Profile.

getWeemoKey

public String getWeemoKey()
Get Weemo key from VideoCalls Profile.

Returns:
Weemo key.

isExistVideoCallProfile

public boolean isExistVideoCallProfile()
Check if VideoCalls Profile is exist or not

Returns:
true if VideoCalls is exist.

isTurnOffVideoCall

public boolean isTurnOffVideoCall()
                           throws Exception
Check if VideoCalls is turn off or not

Returns:
true if VideoCalls is turn off.
Throws:
Exception

isTurnOffVideoCallForUser

public boolean isTurnOffVideoCallForUser()
                                  throws Exception
Check if VideoCalls is turn off or not for current user.

Returns:
true if VideoCalls is turn off.
Throws:
Exception

isTurnOffVideoCallForUser

public boolean isTurnOffVideoCallForUser(boolean isGroupCall)
                                  throws Exception
Check if VideoCalls is turn off or not for current user.

Parameters:
isGroupCall - true: check for Video Group call; false: check for 1:1 call
Returns:
true if VideoCalls is turn off.
Throws:
Exception


Copyright © 2003–2015 eXo Platform SAS. All rights reserved.