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

134 Commits

Author SHA1 Message Date
Alexandre Iooss
37d944621b
Fix messaging hang by output 2020-10-18 15:13:13 +02:00
Alexandre Iooss
09a3422d06
Configure and test transcoder 2020-10-18 11:06:54 +02:00
Alexandre Iooss
23b6eeaa05
Add transcoder package with text transcoder 2020-10-17 19:40:37 +02:00
Alexandre Iooss
1469bd8759
Define streams in main.go 2020-10-17 18:22:06 +02:00
Alexandre Iooss
88dfc22d81
Restructure telnet package 2020-10-17 18:12:25 +02:00
Alexandre Iooss
f0990a630d
Make client count independant of outputs 2020-10-17 16:17:19 +02:00
Alexandre Iooss
70798ce1df
Test client count 2020-10-17 13:45:52 +02:00
Alexandre Iooss
5b8c73057b
Use reference to Stream 2020-10-17 13:43:16 +02:00
Alexandre Iooss
5b85eed646
Add Count method to stream 2020-10-17 13:03:49 +02:00
Alexandre Iooss
68d4ad8aee
Use messaging system in SRT package 2020-10-17 12:26:24 +02:00
Alexandre Iooss
e0911ab050
Use []byte for stream data 2020-10-17 10:21:40 +02:00
Alexandre Iooss
73e6be1274
Add Stream messaging struct 2020-10-17 10:02:38 +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
Alexandre Iooss
e63d4bf170
Iterate on pixel buffer in telnet package 2020-10-14 22:07:24 +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
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
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
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
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
df88fd9e99
Create config package and properly use Viper 2020-10-11 21:35:43 +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