mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 10:22:19 +00:00
Reduce chan sizes
This commit is contained in:
parent
16756be5b4
commit
1e712b2795
4
main.go
4
main.go
@ -44,8 +44,8 @@ func main() {
|
||||
localSdpChan := make(chan webrtc.SessionDescription)
|
||||
|
||||
// SRT channel for forwarding and webrtc
|
||||
forwardingChannel := make(chan srt.Packet, 65536)
|
||||
webrtcChannel := make(chan srt.Packet, 65536)
|
||||
forwardingChannel := make(chan srt.Packet, 64)
|
||||
webrtcChannel := make(chan srt.Packet, 64)
|
||||
|
||||
// Start routines
|
||||
go forwarding.Serve(forwardingChannel, cfg.Forwarding)
|
||||
|
Loading…
Reference in New Issue
Block a user