microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Participants in peer-to-peer call empty

Open
#557 3 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
I want to receive video streams from a user in a peer-to-peer call. In order to create a subscription i need access to the MediaStreams of the participant. I'm using a similar solution as in the AudioVideoPlaybackBot sample
The problem is that Call.Participants (ICall.Participants) is always empty and the event Call.Participants.OnUpdated not gets fired. If a third user joins the call or if the user sets the call to hold the event Call.Participants.OnUpdated gets fired and I also can access Call.Participants.

Is there a way to access the call participants in a peer-to-peer call?

Code Snippet
Subscribe to a video: code snippet from AudioVideoPlaybackBot sample

Expected behavior
Call.Participants not empty

Graph SDK (please complete the following information):

  • Microsoft.Graph.Communications.Calls v1.2.0.4161
  • Microsoft.Graph.Communications.Calls.Media v1.2.0.4161
  • Microsoft.Graph.Communications.Calls.Client v1.2.0.4161
  • Microsoft.Skype.Bots.Media v1.23.0.49-alpha

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 Samples/V1.0Samples/LocalMediaSamples/AudioVideoPlaybackBot/FrontEnd/Bot/CallHandler.cs around line 198 and inspect how Call.Participants and OnUpdated are used. Reproduce the peer-to-peer call behavior with the listed SDK versions, then determine whether participant streams can be accessed; document the confirmed behavior or identify the required change.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.