Enlarge forwarding channel to avoid blockings from the forwarding package

This commit is contained in:
Yohann D'ANELLO 2020-10-03 00:08:32 +02:00
parent 8498829e08
commit 94224edfba
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func main() {
localSdpChan := make(chan webrtc.SessionDescription)
// SRT channel, to propagate forwarding
forwardingChannel := make(chan srt.Packet)
forwardingChannel := make(chan srt.Packet, 65536)
// Start stream, web and monitoring server, and stream forwarding
go forwarding.Serve(cfg.Forwarding, forwardingChannel)