microsoftgraph / microsoftgraph/microsoft-graph-comms-samples
Error when trying to suscribe on the video socket in a meeting
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 253
- Forks
- 275
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 1
Description
We want to get the video frame of each participants, but then we try to suscribe to the video socket we have the following error
Error in Subscribe
System.InvalidOperationException: Video 3: Receive media status is not active, cannot perform subscription on the MSI 202
Code Snippet
else if (mediaType == Microsoft.Skype.Bots.Media.MediaType.Video)
{
logger.LogInformation($"Subscribing to media stream Video.");
this.multiViewVideoSocket[(int)socketId].Subscribe(videoResolution, mediaSourceId);
}
Expected behavior
The expected behaviour is when suscribing, we can retrieve the content of the vidéo socket (the one from webcam).
any ideas ?
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 from the video branch that calls multiViewVideoSocket[(int)socketId].Subscribe(videoResolution, mediaSourceId) and inspect the receive-media state reported in the exception. Reproduce the meeting subscription, then trace why the webcam stream is not active before Subscribe; done when webcam video frames can be retrieved without the InvalidOperationException.
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
- Mostly clear
- Newbie friendliness
- 35/100