From f417389f5f36f05ba2236d50eb4b1ea42b3cf3da Mon Sep 17 00:00:00 2001 From: "Suchith.J.N" Date: Wed, 18 Jun 2025 12:31:43 +0200 Subject: [PATCH] add participant_limit_reached error code --- protobuf/video/sfu/models/models.pb.go | 10 ++++++++-- protobuf/video/sfu/models/models.proto | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/protobuf/video/sfu/models/models.pb.go b/protobuf/video/sfu/models/models.pb.go index c49a4f4a5..67da95b35 100644 --- a/protobuf/video/sfu/models/models.pb.go +++ b/protobuf/video/sfu/models/models.pb.go @@ -245,6 +245,7 @@ const ( ErrorCode_ERROR_CODE_PARTICIPANT_MEDIA_TRANSPORT_FAILURE ErrorCode = 205 ErrorCode_ERROR_CODE_PARTICIPANT_SIGNAL_LOST ErrorCode = 206 ErrorCode_ERROR_CODE_CALL_NOT_FOUND ErrorCode = 300 + ErrorCode_ERROR_CODE_CALL_PARTICIPANT_LIMIT_REACHED ErrorCode = 301 ErrorCode_ERROR_CODE_REQUEST_VALIDATION_FAILED ErrorCode = 400 ErrorCode_ERROR_CODE_UNAUTHENTICATED ErrorCode = 401 ErrorCode_ERROR_CODE_PERMISSION_DENIED ErrorCode = 403 @@ -271,6 +272,7 @@ var ( 205: "ERROR_CODE_PARTICIPANT_MEDIA_TRANSPORT_FAILURE", 206: "ERROR_CODE_PARTICIPANT_SIGNAL_LOST", 300: "ERROR_CODE_CALL_NOT_FOUND", + 301: "ERROR_CODE_CALL_PARTICIPANT_LIMIT_REACHED", 400: "ERROR_CODE_REQUEST_VALIDATION_FAILED", 401: "ERROR_CODE_UNAUTHENTICATED", 403: "ERROR_CODE_PERMISSION_DENIED", @@ -294,6 +296,7 @@ var ( "ERROR_CODE_PARTICIPANT_MEDIA_TRANSPORT_FAILURE": 205, "ERROR_CODE_PARTICIPANT_SIGNAL_LOST": 206, "ERROR_CODE_CALL_NOT_FOUND": 300, + "ERROR_CODE_CALL_PARTICIPANT_LIMIT_REACHED": 301, "ERROR_CODE_REQUEST_VALIDATION_FAILED": 400, "ERROR_CODE_UNAUTHENTICATED": 401, "ERROR_CODE_PERMISSION_DENIED": 403, @@ -2999,7 +3002,7 @@ var file_video_sfu_models_models_proto_rawDesc = []byte{ 0x53, 0x43, 0x52, 0x45, 0x45, 0x4e, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x21, 0x0a, 0x1d, 0x54, 0x52, 0x41, 0x43, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x43, 0x52, 0x45, 0x45, 0x4e, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, - 0x04, 0x2a, 0xba, 0x06, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, + 0x04, 0x2a, 0xea, 0x06, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x26, 0x0a, 0x22, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, @@ -3035,7 +3038,10 @@ var file_video_sfu_models_models_proto_rawDesc = []byte{ 0x52, 0x54, 0x49, 0x43, 0x49, 0x50, 0x41, 0x4e, 0x54, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x4c, 0x4f, 0x53, 0x54, 0x10, 0xce, 0x01, 0x12, 0x1e, 0x0a, 0x19, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, - 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xac, 0x02, 0x12, 0x29, 0x0a, 0x24, 0x45, 0x52, 0x52, 0x4f, + 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0xac, 0x02, 0x12, 0x2e, 0x0a, 0x29, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x50, 0x41, 0x52, 0x54, + 0x49, 0x43, 0x49, 0x50, 0x41, 0x4e, 0x54, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x52, 0x45, + 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0xad, 0x02, 0x12, 0x29, 0x0a, 0x24, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x90, 0x03, 0x12, 0x1f, 0x0a, 0x1a, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, diff --git a/protobuf/video/sfu/models/models.proto b/protobuf/video/sfu/models/models.proto index 5261a74f6..ccb351054 100644 --- a/protobuf/video/sfu/models/models.proto +++ b/protobuf/video/sfu/models/models.proto @@ -217,6 +217,7 @@ enum ErrorCode { ERROR_CODE_PARTICIPANT_SIGNAL_LOST = 206; ERROR_CODE_CALL_NOT_FOUND = 300; + ERROR_CODE_CALL_PARTICIPANT_LIMIT_REACHED = 301; ERROR_CODE_REQUEST_VALIDATION_FAILED = 400; ERROR_CODE_UNAUTHENTICATED = 401;