microsoftgraph / microsoftgraph/microsoft-graph-comms-samples
Microsoft.Skype.Bots.Media Installation causing errors on run
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 253
- Forks
- 275
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 1
Description
Describe the issue
I am trying to create a realtime conversation Bot. For that I need Microsoft.Skype.Bots.Media and after it Microsoft.Graph.Communications.Calls to get access to the AudioSocket of a call and use it's audio stream.
But when I install the Microsoft.Skype.Bots.Media package the project starts throwing "Could not load file or assembly 'Microsoft.Rtc.Internal.Media' or one of its dependencies. An attempt was made to load a program with an incorrect format"

I am running the app in x64 as stated in many other similar issues. I have also installed "vc_redist.x64.exe" (and vc_redist.x86.exe just in case)
This can be done with a brand new project as well:
Step 1: Create default .Net Framework Web Application. Use Web API template.
Step 2: Install "Microsoft.Skype.Bots.Media" package.
Step 3: Run the project.
Step 4: Get the above error.
I've tried this on 3 different PCs with all the different CPU settings.
Code Snippet
No code is needed for reproduction
Expected behavior
For the base case, I expect the default Web Application welcome screen to be visualized.
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 with the default .NET Framework Web API project and reproduce the failure after installing Microsoft.Skype.Bots.Media. Investigate the Microsoft.Rtc.Internal.Media load error under x64, including the installed Visual C++ redistributables and CPU settings. Done means the untouched application's welcome screen runs without the assembly or dependency error.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100