1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 11:00:55 +02:00

Authenticate streams

This commit is contained in:
Yohann D'ANELLO
2020-10-01 23:31:14 +02:00
parent b5338e06bc
commit 0371d3dc7c
4 changed files with 42 additions and 12 deletions

View File

@ -96,7 +96,7 @@ func main() {
// Start stream, web and monitoring server, and stream forwarding
go forwarding.Serve(cfg.Forwarding, forwardingChannel)
go monitoring.Serve(&cfg.Monitoring)
go srt.Serve(&cfg.Srt, forwardingChannel)
go srt.Serve(&cfg.Srt, authBackend, forwardingChannel)
go web.Serve(remoteSdpChan, localSdpChan, &cfg.Web)
go webrtc.Serve(remoteSdpChan, localSdpChan, &cfg.WebRTC)