public class WebrtcProvider
extends org.exoplatform.webconferencing.CallProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
WebrtcProvider.DefaultICEServer
The Class DefaultICEServer.
|
static class |
WebrtcProvider.ICEServer
The Class ICEServer.
|
static class |
WebrtcProvider.RTCConfiguration
The Class RTCConfiguration.
|
class |
WebrtcProvider.SettingsBuilder
The Class SettingsBuilder.
|
class |
WebrtcProvider.WebrtcSettings
The Class WebrtcSettings.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_RTC_CONFIGURATION
The Constant CONFIG_RTC_CONFIGURATION.
|
protected static String |
KEY_RTC_SETTINGS
The Constant KEY_RTC_SETTINGS.
|
protected static org.exoplatform.services.log.Log |
LOG
The Constant LOG.
|
protected org.exoplatform.services.resources.ResourceBundleService |
resourceBundleService
The resource bundle service.
|
protected WebrtcProvider.RTCConfiguration |
rtcConfiguration
The rtc configuration.
|
protected org.exoplatform.commons.api.settings.SettingService |
settingService
The settings service.
|
static String |
VERSION
The Constant VERSION.
|
protected static String |
WEBRTC_SCOPE_NAME
The Constant WEBRTC_SCOPE_NAME.
|
static String |
WEBRTC_TITLE
The Constant WEBRTC_TITLE.
|
static String |
WEBRTC_TYPE
The Constant WEBRTC_TYPE.
|
| Constructor and Description |
|---|
WebrtcProvider(org.exoplatform.container.xml.InitParams params,
org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.services.resources.ResourceBundleService resourceBundleService)
Instantiates a new WebRTC provider.
|
equals, hashCode, isActive, isSupportedTypepublic static final String WEBRTC_TYPE
public static final String WEBRTC_TITLE
public static final String CONFIG_RTC_CONFIGURATION
protected static final String WEBRTC_SCOPE_NAME
protected static final String KEY_RTC_SETTINGS
public static final String VERSION
protected static final org.exoplatform.services.log.Log LOG
protected final org.exoplatform.commons.api.settings.SettingService settingService
protected final org.exoplatform.services.resources.ResourceBundleService resourceBundleService
protected WebrtcProvider.RTCConfiguration rtcConfiguration
public WebrtcProvider(org.exoplatform.container.xml.InitParams params,
org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.services.resources.ResourceBundleService resourceBundleService)
throws org.exoplatform.container.configuration.ConfigurationException
params - the paramssettingService - the setting serviceresourceBundleService - the resource bundle serviceorg.exoplatform.container.configuration.ConfigurationException - the configuration exceptionpublic WebrtcProvider.RTCConfiguration getRtcConfiguration()
public void saveRtcConfiguration(WebrtcProvider.RTCConfiguration conf) throws Exception
conf - the confException - the exceptionpublic WebrtcProvider.SettingsBuilder settings()
public org.exoplatform.webconferencing.UserInfo.IMInfo getIMInfo(String imId) throws org.exoplatform.webconferencing.CallProviderException
getIMInfo in class org.exoplatform.webconferencing.CallProviderorg.exoplatform.webconferencing.CallProviderExceptionpublic String getVersion()
getVersion in class org.exoplatform.webconferencing.CallProviderpublic String getType()
getType in class org.exoplatform.webconferencing.CallProviderpublic String[] getSupportedTypes()
getSupportedTypes in class org.exoplatform.webconferencing.CallProviderpublic String getTitle()
getTitle in class org.exoplatform.webconferencing.CallProviderpublic String getDescription()
getDescription in interface org.exoplatform.container.component.ComponentPlugingetDescription in class org.exoplatform.webconferencing.CallProviderpublic String getDescription(Locale locale)
getDescription in class org.exoplatform.webconferencing.CallProviderpublic boolean isLogEnabled()
isLogEnabled in class org.exoplatform.webconferencing.CallProviderpublic WebrtcProvider.RTCConfiguration jsonToRtcConfig(org.json.JSONObject json) throws Exception
json - the jsonException - the exceptionpublic org.json.JSONObject rtcConfigToJson(WebrtcProvider.RTCConfiguration rtcConf) throws Exception
rtcConf - the rtc confException - the exceptionprotected void saveRtcConfig(WebrtcProvider.RTCConfiguration conf) throws Exception
conf - the confException - the exceptionprotected WebrtcProvider.RTCConfiguration readRtcConfig() throws Exception
Exception - the exceptionprotected boolean isNotNull(Object obj)
null or JSON NULL.obj - the objprotected void logRemoteLogEnabled()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.