Interface updates (#194)

* update interfaces, a bit of cleaning

* regenerate

* return interface for RoomService

* export packetBufferSize

* update router interface

* move participant key into router

* change locks back

* read only room store

* fix server rm locks

* update SendJoinResponse

* clean up imports

* update room messaging

* regenerate
This commit is contained in:
David Colburn
2021-11-15 15:25:50 -06:00
committed by GitHub
parent ffb2c50a70
commit 95e29d3766
17 changed files with 340 additions and 333 deletions
+3 -3
View File
@@ -4,12 +4,12 @@ import (
"errors"
"net"
"github.com/livekit/livekit-server/pkg/sfu/buffer"
"github.com/pion/ice/v2"
"github.com/pion/webrtc/v3"
"github.com/livekit/livekit-server/pkg/config"
serverlogger "github.com/livekit/livekit-server/pkg/logger"
"github.com/livekit/livekit-server/pkg/sfu/buffer"
)
const (
@@ -28,7 +28,7 @@ type WebRTCConfig struct {
}
type ReceiverConfig struct {
packetBufferSize int
PacketBufferSize int
maxBitrate uint64
}
@@ -116,7 +116,7 @@ func NewWebRTCConfig(conf *config.Config, externalIP string) (*WebRTCConfig, err
Configuration: c,
SettingEngine: s,
Receiver: ReceiverConfig{
packetBufferSize: rtcConf.PacketBufferSize,
PacketBufferSize: rtcConf.PacketBufferSize,
maxBitrate: rtcConf.MaxBitrate,
},
UDPMux: udpMux,