microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Audio Healing is not supported

Open
#595 5 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

Describe the issue
Trying to invite the bot into a Microsoft Teams meeting with EnableAudioHealingForUnmixed in true throws an exception "Audio Healing is not supported", with EnableAudioHealingForUnmixed set to false it works fine

I googled when it's not supported but found nothing.

Code Snippet

new AudioSocketSettings
                {
                    StreamDirections = StreamDirection.Sendrecv,
                    SupportedAudioFormat = AudioFormat.Pcm16K,
                    ReceiveUnmixedMeetingAudio = true,
                    EnableAudioHealingForUnmixed = true,
                },

Microsoft.Skype.Bots.Media, Version=1.23.0.49

System.InvalidOperationException: Audio Healing is not supported
at Microsoft.Skype.Internal.Bots.Media.InternalMediaPlatform.CreateMediaConfiguration(IAudioSocket audioSocket, IList1 videoSockets, IVideoSocket vbssSocket, IDataSocket dataSocket) at Microsoft.Graph.Communications.Calls.Media.MediaSocketFactory.CreateMediaConfiguration(IAudioSocket audioSocket, IEnumerable1 videoSockets, IVideoSocket vbssSocket, IDataSocket dataSocket)
at Microsoft.Graph.Communications.Calls.Media.MediaSession.GetMediaConfiguration()
at Microsoft.Graph.Communications.Calls.StatefulCallCollection.AddAsync(Call resource, IMediaSession mediaSession, Guid scenarioId, CancellationToken cancellationToken)
at Microsoft.Graph.Communications.Calls.CallCollectionExtensions.AddAsync(ICallCollection callCollection, JoinMeetingParameters parameters, Guid scenarioId, CancellationToken cancellationToken)

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

Reproduce the Microsoft Teams meeting setup using AudioSocketSettings with ReceiveUnmixedMeetingAudio and EnableAudioHealingForUnmixed enabled, then compare it with the working false configuration. Start by checking the Microsoft.Skype.Bots.Media 1.23.0.49 support and documentation for audio healing; done means establishing whether the setting is supported and documenting or correcting the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.