jeudi 17 décembre 2020

Agora Cloud Recording [ Web Page Recording ] : Error 404 (no Route matched with those values)

I trying to use new mode recording from Agora Here.

But It doesn't work for me. I always got Error 404 with message ('no Route matched with those values')

Here is my url path

'/v1/apps/{appid}/cloud_recording/resourceid/{my-resource-id}/mode/web/start'

I already check on Cloud Recording RESTful API to find pattern for request body but It doesn't said anything about Web Page Recording. (Maybe because It's just beta for now)

Here is my start request body that I copy from tutorial but It doesn't matched with RESTful API

const extensionServiceConfig = {
      errorHandlePolicy: "error_abort",
      extensionServices: [{
        serviceName: "web_recorder_service",
        errorHandlePolicy: "error_abort",
        serviceParam: {
          url: "myurl",
          audioProfile: 0,
          videoWidth: 1280,
          videoHeight: 720,
          maxRecordingHour: 2
        }
      }]
    };



Aucun commentaire:

Enregistrer un commentaire