mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
lint remove whitespaces.
This commit is contained in:
@ -52,7 +52,7 @@ func (manager *BroacastManagerCtx) createPipeline() error {
|
||||
Str("video_display", manager.config.Display).
|
||||
Str("broadcast_pipeline", manager.config.BroadcastPipeline).
|
||||
Msgf("creating pipeline")
|
||||
|
||||
|
||||
manager.pipeline, err = gst.CreateRTMPPipeline(
|
||||
manager.config.Device,
|
||||
manager.config.Display,
|
||||
|
@ -105,7 +105,7 @@ func (manager *CaptureManagerCtx) Start() {
|
||||
|
||||
func (manager *CaptureManagerCtx) Shutdown() error {
|
||||
manager.logger.Info().Msgf("capture shutting down")
|
||||
|
||||
|
||||
if manager.Streaming() {
|
||||
manager.StopStream()
|
||||
}
|
||||
|
@ -128,7 +128,7 @@ func (manager *ScreencastManagerCtx) createPipeline() error {
|
||||
Str("video_display", manager.config.Display).
|
||||
Str("screencast_pipeline", manager.config.ScreencastPipeline).
|
||||
Msgf("creating pipeline")
|
||||
|
||||
|
||||
manager.pipeline, err = gst.CreateJPEGPipeline(
|
||||
manager.config.Display,
|
||||
manager.config.ScreencastPipeline,
|
||||
|
Reference in New Issue
Block a user