fix stream mode

This commit is contained in:
seydx
2025-05-13 15:09:27 +02:00
parent 6c255cd2f2
commit 5ec942cb5e
+1 -1
View File
@@ -71,7 +71,7 @@ func Dial(rawURL string) (core.Producer, error) {
}
// Initialize Tuya API client
tuyaAPI, err := NewTuyaClient(u.Hostname(), deviceID, uid, clientId, clientSecret, streamType)
tuyaAPI, err := NewTuyaClient(u.Hostname(), deviceID, uid, clientId, clientSecret, streamMode)
if err != nil {
return nil, err
}