microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

VideoMediaReceived does not get called when AudioVideoPlaybackBot joins a meeting

Open
#164 1 comment 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 am using the latest version of AudioVideoPlaybackBot to join a meeting. In my case I do not see the VideoMediaReceived getting called. I looked into the code and CallHandler() constructor has this line

this.Call.GetLocalMediaSession().VideoSockets.FirstOrDefault().VideoMediaReceived += this.OnVideoMediaReceived;

However video on my case comes on socket #3, so shouldn't the code be

       foreach (var videoSocket in this.Call.GetLocalMediaSession().VideoSockets)
        {
            videoSocket.VideoMediaReceived += this.OnVideoMediaReceived;
        }

Please let me know if my understanding is correct or not.

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 the CallHandler() constructor and the VideoSockets subscription shown in the issue. Check how AudioVideoPlaybackBot receives video when it joins and whether media can arrive on sockets beyond FirstOrDefault(). Done means confirming the socket-selection behavior and documenting or correcting the event subscription accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
audio-video-rtc
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.