mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add broadcast endpoint & broadcast pipeline return error.
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user