Commit Graph

91 Commits

Author SHA1 Message Date
erdnaxe 6ba297bf96 Merge branch 'multicast' into 'golang'
Multicast

See merge request nounous/ghostream!1
2020-09-30 14:46:15 +02:00
Yohann D'ANELLO b647c761f3 Test loading the configuration 2020-09-30 13:08:44 +02:00
Yohann D'ANELLO 4024ed5b2a Add a comment, fix linting 2020-09-30 08:50:54 +02:00
Yohann D'ANELLO 5efbe309ac Optimize FFMPEG parameters to reduce CPU charge 2020-09-30 00:36:58 +02:00
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
Yohann D'ANELLO 0adecb07cd Ghostream now uses SRT rather than RTMP (even if it is not implemented yet) 2020-09-29 19:12:29 +02:00
Alexandre Iooss 5b5bf2b518
Test splitHostPort 2020-09-29 18:52:27 +02:00
Alexandre Iooss 06542590e1
Make viewers counter period configurable 2020-09-29 18:44:32 +02:00
Alexandre Iooss 12009b5875
Smaller viewer count 2020-09-29 18:37:57 +02:00
Yohann D'ANELLO 881c78f576 Refresh viewer counter every 20 seconds 2020-09-29 18:25:38 +02:00
Alexandre Iooss f8aa587d0e
Handle error 2020-09-29 18:20:24 +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 c49b5eeb2b
Put iframe in a sandbox 2020-09-29 17:47:36 +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 c905eadc78 🐳 SRT packets should not pass though Traefik, don't expose metrics neither 2020-09-29 16:04:16 +02:00
Yohann D'ANELLO ae8ce829a6 HostSNI is not supported by UDP 2020-09-29 15:54:46 +02:00
Yohann D'ANELLO 903d56cd08 SRT port must be exposed as UDP port 2020-09-29 15:31:08 +02:00
Alexandre Iooss 82969360a4
Remove unused deps in Dockerfile 2020-09-29 15:22:25 +02:00
Yohann D'ANELLO e2e4a72e2a 🐳 Expose UDP ports in sample docker compose config 2020-09-29 14:54:04 +02:00
Alexandre Iooss 52b03ff9e0
Reorder ports 2020-09-29 14:47:16 +02:00
Yohann D'ANELLO 8e241aa575 💚 gcc and build-base are required 2020-09-29 14:25:36 +02:00
Yohann D'ANELLO 85febcf757 Add 1 second timeout to reconnect 2020-09-29 14:23:34 +02:00
Yohann D'ANELLO c67a4adf83 6 UDP ports are enough (but does not work) 2020-09-29 14:23:20 +02:00
Yohann D'ANELLO ae7dcf4221 libsrt got packaged in Alpine Linux 2020-09-29 14:22:56 +02:00
Alexandre Iooss d46efaae3c
Limit WebRTC UDP ports 2020-09-29 14:11:56 +02:00
Alexandre Iooss 19a331b9e0
How to stream with OBS 2020-09-29 13:43:49 +02:00
Alexandre Iooss a01e489089
How to stream with gstreamer 2020-09-29 13:36:12 +02:00
Alexandre Iooss fd39851485
Add reference to OBS wiki 2020-09-29 13:14:26 +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 48c8ff8987
Pack also statics during compilation 2020-09-28 18:06:10 +02:00
Alexandre Iooss c64506dc7c
Call pkger in docker build 2020-09-28 17:47:33 +02:00
Alexandre Iooss 7716898713
Use pkger to pack templates 2020-09-28 17:36:40 +02:00
Alexandre Iooss 92f44c981d
More code for SRT handling 2020-09-28 16:32:35 +02:00
Alexandre Iooss a552b48730
Add instructions for Debian 2020-09-28 16:29:24 +02:00
Alexandre Iooss 3449124d62
Fix typo in occurred 2020-09-28 10:54:02 +02:00
Alexandre Iooss 4eb15e4b1d
Add go report card 2020-09-28 10:53:10 +02:00
Alexandre Iooss 4a90390845
Add godoc badge 2020-09-28 10:51:20 +02:00
Yohann D'ANELLO 30c9bda404 🐳 Mounting folders is better than mounting files 2020-09-28 09:31:59 +02:00
Alexandre Iooss 503fb2698b
Test viewer page 2020-09-27 22:40:07 +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