Archived
2
0

move gst and broadcast under capture.

This commit is contained in:
Miroslav Šedivý
2022-09-12 22:16:08 +02:00
parent de4f6b45e5
commit c0ca073b2d
6 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,4 @@
package broadcast
package capture
import (
"sync"
@ -6,7 +6,7 @@ import (
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"m1k1o/neko/internal/gst"
"m1k1o/neko/internal/capture/gst"
"m1k1o/neko/internal/types/config"
)
@ -20,7 +20,7 @@ type BroadcastManager struct {
url string
}
func New(capture *config.Capture, config *config.Broadcast) *BroadcastManager {
func NewBroadcast(capture *config.Capture, config *config.Broadcast) *BroadcastManager {
return &BroadcastManager{
logger: log.With().Str("module", "broadcast").Logger(),
capture: capture,

View File

@ -4,8 +4,8 @@ import (
"fmt"
"time"
"m1k1o/neko/internal/capture/gst"
"m1k1o/neko/internal/desktop/xorg"
"m1k1o/neko/internal/gst"
"m1k1o/neko/internal/types"
"m1k1o/neko/internal/types/config"