CallServiceCallStartRequested Event |
Occurs when the application is informed of a new video call creation request
from a third-party call control application or 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: 550.0.60.0
Syntaxpublic event EventHandler<StartCallRequestEventArgs> CallStartRequested
Value
Type:
SystemEventHandlerStartCallRequestEventArgs
Remarks
The event argument provides information on the direction of video
requested for the new call. Upon receiving this event, the application
should initialize video resources (e.g., video rendering surface,
camera, etc.) and call Start() on the call object.
This event is not reported for an incoming audio call creation request, as
the audio call creation request is automatically handled by the Client SDK,
using the user-selected (or default) microphone and playback devices.
For video calls, because the video rendering surface is directly under the client
application's control, incoming video call requests cannot be automatically
handled by the Client SDK.
If the incoming video call request is for a bidirectional video call, but the
local camera device cannot be initialized, the client application should proceed
with establishing a receive-only video call by first calling
call.SetVideoMode(VideoMode.ReceiveOnly), and then call.Start().
If, for some reason, the client application is unable to create a receive-only
video call, it should proceed with creating an audio-only call, by first calling
call.SetVideoMode(VideoMode.Disable), and then call.Start().
Failure to create a call will result in timeout of the network request and
will cause call setup failure at the controlling application.
See Also