microsoft / BotBuilder-RealTimeMediaCalling

BotBuilder-RealTimeMediaCalling extends the BotBuilder to enable bots to engage in Skype audio-video calling. It provides real-time, programmable access to the voice, video, and screen sharing streams of a Skype call. The bot is a direct participant in a Skype 1:1 call.
MIT License
76 stars 36 forks source link

AudioVideoPlayerBot audio and video files not saved. #18

Closed gfclaveria closed 7 years ago

gfclaveria commented 7 years ago

Hi,

I just want to know how to properly setup the file locations setting. I tried to deploy and test the AudioVideoPlayerBot sample you have and it seems that no audio and video are being saved.

< Setting name="AudioFileLocation" value="$audioFileLocation$" / > < Setting name="VideoFileLocation" value="$videoFileLocation$" / >

some questions regarding the above setting:

I also noticed that the MediaSession gets disposed immediately after the bot accepts the call, according to the logs

Also on the logs, I'm getting this exception whenever i do video call:

EventName="MessageEvent" Message="[4710da0c-dc55-4966-bcca-b50dfe8b7323 ForgetAndLogException,Utilities.cs(30)] Caught an Exception running the task: The given path's format is not supported. StackTrace: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at FrontEnd.Utilities.CreateVideoMediaBuffers(Int64 currentTick) in C:\AVBot\FrontEnd\Utilities.cs:line 43 at FrontEnd.Call.MediaSession.d26.MoveNext() in C:\AVBot\FrontEnd\CallLogic\MediaSession.cs:line 306--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at FrontEnd.Utilities.d0.MoveNext() in C:\AVBot\FrontEnd\Utilities.cs:line 25" TraceSource="FrontEnd"

I'm suspecting its the fileLocation settings, or maybe I'm wrong. :-(

Please help.

.

gfclaveria commented 7 years ago

Sorry, I'm closing this issue. I miss understood how the sample bot works.

aarushi-mittal commented 4 years ago

Hi @gfclaveria , I am working on the same thing.

Were you able to find out if the bot had capability to read audioStreams or if we can implement it without creating any compliance policy ?

Regards, Aarushi