Commit Graph

194 Commits

Author SHA1 Message Date
Yohann D'ANELLO 3dd544c1e4 The FFMPEG parameters make WebRTC working 2020-10-10 17:00:25 +02:00
Yohann D'ANELLO 503649a6da Use FFMPEG settings that are recommended by pion, better performances, see #3 2020-10-10 14:19:42 +02:00
Yohann D'ANELLO a8146e7cbb Setting blocking option to 0, fix #11 2020-10-10 13:50:37 +02:00
Alexandre Iooss 5f457a1e6a
Also test web server desactivation 2020-10-09 23:57:39 +02:00
Alexandre Iooss fe43fdb4ae
TestHTTPServe was loading templates two times 2020-10-09 23:52:32 +02:00
Alexandre Iooss d1d6eb17b6
Test splitHostPort error cases 2020-10-09 23:37:08 +02:00
Alexandre Iooss aba6215bbc
Add monitoring tests 2020-10-09 23:26:26 +02:00
Alexandre Iooss 0fd1611836
Test bad username in basic auth backend 2020-10-09 23:19:53 +02:00
Alexandre Iooss 431bc2e7de
More auth backend test 2020-10-09 23:08:50 +02:00
Alexandre Iooss c7d38ba546
Upload HTML coverage as artifact 2020-10-09 22:55:32 +02:00
Alexandre Iooss 34e1e22bf1
Add more testing in auth package 2020-10-09 22:42:09 +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 0a0e8330f3
Enable web server during tests 2020-10-09 22:20:35 +02:00
Alexandre Iooss 7ae82656a4
Enable SRT server during testing 2020-10-09 22:17:25 +02:00
Alexandre Iooss 2bc62bb6e8
Do not test bypass auth backend 2020-10-09 22:17:07 +02:00
Alexandre Iooss 45c6b5dba5
Fix #7: make each module optional 2020-10-09 22:06:30 +02:00
Alexandre Iooss 99bfc5e109
Add note about conf via env vars 2020-10-09 17:37:32 +02:00
Alexandre Iooss 22192a5f68 Format example configuration 2020-10-09 17:31:01 +02:00
Yohann D'ANELLO ee13d9f0e9 Fix statistics test 2020-10-06 09:32:41 +02:00
Alexandre Iooss 392a9d7fc3
Quality selector reload stream 2020-10-06 09:20:25 +02:00
Alexandre Iooss 24acfe1137
Change the quality selector 2020-10-06 09:12:19 +02:00
Alexandre Iooss 87b9db7cea
Add reference to evaluation of go-ffmpeg bindings 2020-10-06 08:41:10 +02:00
Yohann D'ANELLO 07983a1c71 Try to add a quality selector (WIP), see #4 2020-10-06 00:06:52 +02:00
Yohann D'ANELLO 192c86f140 Count also the viewers that are streaming directly from their video player in the connected users stats 2020-10-05 22:41:19 +02:00
Yohann D'ANELLO 635081f269 Client receives the stream corresponding to the requested stream id 2020-10-05 22:34:55 +02:00
Yohann D'ANELLO 0a1329b929 Separate statistics per stream 2020-10-05 22:09:10 +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 cbe6a00d1a
Reduce verbosity of streaming 2020-10-05 11:08:22 +02:00
Alexandre Iooss 70296e462e
Change badge URLs 2020-10-05 10:34:58 +02:00
erdnaxe 4a566019c4 Merge branch 'webrtc' into 'dev'
Webrtc

See merge request nounous/ghostream!3
2020-10-05 10:33:03 +02:00
Alexandre Iooss 2a3b79734a
Copy track SSRC and payload, working webrtc! 2020-10-05 10:26:08 +02:00
Alexandre Iooss e8f4cd7683
Move webrtc ingest in seperate file 2020-10-05 10:11:30 +02:00
Yohann D'ANELLO 3a9568e764 Copy Pion RTP -> WebRTC example, it does not work but does not crash 2020-10-05 00:45:22 +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
Alexandre Iooss 4f320a90b5
Change web stream poster 2020-10-04 18:39:04 +02:00
Alexandre Iooss ad934516a9
Send SRT stream to WebRTC package 2020-10-04 18:22:10 +02:00
Yohann D'ANELLO 3bf27fb0b1 Don't use vars 2020-10-04 18:12:35 +02:00
Yohann D'ANELLO 7831238375 Don't split domain if we use standard HTTP ports 2020-10-04 18:10:11 +02:00
Alexandre Iooss d5ada0bce7
Do not put path in title when one stream per domain 2020-10-04 18:00:20 +02:00
Alexandre Iooss 6cf24cfb85
Add oneStreamPerDomain mode 2020-10-04 17:56:03 +02:00
Alexandre Iooss 10312667d8
Do not load chat button JS when there is no chat 2020-10-04 17:51:44 +02:00
Alexandre Iooss 86d436d33d
Limit SRT buffer to MTU 2020-10-04 14:27:16 +02:00
Alexandre Iooss dd6318256f
Move srt handlers in seperate file 2020-10-04 14:24:00 +02:00