Forum Discussion
I want to make a Blazor application that can make video calls
- Apr 21, 2021
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)
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
- WaltDogSep 14, 2021Copper 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?
- ADefWebserverApr 21, 2021Brass Contributor
jorhiro7 , shawnhenry - I am prepared to make JavaScript calls from Blazor (like I do in this article: https://blazorhelpwebsite.com/ViewBlogPost/49) however, I am unable to find the JavaScript methods I would call when looking at this example (https://github.com/Azure-Samples/communication-services-web-calling-hero)?
Thank You!
- shawnhenryApr 21, 2021
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)
- ADefWebserverApr 21, 2021Brass ContributorYes, that provides me what I need to get started. Thank You