Rewrite ivideon source

This commit is contained in:
Alex X
2025-04-04 19:55:19 +03:00
parent d99bf122ea
commit be3a1c5b5f
7 changed files with 486 additions and 441 deletions
+1 -4
View File
@@ -2,12 +2,9 @@ package ivideon
import (
"github.com/AlexxIT/go2rtc/internal/streams"
"github.com/AlexxIT/go2rtc/pkg/core"
"github.com/AlexxIT/go2rtc/pkg/ivideon"
)
func Init() {
streams.HandleFunc("ivideon", func(source string) (core.Producer, error) {
return ivideon.Dial(source)
})
streams.HandleFunc("ivideon", ivideon.Dial)
}