mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-09-27 04:36:12 +08:00
27 lines
508 B
Go
27 lines
508 B
Go
package main
|
|
|
|
import (
|
|
"github.com/AlexxIT/go2rtc/internal/api"
|
|
"github.com/AlexxIT/go2rtc/internal/api/ws"
|
|
"github.com/AlexxIT/go2rtc/internal/app"
|
|
"github.com/AlexxIT/go2rtc/internal/ffmpeg"
|
|
"github.com/AlexxIT/go2rtc/internal/mjpeg"
|
|
"github.com/AlexxIT/go2rtc/internal/streams"
|
|
"github.com/AlexxIT/go2rtc/internal/v4l2"
|
|
"github.com/AlexxIT/go2rtc/pkg/shell"
|
|
)
|
|
|
|
func main() {
|
|
app.Init()
|
|
streams.Init()
|
|
|
|
api.Init()
|
|
ws.Init()
|
|
|
|
ffmpeg.Init()
|
|
mjpeg.Init()
|
|
v4l2.Init()
|
|
|
|
shell.RunUntilSignal()
|
|
}
|