1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 19:42:20 +00:00

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

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)