Show / Hide Table of Contents

Remote Media Calls

Remote media calls are those calls in which the bot offloads the media to the Microsoft infrastructure. This makes the bot much more lightweight, but it cannot access the raw audio/video streams.

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 list of supported Modalities to populate the CallDescription object.
  4. The remote 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