Forum Discussion
ADefWebserver
Apr 21, 2021Brass Contributor
I want to make a Blazor application that can make video calls
I want to make a Blazor application that can make video calls.
However, according to this page: SDKs and REST APIs for Azure Communication Services - An Azure Communication Services concept document | Microsoft Docs Azure.Communication.Calling uses "Proprietary transport" and the only example code is the "Azure Communication Calling client library for JavaScript"
ADefWebserver The Hero sample might be overkill to follow, it might be easier to look at the quickstart here: https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-video-calling
You'll need to interop to:
- Create the CallClient and CallAgent
- Init the DeviceManager
- Call callAgent.startCall()
- Respond to any event on the all (participant, or stream added)
- WalterLockhartCopper Contributor
manoskow-msft
shawnhenry
Can someone please tell me when the Azure Communication Services video calling for web SDK will be available to support C#?- manoskow-msft
Microsoft
Hey WalterLockhart - thanks for reaching out here again - I don't have a good answer for you since this feature isn't currently being worked on. I'll update this thread if things change - regardless we really appreciate you participating in the forum and providing us valuable feedback!
- JerryChen0221Copper ContributorAny update now? Thank you.
- shawnhenry
Microsoft
ADefWebserver Our video calling for web SDK is only supported as a Javascript library at this time. You can still write your application in Blazor, but use the JSInterop support in Blazor for situations where you need to call, or move data, between Blazor and JS code.
There's more info here: https://docs.microsoft.com/en-us/aspnet/core/blazor/call-javascript-from-dotnet?view=aspnetcore-5.0
- WaltDogCopper Contributorshawnhenry That is the BIG advantage / attraction / promise of Blazor - C# in the browser; no JS. When will the video calling for web SDK be available as a non-Javascript library?
- ADefWebserverBrass Contributor
jorhiro7 , shawnhenry - I am prepared to make JavaScript calls from Blazor (like I do in this article: Blazor Power BI Paginated Reports) however, I am unable to find the JavaScript methods I would call when looking at this example (Azure-Samples/communication-services-web-calling-hero: Hero sample to showcase web calling capabilities for Azure Communication Services (github.com))?
Thank You!
- shawnhenry
Microsoft
ADefWebserver The Hero sample might be overkill to follow, it might be easier to look at the quickstart here: https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-video-calling
You'll need to interop to:
- Create the CallClient and CallAgent
- Init the DeviceManager
- Call callAgent.startCall()
- Respond to any event on the all (participant, or stream added)
- jorhiro7
Microsoft
Also you can see a quickstart here: https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/calling-client-samples?pivots=platform-web - jorhiro7
Microsoft
We built this awesome tutorial to guide you step by step:
https://github.com/Azure-Samples/communication-services-web-calling-hero