microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Media platform failed to initialize

Open
#784 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

I'm working on application-hosted media bot and getting the following exception while testing locally on Windows 11:
Unable to load DLL 'NativeMedia' or one of its dependencies.

This exception occurs from the line:
builder.SetMediaPlatformSettings(mediaPlatformSettings);

var mediaPlatformSettings = new MediaPlatformSettings()
{
MediaPlatformInstanceSettings = new MediaPlatformInstanceSettings()
{
CertificateThumbprint = sthumbprint,
InstanceInternalPort = internalPort,
InstancePublicIPAddress = IPAddress.Any,
InstancePublicPort = publicPort,
ServiceFqdn = config.ServiceFqdn
},
ApplicationId = config.APP_ID,
};
project_file.txt

mediabot

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with project_file.txt and reproduce the Windows 11 failure at builder.SetMediaPlatformSettings(mediaPlatformSettings). Investigate why NativeMedia or one of its dependencies cannot load; the issue is done when the application-hosted media bot initializes without that exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.