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:
parent
8498829e08
commit
94224edfba
2
main.go
2
main.go
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user