Commit Graph

127 Commits

Author SHA1 Message Date
Yohann D'ANELLO 9049935ee4 Use only one instance of FFPMEG per SRT stream instead of one per additional cast 2020-09-29 23:43:54 +02:00
Yohann D'ANELLO 351870e92a Merge remote-tracking branch 'origin/golang' into multicast
# Conflicts:
#	stream/srt/srt.go
2020-09-29 22:43:37 +02:00
Yohann D'ANELLO 5fa492547b Use external configuration to setup multicasts 2020-09-29 22:40:49 +02:00
Yohann D'ANELLO 2920b6883c Separate multicast feature 2020-09-29 21:31:53 +02:00
Alexandre Iooss ad26242d4a
Simplify SRT handling 2020-09-29 20:58:55 +02:00
Yohann D'ANELLO 969d36fab4 Use FFMPEG to broadcast the stream on Twitch 2020-09-29 20:56:31 +02:00
Alexandre Iooss 5b5bf2b518
Test splitHostPort 2020-09-29 18:52:27 +02:00
Alexandre Iooss 078a74add1
Do not read prometheus metrics 2020-09-29 18:17:55 +02:00
Yohann D'ANELLO 2005f3ece1 Store connected viewers in Prometheus and serve this amount 2020-09-29 18:03:28 +02:00
Alexandre Iooss 95f4b81f01
Make STUN server configurable 2020-09-29 17:27:19 +02:00
Alexandre Iooss 1c98754624
Restructure projet and add webrtc settings 2020-09-29 17:04:23 +02:00
Alexandre Iooss 29eeb2c0fd
Load SRT host and port from configuration 2020-09-29 16:49:30 +02:00
Yohann D'ANELLO c67a4adf83 6 UDP ports are enough (but does not work) 2020-09-29 14:23:20 +02:00
Alexandre Iooss d46efaae3c
Limit WebRTC UDP ports 2020-09-29 14:11:56 +02:00
Yohann D'ANELLO da5ba44e6b 🌱 Create empty test files to have a realistic coverage 2020-09-28 21:18:49 +02:00
Alexandre Iooss 92f44c981d
More code for SRT handling 2020-09-28 16:32:35 +02:00
Alexandre Iooss 6c7ac2d3b3
Fix sck to srtgo 2020-09-27 22:32:49 +02:00
Alexandre Iooss a6e972bb51
SrtSocket is a struct 2020-09-27 22:30:12 +02:00
Alexandre Iooss 5999fc69d8
Try to fix SRT initialization 2020-09-27 22:27:18 +02:00
Alexandre Iooss 172b1c3a84
Handle stream in a goroutine 2020-09-27 22:10:47 +02:00
Yohann D'ANELLO 9e3494fe6d 🐛 Fix debug format printing 2020-09-27 21:21:58 +02:00
Alexandre Iooss 622bb42435
Switch to haivision SRT module 2020-09-27 20:43:00 +02:00
Alexandre Iooss d4aa09c632
Add basic SRT support 2020-09-27 11:14:22 +02:00
Alexandre Iooss 6b5fea66e6
Proper multi client WebRTC 2020-09-25 15:12:28 +02:00
Alexandre Iooss ef760ae4cc
Create first webrtc session like others 2020-09-25 12:03:40 +02:00
Alexandre Iooss 6a138d1b1a
WebRTC for the curious reference 2020-09-24 19:01:26 +02:00
Alexandre Iooss 097766141f
WebRTC session exchange working 2020-09-24 11:24:13 +02:00