mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-24 21:48:10 +02:00
catch errors from gst pipeline.
This commit is contained in:
parent
6708ce2caf
commit
9e466b08cc
7 changed files with 47 additions and 19 deletions
|
@ -12,7 +12,9 @@ func (h *MessageHandler) boradcastCreate(session types.Session, payload *message
|
|||
return nil
|
||||
}
|
||||
|
||||
h.broadcast.Create(payload.URL)
|
||||
if err := h.broadcast.Create(payload.URL); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := h.boradcastStatus(session); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue