Commit Graph

269 Commits

Author SHA1 Message Date
Yohann D'ANELLO 1a0fcb9c44 Register keyboard interactions to mute/pause/set fullscreen mode 2020-10-18 11:32:57 +02:00
Alexandre Iooss 9fc94cf0de
Change not found error message 2020-10-16 21:26:48 +02:00
Alexandre Iooss 73a2adc055
Do not allow \ or @ in URL 2020-10-16 21:23:13 +02:00
Alexandre Iooss fcfe69143f
Fix telnet test 2020-10-16 20:53:38 +02:00
Alexandre Iooss b5907fee1a
Use ANSI background color for telnet package 2020-10-16 20:09:59 +02:00
erdnaxe fd606be15c Merge branch 'telnetopti' into 'dev'
Iterate on pixel buffer in telnet package

See merge request nounous/ghostream!5
2020-10-16 17:49:48 +02:00
Alexandre Iooss e63d4bf170
Iterate on pixel buffer in telnet package 2020-10-14 22:07:24 +02:00
Alexandre Iooss d26562d43d
Add docker build badge to README 2020-10-14 21:44:51 +02:00
Alexandre Iooss d8e021b5ed
Fix typo in negotiation 2020-10-14 21:37:05 +02:00
Alexandre Iooss 772ddb1994
Fix typo in occurred 2020-10-14 21:36:12 +02:00
Alexandre Iooss c3629bdbb5
Remove ineffectual assignments 2020-10-14 21:33:51 +02:00
Yohann D'ANELLO e53d5a02ab More coverage on telnet package 2020-10-14 20:01:07 +02:00
Yohann D'ANELLO 1f0dc64c35 Ensure that one telnet client is connected in tests 2020-10-14 19:46:53 +02:00
Yohann D'ANELLO 8590f23039 Test telnet package 2020-10-14 19:42:23 +02:00
Yohann D'ANELLO e5f4c3a7e6 FFMPEG is a dependency, don't check if it is installed 2020-10-14 19:04:50 +02:00
Alexandre Iooss e56b21b819
Do not export ASCII chars 2020-10-14 19:02:03 +02:00
Alexandre Iooss 177ed189ff
Test WebRTC Serve 2020-10-14 18:57:37 +02:00
Alexandre Iooss 099fb8e203
Disable Trickle ICE 2020-10-14 18:37:51 +02:00
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