microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

UnmixedAudioBuffers always null

Open
#340 0 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

Goal: I need to be able to get the participant/speaker specific audio media from the call.
I found that setting ReceiveUnmixedMeetingAudio to true will do the trick, but I am receiving null from it.
My other option is to retain getting MixedAudio and just query the media stream somewhere from https://graph.microsoft.com/v1.0/communications/callRecords/87b8106e-52df-4ef9-be7e-9616f0079007?$expand=sessions($expand=segments)
But I can't find any example on how to do it.

Any help will be appreciated. Thanks!

Logs:
OnAudioMediaReceived: AudioMediaReceivedEventArgs: {"Buffer":{"Data":{"value":1983124767808},"Length":640,"AudioFormat":"Pcm16K","ActiveSpeakers":[],"IsSilence":true,"Timestamp":38104121949150000,"UnmixedAudioBuffers":null}}

AudioSocketSettings:
var mediaSession = this.Client.CreateMediaSession(
new AudioSocketSettings
{
StreamDirections = StreamDirection.Recvonly,
SupportedAudioFormat = AudioFormat.Pcm16K,
ReceiveUnmixedMeetingAudio = true,
},
videoSocketSettings,
vbssSocketSettings,
mediaSessionId: mediaSessionId);

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 at the CreateMediaSession call using AudioSocketSettings and ReceiveUnmixedMeetingAudio, then inspect the OnAudioMediaReceived log where UnmixedAudioBuffers is null. Compare that behavior with the Microsoft Graph callRecords sessions/segments endpoint mentioned in the report; done means establishing why participant-specific audio is null or documenting the supported retrieval path.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, audio-video-rtc
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.