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