mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-23 00:22:19 +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