Click or drag to resize
CallRemoteControlVideoModeRequested Event
Occurs when the application is informed of a video mode change request received from the user's other endpoint which is controlling this application instance in Shared Control mode (see EnableAsControlledEndpoint).

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 493.0.70.0
Syntax
C#
public event EventHandler<VideoModeEventArgs> RemoteControlVideoModeRequested

Value

Type: SystemEventHandlerVideoModeEventArgs
Remarks

It should be noted that video mode change requests cannot be automatically handled by Client SDK, because video rendering surface and camera device are directly under the client application's control.

The event argument provides information on the direction of video requested for the call. Upon receiving this event, the application should initialize or cleanup video resources as required (e.g., video rendering surface, camera, etc.) and call SetVideoMode(VideoMode, CallCallCompletionHandler) on the call object with the requested video mode.

If the video mode request is for enabling bidirectional video on the audio-only call, but local camera device cannot be initialized, the client application should enable receive-only video for the call by calling call.SetVideoMode(VideoMode.ReceiveOnly). If, for some reason, the client application is unable to even receive and render video, it may ignore this request and keep the call as audio-only.

If the video mode request is for enabling bidirectional video on the receive-only video call, but local camera device cannot be initialized, the client application should ignore this request and keep the call with receive-only video.

See Also