mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-21 10:37:57 +02:00
auto broadcast started.
This commit is contained in:
parent
da86a0931c
commit
d06740aa96
3 changed files with 4 additions and 6 deletions
|
@ -27,7 +27,6 @@ type Capture struct {
|
|||
// broadcast
|
||||
BroadcastPipeline string
|
||||
BroadcastUrl string
|
||||
BroadcastStarted bool
|
||||
}
|
||||
|
||||
func (Capture) Init(cmd *cobra.Command) error {
|
||||
|
@ -222,5 +221,4 @@ func (s *Capture) Set() {
|
|||
|
||||
s.BroadcastPipeline = viper.GetString("broadcast_pipeline")
|
||||
s.BroadcastUrl = viper.GetString("broadcast_url")
|
||||
s.BroadcastStarted = s.BroadcastUrl != ""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue