Signal handling interfaces and participant specific HTTP PATCH. (#3804)
* HTTP PATCH on participant sid * rename * signal handler * new files * clean up * clean up reassembly * handle messages on server side * deps * staticcheck * clean up
This commit is contained in:
@@ -453,7 +453,7 @@ func (s *RTCRestService) handleParticipantPatch(w http.ResponseWriter, r *http.R
|
||||
}
|
||||
pID := livekit.ParticipantID(r.PathValue("participant_id"))
|
||||
if pID == "" {
|
||||
s.handleError("Patch", w, r, http.StatusUnauthorized, errors.New("participant ID cannot be empty"))
|
||||
s.handleError("Patch", w, r, http.StatusBadRequest, errors.New("participant ID cannot be empty"))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user