microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Unable to receive video media

Open
#576 4 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

I success to get and record audio media, now i want to capture video as well, but could not get video media received event .
I add Videosocket in CreateMediaSession

 new VideoSocketSettings
                    {
                        StreamDirections = StreamDirection.Sendrecv,
                        ReceiveColorFormat = VideoColorFormat.H264,
                        SupportedSendVideoFormats = h264Formats // try with nv12 formats too
                    },

then subscribe to VideoMediaReceived event, but never got fired

 _videoSocket=mediaSession.VideoSocket;
  if (_videoSocket != null)
  {
      _videoSocket.VideoMediaReceived += OnVideoMediaReceived;
  }

Do I miss something, or doing wrong.? What else should i setup to get VideoMedia?
thank you

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 by reviewing the CreateMediaSession setup, VideoSocketSettings, and the VideoMediaReceived subscription shown in the issue. Compare the video configuration with the working audio setup and verify the receive event is reached; done means video media is received through the subscribed event.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.