mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-21 18:47:55 +02:00
auto broadcast started.
This commit is contained in:
parent
da86a0931c
commit
d06740aa96
3 changed files with 4 additions and 6 deletions
|
@ -30,7 +30,7 @@ func New(desktop types.DesktopManager, config *config.Capture) *CaptureManagerCt
|
|||
// sinks
|
||||
broadcast: broadcastNew(func(url string) (string, error) {
|
||||
return NewBroadcastPipeline(config.AudioDevice, config.Display, config.BroadcastPipeline, url)
|
||||
}, config.BroadcastUrl, config.BroadcastStarted),
|
||||
}, config.BroadcastUrl),
|
||||
audio: streamSinkNew(config.AudioCodec, func() (string, error) {
|
||||
return NewAudioPipeline(config.AudioCodec, config.AudioDevice, config.AudioPipeline, config.AudioBitrate)
|
||||
}, "audio"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue