Skip to content

Commit 7145c1c

Browse files
committed
Add doc about Tuya's resolution_id
1 parent d3dd976 commit 7145c1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,7 @@ Supports [Tuya IPC cameras](https://developer.tuya.com/en/docs/iot/webrtc?id=Kac
689689
- `client_secret` Tuya Cloud Project Access Secret/Client Secret
690690
- `uid` Tuya linked app UID (refer to the [Tuya Procedure step 3](https://developer.tuya.com/en/docs/iot/webrtc?id=Kacsd4x2hl0se#title-4-Prerequisites) for more info)
691691
- `device_id` Tuya device ID (you can retrieve it from the Tuya Cloud Project Devices page)
692+
- `resolution_id` Tuya Resoluion ID (either 0 (HD) or 1 (SD), not all devices support it), This parameter is optional
692693

693694
URL should be `https://openapi.tuyaeu.com` or another one ([see Tuya docs](https://developer.tuya.com/en/docs/iot/api-request?id=Ka4a8uuo1j4t4#title-1-Endpoints)) depending on your region.
694695

@@ -700,7 +701,7 @@ streams:
700701
webrtc-openipc: webrtc:ws://192.168.1.123/webrtc_ws#format=openipc#ice_servers=[{"urls":"stun:stun.kinesisvideo.eu-north-1.amazonaws.com:443"}]
701702
webrtc-wyze: webrtc:http://192.168.1.123:5000/signaling/camera1?kvs#format=wyze
702703
webrtc-kinesis: webrtc:wss://...amazonaws.com/?...#format=kinesis#client_id=...#ice_servers=[{...},{...}]
703-
webrtc-tuya: webrtc:https://openapi.tuyaeu.com#format=tuya#client_id=...#client_secret=...#uid=...#device_id=...
704+
webrtc-tuya: webrtc:https://openapi.tuyaeu.com#format=tuya#client_id=...#client_secret=...#uid=...#device_id=...#resolution_id=0
704705
```
705706

706707
**PS.** For `kinesis` sources you can use [echo](#source-echo) to get connection params using `bash`/`python` or any other script language.

0 commit comments

Comments
 (0)