mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-09-27 12:42:18 +08:00
18 lines
314 B
Go
18 lines
314 B
Go
package debug
|
|
|
|
import (
|
|
"github.com/AlexxIT/go2rtc/cmd/api"
|
|
"github.com/AlexxIT/go2rtc/cmd/streams"
|
|
"github.com/AlexxIT/go2rtc/pkg/core"
|
|
)
|
|
|
|
func Init() {
|
|
api.HandleFunc("api/stack", stackHandler)
|
|
|
|
streams.HandleFunc("null", nullHandler)
|
|
}
|
|
|
|
func nullHandler(string) (core.Producer, error) {
|
|
return nil, nil
|
|
}
|