mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-28 07:27:57 +02:00
add broadcast endpoint & broadcast pipeline return error.
This commit is contained in:
parent
6fbb1a2cc7
commit
db820806a4
8 changed files with 124 additions and 15 deletions
|
@ -12,7 +12,10 @@ func (h *MessageHandlerCtx) boradcastCreate(session types.Session, payload *mess
|
|||
return nil
|
||||
}
|
||||
|
||||
h.capture.StartBroadcast(payload.URL)
|
||||
if err := h.capture.StartBroadcast(payload.URL); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return h.boradcastStatus(session)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue