Show / Hide Table of Contents

Local Media Calls

Local media calls are those calls in which the bot manages the call's video and audio sockets. The bots send and receive raw audio and video data over the network.

Describing the Call

  1. Create the implementations for ISignalingHandler to handle the events on the call.
  2. Use the CreateCallAsync method on the ICallService object in the IEnterprisePlatform instance. This CreateCallAsync method takes multiple optional parameters that can be provided when creating the call object. Alternatively, the call can be initialized when an incoming call event is triggered.
  3. When a new call has been detected by the SDK, the ICallService will trigger the CallInitializedAsync method on the ICallServiceHandler implementation of the bot. In this method, we create an instance of the ISignalingHandler and the IMediaSession interfaces to populate the CallDescription object.
  4. The local media call is now completely initialized and you can do further actions on the call.
Important

The CallInitializedAsync method will be called on the ICallServiceHandler interfaces any time the bot tries to create a new call.

  • Improve this Doc
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX