mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 15:35:41 +00:00
In order to avoid race conditions with WebRTC, where either side could initiate an offer when tracks have changes, we'll always initiate them from the SFU side.
12 lines
374 B
Go
12 lines
374 B
Go
package rtc
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrRoomIdMissing = errors.New("room is not passed in")
|
|
ErrInvalidRoomName = errors.New("room must have a unique name")
|
|
ErrRoomNotFound = errors.New("requested room does not exist")
|
|
ErrPermissionDenied = errors.New("no permissions to access the room")
|
|
ErrUnexpectedOffer = errors.New("expected answer SDP, received offer")
|
|
)
|