Class WebrtcProvider

  • All Implemented Interfaces:
    org.exoplatform.container.component.ComponentPlugin

    public class WebrtcProvider
    extends org.exoplatform.webconferencing.CallProvider
    Created by The eXo Platform SAS.
    Version:
    $Id: WebrtcProvider.java 00000 Aug 15, 2017 pnedonosko $
    Author:
    Peter Nedonosko
    • Field Detail

      • CONFIG_RTC_CONFIGURATION

        public static final String CONFIG_RTC_CONFIGURATION
        The Constant CONFIG_RTC_CONFIGURATION.
        See Also:
        Constant Field Values
      • WEBRTC_SCOPE_NAME

        protected static final String WEBRTC_SCOPE_NAME
        The Constant WEBRTC_SCOPE_NAME.
      • KEY_RTC_SETTINGS

        protected static final String KEY_RTC_SETTINGS
        The Constant KEY_RTC_SETTINGS.
      • LOG

        protected static final org.exoplatform.services.log.Log LOG
        The Constant LOG.
      • settingService

        protected final org.exoplatform.commons.api.settings.SettingService settingService
        The settings service.
      • resourceBundleService

        protected final org.exoplatform.services.resources.ResourceBundleService resourceBundleService
        The resource bundle service.
    • Constructor Detail

      • WebrtcProvider

        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
        Instantiates a new WebRTC provider.
        Parameters:
        params - the params
        settingService - the setting service
        resourceBundleService - the resource bundle service
        Throws:
        org.exoplatform.container.configuration.ConfigurationException - the configuration exception
    • Method Detail

      • getIMInfo

        public org.exoplatform.webconferencing.UserInfo.IMInfo getIMInfo​(String imId)
                                                                  throws org.exoplatform.webconferencing.CallProviderException
        Specified by:
        getIMInfo in class org.exoplatform.webconferencing.CallProvider
        Throws:
        org.exoplatform.webconferencing.CallProviderException
      • getVersion

        public String getVersion()
        Specified by:
        getVersion in class org.exoplatform.webconferencing.CallProvider
      • getType

        public String getType()
        Specified by:
        getType in class org.exoplatform.webconferencing.CallProvider
      • getSupportedTypes

        public String[] getSupportedTypes()
        Specified by:
        getSupportedTypes in class org.exoplatform.webconferencing.CallProvider
      • getTitle

        public String getTitle()
        Specified by:
        getTitle in class org.exoplatform.webconferencing.CallProvider
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface org.exoplatform.container.component.ComponentPlugin
        Overrides:
        getDescription in class org.exoplatform.webconferencing.CallProvider
      • getDescription

        public String getDescription​(Locale locale)
        Overrides:
        getDescription in class org.exoplatform.webconferencing.CallProvider
      • isLogEnabled

        public boolean isLogEnabled()
        Overrides:
        isLogEnabled in class org.exoplatform.webconferencing.CallProvider
      • isNotNull

        protected boolean isNotNull​(Object obj)
        Checks if is not null or JSON NULL.
        Parameters:
        obj - the obj
        Returns:
        true, if is null
      • logRemoteLogEnabled

        protected void logRemoteLogEnabled()
        Log remote log enabled.