updated to ion-sfu v1.9.1, removed package bufferFactory

This commit is contained in:
David Zhao
2021-03-01 14:49:46 -08:00
parent e8d2701937
commit 03d0a8c047
14 changed files with 69 additions and 102 deletions
+4
View File
@@ -26,6 +26,9 @@ type RTCConfig struct {
StunServers []string `yaml:"stun_servers"`
UseExternalIP bool `yaml:"use_external_ip"`
// Number of packets to buffer for NACK
PacketBufferSize int `yaml:"packet_buffer_size"`
// Max bitrate for REMB
MaxBitrate uint64 `yaml:"max_bitrate"`
MaxBufferTime int `yaml:"max_buffer_time"`
@@ -51,6 +54,7 @@ func NewConfig(confString string) (*Config, error) {
conf := &Config{
Port: 7880,
RTC: RTCConfig{
UseExternalIP: true,
ICEPortRangeStart: 9000,
ICEPortRangeEnd: 9200,
StunServers: []string{