22 lines
534 B
Python
22 lines
534 B
Python
import requests
|
|
|
|
|
|
payload = {
|
|
"value": [
|
|
{
|
|
"name": "10k Bitrate",
|
|
"videoPassthrough": False,
|
|
"audioPassthrough": True,
|
|
"videoBitrate": 10000,
|
|
"audioBitrate": 160,
|
|
"scaledWidth": 1920,
|
|
"scaledHeight": 1080,
|
|
"framerate": 60,
|
|
"cpuUsageLevel": 3
|
|
}
|
|
]
|
|
}
|
|
|
|
response = requests.post("http://192.168.1.67:8086/api/admin/config/video/streamoutputvariants", json=payload, auth=('admin', "abc123"))
|
|
|
|
print(response) |