Skip to content

Commit e46b3f5

Browse files
Protocol error handling (#1184)
* Add request in error response * generated protobuf * more handlers * generated protobuf * label * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b798f9c commit e46b3f5

2 files changed

Lines changed: 183 additions & 28 deletions

File tree

livekit/livekit_rtc.pb.go

Lines changed: 172 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobufs/livekit_rtc.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,11 +468,22 @@ message RequestResponse {
468468
NOT_FOUND = 1;
469469
NOT_ALLOWED = 2;
470470
LIMIT_EXCEEDED = 3;
471+
QUEUED = 4;
472+
UNSUPPORTED_TYPE= 5;
473+
UNCLASSIFIED_ERROR = 6;
471474
}
472475

473476
uint32 request_id = 1;
474477
Reason reason = 2;
475478
string message = 3;
479+
oneof request {
480+
TrickleRequest trickle = 4;
481+
AddTrackRequest add_track = 5;
482+
MuteTrackRequest mute = 6;
483+
UpdateParticipantMetadata update_metadata = 7;
484+
UpdateLocalAudioTrack update_audio_track = 8;
485+
UpdateLocalVideoTrack update_video_track = 9;
486+
}
476487
}
477488

478489
message TrackSubscribed {

0 commit comments

Comments
 (0)