Graph Communications Calling SDK
The Calling components can be found in the Microsoft.Graph.Communications.Calls namespace.
State Management
The Graph Communications Calling SDK exposes a different set of APIs to manage states of resources in memory. Bots built using this SDK need to register event handlers for each newly created resource in order to be informed of any changes happening on that resource. The strengths and limitations of each are further explained in the State Management article.
Media Session
For calls with locally hosted media the ICallCollection has an extended AddAsync method which expects an IMediaSession object. This object contains the IAudioSocket
and IVideoSocket
composition. The IMediaSession
also knows how to construct the MediaConfiguration required by the back end services to enable the AV stream to flow through the call instance.
A Media Extension SDK has been added on top of this SDK to support locally hosted media scenarios. To use this extension the ICommunicationsClient
must be built with MediaCommunicationsClientBuilderExtensions.SetMediaPlatformSettings. The MediaCommunicationsClientExtensions.CreateMediaSession extension method facilitates the creation of IMediaSession
objects.
Please see the calls with locally hosted media article for more information on the IMediaSession object.
Select a class on the left to dive into the reference docs
Accompanying Information
Accessing the Microsoft Teams Service through a Microsoft API Cloud Video Interop (CVI) partners and contact centers may integrate with Microsoft Teams to aid their solution. Contact centers may route calls to Microsoft Teams but may not build a separate or independent communications related solution while using Microsoft Teams as a base for the solution.