14 lines
280 B
Go
14 lines
280 B
Go
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)
|
|
})
|
|
}
|