mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-29 02:16:21 +02:00
fixes issue where url was updated after broadcast was started, #429.
This commit is contained in:
parent
a569f72087
commit
5169e0aad3
1 changed files with 2 additions and 1 deletions
|
@ -78,12 +78,13 @@ func (manager *BroacastManagerCtx) Start(url string) error {
|
|||
manager.mu.Lock()
|
||||
defer manager.mu.Unlock()
|
||||
|
||||
manager.url = url
|
||||
|
||||
err := manager.createPipeline()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
manager.url = url
|
||||
manager.started = true
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue