Archived
2
0

catch errors from gst pipeline.

This commit is contained in:
Miroslav Šedivý
2021-08-15 15:37:27 +02:00
parent 6708ce2caf
commit 9e466b08cc
7 changed files with 47 additions and 19 deletions

View File

@ -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