Class: MediaServices

Constructor

new MediaServices(audioInterface, videoInterface, mediaServicesService)

MediaServices class provides functionality of the audio and video management.
It allows to access to either the audio interface or the video interface.

Parameters:
Name Type Description
audioInterface AvayaClientServices.Base.AudioInterface
videoInterface AvayaClientServices.Base.VideoInterface
mediaServicesService AvayaClientServices.Base.MediaServicesService

Methods

getAudioInterface() → {AvayaClientServices.Base.AudioInterface}

Returns an object encapsulating audio related functions.

Returns:

getVideoInterface() → {AvayaClientServices.Base.VideoInterface}

Returns an object encapsulating video related functions.

Returns:

start(retrieveDeviceLabelsEnabled) → {AvayaClientServices.Base.Promise}

Starts media services.

Parameters:
Name Type Description
retrieveDeviceLabelsEnabled boolean
Returns:

stop() → {AvayaClientServices.Base.Promise.<(undefined|undefined)>}

Stops media services.

Returns:
{ AvayaClientServices.Base.Promise.<(undefined|undefined)> }
©2016 Avaya Inc. All Rights Reserved.