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

Overload in policy recording bot

Open vidilab opened this issue 2 years ago • 1 comments

When handling new calls, occasionally we get this exception: The media platform is currently overloaded and cannot handle new calls. MP's overall health is overloaded. Using Microsoft.Skype.Bots.Media: 1.22.0.6-alpha What does it mean exactly that it is overloaded, and how can we prevent it?

vidilab avatar Feb 22 '23 16:02 vidilab

Hi, this happens when the media engine cannot emit the audio/video events fast enough, which is often because you are doing too much in the event handlers. You have to push slow tasks such as writing to a file to a background task.

mosoftwareenterprises avatar Feb 22 '23 17:02 mosoftwareenterprises