Skip to content

Commit fe07bd4

Browse files
committed
version
1 parent a6a6ce6 commit fe07bd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

livekit-rtc/livekit/rtc/rpc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class ErrorCode(IntEnum):
3939
RECIPIENT_NOT_FOUND = 1401
4040
REQUEST_PAYLOAD_TOO_LARGE = 1402
4141
UNSUPPORTED_SERVER = 1403
42+
UNSUPPORTED_VERSION = 1404
4243

4344
ErrorMessage: ClassVar[Dict[ErrorCode, str]] = {
4445
ErrorCode.APPLICATION_ERROR: "Application error in method handler",
@@ -51,6 +52,7 @@ class ErrorCode(IntEnum):
5152
ErrorCode.RECIPIENT_NOT_FOUND: "Recipient not found",
5253
ErrorCode.REQUEST_PAYLOAD_TOO_LARGE: "Request payload too large",
5354
ErrorCode.UNSUPPORTED_SERVER: "RPC not supported by server",
55+
ErrorCode.UNSUPPORTED_VERSION: "Unsupported RPC version",
5456
}
5557

5658
def __init__(

0 commit comments

Comments
 (0)