microsoftgraph / microsoftgraph/microsoft-graph-comms-samples
mediaInitilization Failure, while deploying the recording bot in windows node pool using docker
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 253
- Forks
- 275
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 1
Description
Issue
When we are trying to deploy the recording bot using docker in window 2022 node pool, with dotnet version 4.8 we are facing the below error.
Code Snippet
Initialise function in the Botservice
builder.SetMediaPlatformSettings(_settings.MediaPlatformSettings);
Expected behavior
It works fine in windows 2019 with dotnet version 4.8, but in this it fails to apply the media settings to the system.
Graph SDK (please complete the following information):
- Version 1.2.0.850
Logs
Code: mediaInitializationFailure
Message: Media platform failed to initialize
, at Microsoft.Graph.Communications.Calls.Media.MediaCommunicationsClientBuilderExtensions.SetMediaPlatformSettings(ICommunicationsClientBuilder statefulClientBuilder, MediaPlatformSettings mediaSettings)
at RecordingBot.Services.Bot.BotService.Initialize() in C:\src\RecordingBot.Services\Bot\BotService.cs:line 127
at RecordingBot.Services.ServiceSetup.AppHost.StartServer() in C:\src\RecordingBot.Services\ServiceSetup\AppHost.cs:line 135
Additional context
I have tried to create docker images with various versions of dotnet and windows kernel, it did not result in positive outcome.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at BotService.Initialize() in C:\src\RecordingBot\Services\Bot\BotService.cs line 127, where SetMediaPlatformSettings is called, then inspect AppHost.StartServer() at line 135. Reproduce the failure in the Windows 2022 container and compare it with the working Windows 2019 setup. Done means identifying the compatibility issue or documenting the supported configuration that initializes the media platform successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, docker
- Domain
- backend, devops, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100