add size limit to metadata of room & participant (#566)
* add size limit to metadata of room & participant * description in config-sample * solve comments
This commit is contained in:
+10
-9
@@ -3,13 +3,14 @@ package service
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrEgressNotFound = errors.New("egress does not exist")
|
||||
ErrEgressNotConnected = errors.New("egress not connected (redis required)")
|
||||
ErrRoomNotFound = errors.New("requested room does not exist")
|
||||
ErrRoomLockFailed = errors.New("could not lock room")
|
||||
ErrRoomUnlockFailed = errors.New("could not unlock room, lock token does not match")
|
||||
ErrParticipantNotFound = errors.New("participant does not exist")
|
||||
ErrTrackNotFound = errors.New("track is not found")
|
||||
ErrWebHookMissingAPIKey = errors.New("api_key is required to use webhooks")
|
||||
ErrOperationFailed = errors.New("operation cannot be completed")
|
||||
ErrEgressNotFound = errors.New("egress does not exist")
|
||||
ErrEgressNotConnected = errors.New("egress not connected (redis required)")
|
||||
ErrRoomNotFound = errors.New("requested room does not exist")
|
||||
ErrRoomLockFailed = errors.New("could not lock room")
|
||||
ErrRoomUnlockFailed = errors.New("could not unlock room, lock token does not match")
|
||||
ErrParticipantNotFound = errors.New("participant does not exist")
|
||||
ErrTrackNotFound = errors.New("track is not found")
|
||||
ErrWebHookMissingAPIKey = errors.New("api_key is required to use webhooks")
|
||||
ErrOperationFailed = errors.New("operation cannot be completed")
|
||||
ErrMetadataExceedsLimits = errors.New("metadata size exceeds limits")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user