microsoft-graph-comms-samples icon indicating copy to clipboard operation
microsoft-graph-comms-samples copied to clipboard

Issue with the compliance recording bot implementation over Azure Classic Cloud

Open deshneni-akhil opened this issue 8 months ago • 2 comments

Describe the issue

https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/master/Samples/V1.0Samples/LocalMediaSamples/PolicyRecordingBot/README.md

Code Snippet

private void OnVideoMediaReceived(object sender, AudioMediaReceivedEventArgs e)
{
    this.GraphLogger.Info($"[{e.SocketId}]: Received Video: [VideoMediaReceivedEventArgs(Data=<{e.Buffer.Data.ToString()}>, Length={e.Buffer.Length}, Timestamp={e.Buffer.Timestamp}, Width={e.Buffer.VideoFormat.Width}, Height={e.Buffer.VideoFormat.Height}, ColorFormat={e.Buffer.VideoFormat.VideoColorFormat}, FrameRate={e.Buffer.VideoFormat.FrameRate})]");

    // TBD: Policy Recording bots can record the Video here
    e.Buffer.Dispose();
}
private void OnAudioMediaReceived(object sender, VideoMediaReceivedEventArgs e)
{
    this.GraphLogger.Info($"[{e.SocketId}]: Received Video: [VideoMediaReceivedEventArgs(Data=<{e.Buffer.Data.ToString()}>, Length={e.Buffer.Length}, Timestamp={e.Buffer.Timestamp}, Width={e.Buffer.VideoFormat.Width}, Height={e.Buffer.VideoFormat.Height}, ColorFormat={e.Buffer.VideoFormat.VideoColorFormat}, FrameRate={e.Buffer.VideoFormat.FrameRate})]");

    // TBD: Policy Recording bots can record the Video here
    e.Buffer.Dispose();
}

Expected behavior

The documentation uses Azure Classic Service which is depreciated unable to proceed with the deployment instructions and further can you please provide the details on how the application can store the video and audio data into wav and mp4 file format upon call being ended I am looking to upload this data to azure blob storage with some metadata any insights around this is appreciated.

deshneni-akhil avatar Jun 04 '24 00:06 deshneni-akhil