mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 17:45:40 +00:00
* feat: unpublish tracks after publish permissions are revoked. Uses protocol 7 to indicate client support, otherwise it attempts to mute the tracks. Also sends back permissions objects of all participants, and cleaned up our handling of various permissions attributes. * fix static check
18 lines
924 B
Go
18 lines
924 B
Go
package rtc
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrRoomClosed = errors.New("room has already closed")
|
|
ErrPermissionDenied = errors.New("no permissions to access the room")
|
|
ErrMaxParticipantsExceeded = errors.New("room has exceeded its max participants")
|
|
ErrLimitExceeded = errors.New("node has exceeded its configured limit")
|
|
ErrAlreadyJoined = errors.New("a participant with the same identity is already in the room")
|
|
ErrUnexpectedOffer = errors.New("expected answer SDP, received offer")
|
|
ErrDataChannelUnavailable = errors.New("data channel is not available")
|
|
ErrCannotSubscribe = errors.New("participant does not have permission to subscribe")
|
|
ErrEmptyIdentity = errors.New("participant identity cannot be empty")
|
|
ErrEmptyParticipantID = errors.New("participant ID cannot be empty")
|
|
ErrMissingGrants = errors.New("VideoGrant is missing")
|
|
)
|