Commit Graph

44 Commits

Author SHA1 Message Date
Alexandre Iooss 09a3422d06
Configure and test transcoder 2020-10-18 11:06:54 +02:00
Alexandre Iooss 23b6eeaa05
Add transcoder package with text transcoder 2020-10-17 19:40:37 +02:00
Alexandre Iooss 1469bd8759
Define streams in main.go 2020-10-17 18:22:06 +02:00
Alexandre Iooss 1e712b2795
Reduce chan sizes 2020-10-14 15:43:54 +02:00
Yohann D'ANELLO 084ea676be Sort imports 2020-10-13 18:04:00 +02:00
Yohann D'ANELLO 61ae490a5d Make telnet output configurable 2020-10-13 00:15:23 +02:00
Alexandre Iooss df88fd9e99
Create config package and properly use Viper 2020-10-11 21:35:43 +02:00
Alexandre Iooss 87d2992bdf
Add package comments 2020-10-09 22:36:02 +02:00
Alexandre Iooss 45c6b5dba5
Fix #7: make each module optional 2020-10-09 22:06:30 +02:00
Yohann D'ANELLO 022f6fb098 💩 Split webrtc tracks by stream id (need to clean this, stream ID must pass between the session descriptor and the webrtc flux transmit) 2020-10-05 22:00:08 +02:00
Alexandre Iooss 76f009efe3
Use logger rather than panic in ingest 2020-10-05 11:38:17 +02:00
Alexandre Iooss 606542f622
Remove cfg and forwardingChannel globals in forwarding package 2020-10-04 20:16:29 +02:00
Alexandre Iooss ad934516a9
Send SRT stream to WebRTC package 2020-10-04 18:22:10 +02:00
Alexandre Iooss 6cf24cfb85
Add oneStreamPerDomain mode 2020-10-04 17:56:03 +02:00
Alexandre Iooss dd6318256f
Move srt handlers in seperate file 2020-10-04 14:24:00 +02:00
Alexandre Iooss 5cdb5282ef
Display SRT url on web page 2020-10-04 11:45:16 +02:00
Alexandre Iooss 848b03a262
Add default demo:demo credentials 2020-10-04 10:39:17 +02:00
Yohann D'ANELLO 94224edfba Enlarge forwarding channel to avoid blockings from the forwarding package 2020-10-03 00:08:32 +02:00
Yohann D'ANELLO 0371d3dc7c Authenticate streams 2020-10-01 23:31:14 +02:00
Yohann D'ANELLO d7e104261f Unify the forwarding package start with the other, start it in a go routine 2020-10-01 19:26:12 +02:00
Yohann D'ANELLO efa44488c0 Use channels to send SRT packets to forwarded streams 2020-10-01 12:00:59 +02:00
Alexandre Iooss 9fe544b7bc
Add a favicon 2020-09-30 15:52:26 +02:00
Alexandre Iooss 8883c878bf
Better error handling in stream forwarder 2020-09-30 15:28:19 +02:00
Alexandre Iooss 8f7384ba35
Rename multicast to stream forwarding 2020-09-30 15:07:36 +02:00
Yohann D'ANELLO 5fa492547b Use external configuration to setup multicasts 2020-09-29 22:40:49 +02:00
Alexandre Iooss 06542590e1
Make viewers counter period configurable 2020-09-29 18:44:32 +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
Alexandre Iooss 7716898713
Use pkger to pack templates 2020-09-28 17:36:40 +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 d4aa09c632
Add basic SRT support 2020-09-27 11:14:22 +02:00
Alexandre Iooss 097766141f
WebRTC session exchange working 2020-09-24 11:24:13 +02:00
Alexandre Iooss 46d643de04 Add basic and bypass auth methods 2020-09-22 16:39:06 +02:00
Alexandre Iooss c1de814a2a Use NewLDAP to instanciate LDAP backend 2020-09-22 14:16:52 +02:00
Alexandre Iooss 07c8dc6ca1 LDAP authentification backend 2020-09-22 12:54:12 +02:00
Alexandre Iooss 5ac336393b Restructure configuration 2020-09-22 11:42:57 +02:00
Alexandre Iooss c799a5b613 Monitoring is an internal package 2020-09-21 21:38:11 +02:00
Alexandre Iooss 7cdd78a70e Add prometheus monitoring endpoint 2020-09-21 21:33:32 +02:00
Alexandre Iooss ad75d2c774 Put web server in a goroutine 2020-09-21 21:05:45 +02:00
Alexandre Iooss 28e3b4c753 Implement config loading 2020-09-21 19:59:41 +02:00
Alexandre Iooss a0d814b76b Split web into Go submodule 2020-09-21 17:47:31 +02:00
Alexandre Iooss b5a7b9bbcd Initial Golang project 2020-09-21 17:29:50 +02:00