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 audioInterfaceAvayaClientServices.Base.AudioInterface videoInterfaceAvayaClientServices.Base.VideoInterface mediaServicesServiceAvayaClientServices.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 retrieveDeviceLabelsEnabledboolean Returns:
-
stop() → {AvayaClientServices.Base.Promise.<(undefined|undefined)>}
-
Stops media services.
Returns:
{ AvayaClientServices.Base.Promise.<(undefined|undefined)> }