1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 15:02:19 +00:00
Commit Graph

229 Commits

Author SHA1 Message Date
Yohann D'ANELLO
a6fd1344bc Avoid to DDOS the server, querying infinite time per second a blank page is maybe too much, useless and dangerous 2020-10-13 17:57:38 +02:00
Yohann D'ANELLO
e154fe1a1e Stream ID was broken in the current viewers stats 2020-10-13 17:43:53 +02:00
Yohann D'ANELLO
a2efa1126f Underscores are ignored by YAML, uses dashes 2020-10-13 17:25:00 +02:00
Yohann D'ANELLO
de2ac30292 Replace dots by underscores in MapDomainToStream configuration 2020-10-13 17:18:44 +02:00
Yohann D'ANELLO
4546f3b8fb Map domain to streamid instead of considering that the domain is the streamid: no need to pass a YAML key that contains dots 2020-10-13 17:12:19 +02:00
Yohann D'ANELLO
3b8c149e38 Port 8023 is better, it is non protected. Users are free to bind another port 2020-10-13 11:38:22 +02:00
Yohann D'ANELLO
51d38f6fec Store the clients that are connected to a telnet shell in the connected viewers stats 2020-10-13 11:37:59 +02:00
Yohann D'ANELLO
88c4a037cb Add 3 seconds delay before accepting telnet inputs to avoid bruteforce attacks 2020-10-13 11:28:29 +02:00
Yohann D'ANELLO
0055b73917 Expose port 23 for telnet inputs 2020-10-13 11:26:50 +02:00
Yohann D'ANELLO
6d9fe4a028 Use string pointers for the telnet output to avoid concurrency map read/write 2020-10-13 11:17:35 +02:00
Yohann D'ANELLO
770862cb7d Don't use -re ffmpeg option: the video speed is already cadenced by the streamer. Fix #16 2020-10-13 10:46:04 +02:00
Yohann D'ANELLO
3ce82c5d61 Allocate memory for UDP buffers only once 2020-10-13 10:10:25 +02:00
Yohann D'ANELLO
32f877508d Separate the WebRTC stream subroutine in a dedicated subroutine 2020-10-13 09:50:46 +02:00
Yohann D'ANELLO
defba52569 If there is no forwarding, drop forwarding channels 2020-10-13 09:38:44 +02:00
Yohann D'ANELLO
7325301574 Comment in the right order 2020-10-13 01:41:17 +02:00
Yohann D'ANELLO
4db102c384 Ascii is a known keyword, must be in capital letters 2020-10-13 00:56:49 +02:00
Yohann D'ANELLO
727865f444 Interact with telnet to select the stream id 2020-10-13 00:52:08 +02:00
Yohann D'ANELLO
95fcedf2fa Comment telnet package 2020-10-13 00:31:47 +02:00
Yohann D'ANELLO
ee76951854 Don't export to ASCII art if the telnet packet is disabled 2020-10-13 00:30:05 +02:00
Yohann D'ANELLO
61ae490a5d Make telnet output configurable 2020-10-13 00:15:23 +02:00
Yohann D'ANELLO
e640450d98 Start telnet connection to send ASCII Art stream 2020-10-12 23:39:26 +02:00
Yohann D'ANELLO
b675023804 Prepare ascii art quality 2020-10-12 23:11:02 +02:00
Yohann D'ANELLO
fc96fa4d4e In oneStreamPerDomain mode, allocate the /about to display informations about Ghostream 2020-10-11 23:09:48 +02:00
Alexandre Iooss
863fbdfc45
Add python command to generate bcrypt for basic auth backend 2020-10-11 22:38:39 +02:00
Alexandre Iooss
a0e520e128
Make player poster customisable, fix #20 2020-10-11 22:02:20 +02:00
Alexandre Iooss
1cab361815
Add package description to config 2020-10-11 21:48:00 +02:00
Alexandre Iooss
df88fd9e99
Create config package and properly use Viper 2020-10-11 21:35:43 +02:00
Alexandre Iooss
de5a48ded7
Always log ICE change on client 2020-10-11 15:03:28 +02:00
Alexandre Iooss
d73a7be9f3
Make SVG favicon use SVG stack 2020-10-11 11:56:52 +02:00
Alexandre Iooss
3eb5f4cc4b
Make select options dark on Chromium 2020-10-11 11:07:51 +02:00
Alexandre Iooss
2ee2ed78a9
Custom CSS support, fix #10 2020-10-11 11:04:40 +02:00
Alexandre Iooss
064e35935d
Style player in seperate CSS file 2020-10-11 10:54:10 +02:00
Alexandre Iooss
8de28e4781
Specify version for libsrt on Buster 2020-10-11 00:55:04 +02:00
Alexandre Iooss
dd845aa155
Update install instructions 2020-10-11 00:41:49 +02:00
Yohann D'ANELLO
4d1dff60c7 -crf is better that -quality good 2020-10-10 17:05:36 +02:00
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