Commit Graph

22 Commits

Author SHA1 Message Date
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
Yohann D'ANELLO 473e80c5eb Kill FFMPEG at the end of the forwarding test 2020-10-09 22:31:19 +02:00
Alexandre Iooss 811cec5626
Enable SRT server for forwarding tests 2020-10-09 22:24:01 +02:00
Alexandre Iooss 4e066d6c33
If ffmpeg returns an error, then test failed 2020-10-04 21:05:42 +02:00
Alexandre Iooss 708501c5c8
use time.Second to wait for 5s 2020-10-04 20:52:26 +02:00
Alexandre Iooss f3d38dc10d
ffmpeg outputs logs only to stderr 2020-10-04 20:47:05 +02:00
Alexandre Iooss 1576e391eb
Remove globals in forwarding package and make ffmpeg quieter 2020-10-04 20:42:16 +02:00
Alexandre Iooss 606542f622
Remove cfg and forwardingChannel globals in forwarding package 2020-10-04 20:16:29 +02:00
Yohann D'ANELLO 087d6eee3b Use : as more conventional separator for user:password 2020-10-02 22:39:38 +02:00
Yohann D'ANELLO 0371d3dc7c Authenticate streams 2020-10-01 23:31:14 +02:00
Yohann D'ANELLO b5338e06bc Fix forwarding test, overwrite /dev/null 2020-10-01 20:53:26 +02:00
Yohann D'ANELLO 650040ef10 Forwarding test must serve then the forwarding package in a subroutine 2020-10-01 19:34:40 +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 ee1f1e331b 💩 Change port of SRT server if the forwarding test. We should instead kill the server after the test. 2020-10-01 12:09:49 +02:00
Yohann D'ANELLO c0689ae063 💩 Change port of SRT server if the forwarding test. We should instead kill the server after the test. 2020-10-01 12:07:28 +02:00
Yohann D'ANELLO efa44488c0 Use channels to send SRT packets to forwarded streams 2020-10-01 12:00:59 +02:00
Yohann D'ANELLO dc7a3fef9f Test stream forwarding, but disable it while the project structure is not clean, ie. to avoid that forwarding is a dependency to srt 2020-10-01 11:20:34 +02:00
Yohann D'ANELLO ddd8be155e Try to test serving SRT server 2020-09-30 16:53:15 +02:00
Alexandre Iooss 8883c878bf
Better error handling in stream forwarder 2020-09-30 15:28:19 +02:00
Alexandre Iooss 2550d75c57
Refractor streamKey to name 2020-09-30 15:10:13 +02:00
Alexandre Iooss 8f7384ba35
Rename multicast to stream forwarding 2020-09-30 15:07:36 +02:00