Commit Graph

324 Commits

Author SHA1 Message Date
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
Alexandre Iooss 2a6291c2fd
Add docker build command in README 2020-09-27 22:14:35 +02:00
Alexandre Iooss a2fd2499a9
Add docker launch line in README 2020-09-27 22:13:51 +02:00
Alexandre Iooss 172b1c3a84
Handle stream in a goroutine 2020-09-27 22:10:47 +02:00
Yohann D'ANELLO e64f5105c9 Update docker-compose example configuration 2020-09-27 22:06:57 +02:00
Alexandre Iooss b4ce28634d
Listen by default on 0.0.0.0 2020-09-27 21:55:28 +02:00
Alexandre Iooss c80885a2ef
Config needs to end with .yml 2020-09-27 21:46:33 +02:00
Alexandre Iooss 7253ab3b49
Package required libs in docker 2020-09-27 21:44:12 +02:00
Yohann D'ANELLO ac1e9fdc88 💚 Linting should not fail the CI 2020-09-27 21:31:35 +02:00
Alexandre Iooss 8b8b99c6ae
Cache go modules in docker 2020-09-27 21:26:06 +02:00
Yohann D'ANELLO 9e3494fe6d 🐛 Fix debug format printing 2020-09-27 21:21:58 +02:00
Yohann D'ANELLO 559c04322a 👷 Add Gitlab Continuous Integration 2020-09-27 21:21:32 +02:00
Alexandre Iooss 622bb42435
Switch to haivision SRT module 2020-09-27 20:43:00 +02:00
Alexandre Iooss 1cba80d53e
Compile libsrt in Docker 2020-09-27 20:25:42 +02:00
Yohann D'ANELLO c71d2fec1a VP8 video files are in .ivf format 2020-09-27 20:19:33 +02:00
Yohann D'ANELLO 60504d1c4e 🙈 Add .gitignore 2020-09-27 20:17:06 +02:00
Alexandre Iooss 3576674cf8
Tidy Go dependencies 2020-09-27 11:22:20 +02:00
Alexandre Iooss d4aa09c632
Add basic SRT support 2020-09-27 11:14:22 +02:00