fix: memory leaks with BufferFactory being held

This commit is contained in:
David Zhao
2021-06-14 22:53:29 -07:00
parent 48a9971b3a
commit 2cecbad29d
4 changed files with 16 additions and 5 deletions
+2 -1
View File
@@ -78,7 +78,8 @@ func NewConfig(confString string) (*Config, error) {
"stun.l.google.com:19302",
"stun1.l.google.com:19302",
},
MaxBitrate: 3 * 1024 * 1024, // 3 mbps
MaxBitrate: 3 * 1024 * 1024, // 3 mbps
PacketBufferSize: 500,
},
Audio: AudioConfig{
ActiveLevel: 40,