- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It has been solved, you need to query the streamid in the process
Add "from" "streamid" to "media"
start recording

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page