1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-23 01:32:19 +00:00
Commit Graph

251 Commits

Author SHA1 Message Date
Alexandre Iooss
7d8c16fbb7
Pass webrtc sdp chan in newPeerHandler 2020-10-14 18:34:14 +02:00
Yohann D'ANELLO
f21ad568cc Don't always reallocate memory to store ascii chars 2020-10-14 17:10:31 +02:00
Alexandre Iooss
36a890a914
Grow buffer each time 2020-10-14 16:46:39 +02:00
Alexandre Iooss
67ef07cac5
Preallocate text buffer for telnet 2020-10-14 16:44:13 +02:00
Alexandre Iooss
868ee12726
Telnet: Preallocate pixel variable 2020-10-14 16:10:04 +02:00
Alexandre Iooss
1e712b2795
Reduce chan sizes 2020-10-14 15:43:54 +02:00
Alexandre Iooss
16756be5b4
README: Change config path 2020-10-14 15:38:03 +02:00
Alexandre Iooss
c8bbe5dbe5
Ignore profiling data 2020-10-14 15:34:29 +02:00
Alexandre Iooss
b612ce192e
Clarify gstreamer in README 2020-10-14 10:12:37 +02:00
Alexandre Iooss
80dbbfef79
Add some instructions to embed player 2020-10-13 19:40:31 +02:00
Alexandre Iooss
dc01eca73c
Add ?nowidget GET parameter 2020-10-13 19:36:28 +02:00
Alexandre Iooss
0f98f6f62c
Fix control bar detaching from video player and remove padding 2020-10-13 19:25:21 +02:00
Alexandre Iooss
1e4a596131
Add test file for telnet package 2020-10-13 18:55:12 +02:00
Alexandre Iooss
4182668fcb
Reorder some imports in webrtc package 2020-10-13 18:55:02 +02:00
Alexandre Iooss
54a7c61198
Change some configuration comments 2020-10-13 18:53:03 +02:00
erdnaxe
d6750f219a Merge branch 'asciiart' into 'dev'
Asciiart and performance

Closes #16

See merge request nounous/ghostream!4
2020-10-13 18:48:00 +02:00
Yohann D'ANELLO
029633d215 Don't fail tests if the telnet module is not loaded 2020-10-13 18:40:12 +02:00
Yohann D'ANELLO
084ea676be Sort imports 2020-10-13 18:04:00 +02:00
Yohann D'ANELLO
771a7c1c1b Better comments in example configuration file 2020-10-13 18:03:14 +02:00
Yohann D'ANELLO
0dc89b57e1 Order exposed ports 2020-10-13 18:01:20 +02:00
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
Alexandre Iooss
293a75803e
Change default config path 2020-10-12 21:27:44 +02:00
Alexandre Iooss
407d565927
Switch to configuro package 2020-10-12 21:23:06 +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