Open omar-ababneh opened 2 months ago
I need to show the audio and video packet in logs
Does not look like something that is happening inside the Graph Calls SDK, so it is a bit off topic for this repo.
Without code nobody will be able to help. However, this Stackoverflow might help you.
Does not look like something that is happening inside the Graph Calls SDK, so it is a bit off topic for this repo.
Without code nobody will be able to help. However, this Stackoverflow might help you.
OK thank you for your comment
I have question how i can show the audio packet that arrive to PolicyRecordingBot I do not have knowledge about GraphLogger ?
This is the code that logs the audio packet :
private void OnAudioMediaReceived(object sender, AudioMediaReceivedEventArgs e)
{
this.GraphLogger.Info($"Received Audio: [VideoMediaReceivedEventArgs(Data=<{e.Buffer.Data.ToString()}>, Length={e.Buffer.Length}, Timestamp={e.Buffer.Timestamp})]");
// TBD: Policy Recording bots can record the Audio here
e.Buffer.Dispose();
}
Describe the issue I upload the PolicyRecordingBot in the Azure cloud service (extend support) and it working fine also i create Azure bot and i configured the microsoft teams and add webhock
when i try to make test call the notification bar it appear (Recording is started). but when i try to requrest logs url : https://bot.globitel.com:10101/logs it return to me this exception
$>2024-08-14T15:42:25.4750320Z Error: ExceptionLogger.cs:37 LogAsync Exception processing HTTP request. exception: Bytes to be written to the stream exceed the Content-Length bytes size specified. StackTrace: at System.Net.HttpResponseStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) at System.Threading.Tasks.TaskFactoryd__33.MoveNext()
1.FromAsyncImpl[TArg1,TArg2,TArg3](Func
6 beginMethod, Func2 endFunction, Action
1 endAction, TArg1 arg1, TArg2 arg2, TArg3 arg3, Object state, TaskCreationOptions creationOptions) at System.Net.Http.HttpContent.CopyToAsync(Stream stream, TransportContext context) at System.Web.Http.Owin.HttpMessageHandlerAdapter.the same thing in calls url : https://bot.globitel.com:10101/calls it does not return any call.