1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-07-04 03:32:06 +02:00

Move srt handlers in seperate file

This commit is contained in:
Alexandre Iooss
2020-10-04 14:24:00 +02:00
parent 610ddfab28
commit dd6318256f
3 changed files with 68 additions and 65 deletions

View File

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