Class: VideoChannel

Constructor

new VideoChannel()

Interface representing information associated with a video channel. For a two-party call, there may be a single video channel instance representing the bi-directional video stream. For a video conference call, there may be multiple video channel instances representing transmit-only and two or more receive-only video streams (AAC continuous presence video conference call).

Members

_cameraDenialReason :AvayaClientServices.Base.MediaStreamError

Type:

Methods

getCameraDenialReason() → {AvayaClientServices.Base.MediaStreamError}

Returns the camera denial reason.

Returns:

getChannelId() → {number}

Returns ID of the video channel.

Returns:
{ number }

ID of the video channel.

getNegotiatedDirection() → {AvayaClientServices.Services.Call.MediaDirection}

Returns the media direction of the video channel.

Returns:
{ AvayaClientServices.Services.Call.MediaDirection }

Media direction of the video channel.

getNegotiatedResolution() → {AvayaClientServices.Base.VideoResolution}

Returns the negotiated resolution of the video channel.

Returns:
{ AvayaClientServices.Base.VideoResolution }

Negotiated resolution of the video channel.

getPreferredReceiveResolution() → {AvayaClientServices.Config.VideoResolution}

Returns the preferred received video resolution

Returns:

getPreferredResolution() → {AvayaClientServices.Config.VideoResolution}

Returns the preferred video resolution

Returns:

getRequestedDirection() → {AvayaClientServices.Services.Call.MediaDirection}

Returns the requested media direction of the video channel.

Returns:
{ AvayaClientServices.Services.Call.MediaDirection }

Requested media direction of the video channel.

getUpdatePreferredReceiveResolutionCapability() → {AvayaClientServices.Services.Call.Capabilities.UpdatePreferredReceiveResolutionCapability}

Returns the update preferred receive resolution capability

Returns:
{ AvayaClientServices.Services.Call.Capabilities.UpdatePreferredReceiveResolutionCapability }

getVideoDisabledReason() → {AvayaClientServices.Services.Call.VideoChannelDisabledReason}

Returns the reason for disabling a video channel.

Returns:
{ AvayaClientServices.Services.Call.VideoChannelDisabledReason }

Reason for disabling a video channel.

isCameraAccessDenied() → {boolean}

Returns a flag indicating whether the camera access permission is denied.

Returns:
{ boolean }

True if camera access is denied, or false otherwise.

isDisabled() → {boolean}

Returns a flag indicating whether this video channel is disabled.

Returns:
{ boolean }

True if this video channel is disabled, or false otherwise.

setPreferredReceiveResolution(resolution) → {AvayaClientServices.Base.Promise}

Sets the preferred incoming video resolution

Parameters:
Name Type Description
resolution AvayaClientServices.Config.VideoResolution
Returns:

setPreferredResolution(resolution) → {AvayaClientServices.Base.Promise.<AvayaClientServices.Config.VideoResolution>}

Sets the preferred incoming and outgoing video resolution

Parameters:
Name Type Description
resolution AvayaClientServices.Config.VideoResolution
Returns:
©2016 Avaya Inc. All Rights Reserved.