Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

owt-server recording process

minipig19
Beginner
1,096 Views
hi everyone
   In the api documentation, the calling recording interface is /v1/rooms/{roomId}/recordings, but during the test (version v5), the v1 interface is unavailable.

when i use
curl -k -H "Accept: application/json" https://ip:3004/rooms/{roomid}/recordings -H "Content-type: application/json" -X POST -d@rec.json Request server recording , a Bad Request was returned.

The content of rec.json is as follows:
[
    {
        "container": "mkv",
        "media":
        {
            "video":"auto",
            "audio":"auto"
        }
    }
]

I can use the same method to create, query and delete rooms, but the recording interface has not been working. May I ask what steps and parameters are required for requesting server recording? Can you give me a suggestion.

Thanks
0 Kudos
1 Reply
minipig19
Beginner
1,071 Views
 

 

It has been solved, you need to query the streamid in the process

Add "from" "streamid" to "media"

start recording
0 Kudos
Reply