microsoftgraph / microsoftgraph/microsoft-graph-comms-samples
How to record VBSS stream in compliancerecordingbot
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 253
- Forks
- 275
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 1
Description
Hello,
I am currently trying this inside BotMediaStream.cs.OnVbssMediaReceived:
try
{
unsafe
{
FileStream file = new FileStream("c:/tmp.h264", FileMode.Append, FileAccess.Write);
UnmanagedMemoryStream ustream = new UnmanagedMemoryStream((byte*)e.Buffer.Data, e.Buffer.Length);
ustream.CopyTo(file);
ustream.Close();
file.Close();
}
}
catch
{
this.GraphLogger.Warn("Exception");
}
This gives me a video file with a frame rate which is too fast and has no audio. Is there a sample available somewhere which describes how to convert the media buffer to a playable file?
Thanks
Prashant
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 with BotMediaStream.cs and its OnVbssMediaReceived handler to understand what the VBSS media buffer contains and how timing and audio are represented. Review the surrounding samples for an existing recording or playback path. Done means providing a documented sample or supported approach that produces playable output with correct video timing and explains audio handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- audio-video-rtc
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100