microsoftgraph / microsoft-graph-comms-samples

Microsoft Graph Communications Samples
MIT License
211 stars 236 forks source link

Bot problem: Client Media Error #771

Open vidilab opened 1 month ago

vidilab commented 1 month ago

Our policy recording bot is removed from a call halfway during a call. We would like it to remain in the call until the end.

Currently using library version 1.2.0.7270.

Call IDs:

34003580-931f-4d23-9cee-46cfb7745e39 (2024-10-08T09:04:23.9993188Z)
40005180-3432-4177-ad93-a6e9b360f13d (2024-10-08T09:15:38.4361194Z)
6d003880-cdb4-4b38-8d60-69067b71bd2d (2024-10-08T09:15:38.5161160Z)

Logs contain:

      "@odata.type": "#microsoft.graph.commsNotification",
      "changeType": "Deleted",
      "resourceUrl": "/communications/calls/6d003880-cdb4-4b38-8d60-69067b71bd2d",
...
        "resultInfo": {
          "@odata.type": "#microsoft.graph.resultInfo",
          "code": 410,
          "message": "Client Media Error. DiagCode: 410#301005.@",
          "subcode": 301005
        },

It occured a few times on the same day. I also noticed there is a queue, is that normal, or does it indicate a problem? Queue found for resource communications/calls/40005180-3432-4177-ad93-a6e9b360f13d, current queue size 7 with id communications/calls/40005180-3432-4177-ad93-a6e9b360f13d

What can we do to avoid the error?

vidilab commented 3 days ago

We continue to have this problem (Client Media Error). What is causing this?

Call IDs:

2d003480-7fee-4cd7-b3f8-c2a24c7f5d21 (2024-11-12T12:13:29.7064339Z)
05003380-dd8d-4e66-9b11-e1bb8791f5b5 (2024-11-11T13:58:05.9925044Z)
yk-recall commented 3 days ago

Hey vidilab, if you're experiencing issues with your policy recording bot being removed from calls prematurely due to 'Client Media Error' (DiagCode: 410#301005), you might want to check out the Recall.ai API.

It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video/metadata from meetings without you needing to spend months to build, scale, and maintain these bots.

Here are the API docs:

https://docs.recall.ai