add tuya source

This commit is contained in:
seydx
2025-05-10 18:34:02 +02:00
parent 34b103bbcb
commit e74fc6f198
6 changed files with 822 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
package tuya
import (
"github.com/AlexxIT/go2rtc/internal/streams"
"github.com/AlexxIT/go2rtc/pkg/core"
"github.com/AlexxIT/go2rtc/pkg/tuya"
)
func Init() {
streams.HandleFunc("tuya", func(source string) (core.Producer, error) {
return tuya.Dial(source)
})
}