'Agora cloud recording custom layout not working
Agora is not capturing the video stream in custom layout when uid passed. It skip that stream in which uid is passed.
here is the sample layout for three video stream I am using, it only capture two video stream in which uid is not present.
The uid I am passing is as per documentation in cloud recording which is 32 bit integer. The uid is manually generated not generated by Agora.
laout for first 15 seconds
"layoutConfig": [
{
"x_axis": 0.0,
"y_axis": 0.0,
"width": 1.0,
"height": 0.8,
"alpha": 1.0,
"render_mode": 1
},
{
"x_axis": 0.0,
"y_axis": 0.8,
"width": 0.5,
"height": 0.2,
"alpha": 1.0,
"render_mode": 1
},
{
"uid": "99142190",
"x_axis": 0.5,
"y_axis": 0.8,
"width": 0.5,
"height": 0.2,
"alpha": 1.0,
"render_mode": 1
}
]
laout for last 15 seconds
"layoutConfig": [
{
"x_axis": 0.0,
"y_axis": 0.0,
"width": 1.0,
"height": 0.8,
"alpha": 1.0,
"render_mode": 1
},
{
"uid": "99142190",
"x_axis": 0.0,
"y_axis": 0.8,
"width": 0.5,
"height": 0.2,
"alpha": 1.0,
"render_mode": 1
},
{
"x_axis": 0.5,
"y_axis": 0.8,
"width": 0.5,
"height": 0.2,
"alpha": 1.0,
"render_mode": 1
}
]
Solution 1:[1]
Agora cloud recording with custom layout and custom generated uid's are not working. Need to use agora generated uid's to record in custom layout in cloud recording.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
