Commit Graph

144 Commits

Author SHA1 Message Date
Alexandre Iooss e1f83a32df
Put webrtc SDP inside Quality struct 2020-10-19 21:45:23 +02:00
Alexandre Iooss e848d92a1a
Fix viewer count 2020-10-19 20:05:20 +02:00
Alexandre Iooss 34200afaed
Update package webrtc with Quality structure 2020-10-19 19:48:44 +02:00
Alexandre Iooss 340d0447a8
Update package telnet with Quality structure 2020-10-19 19:44:30 +02:00
Alexandre Iooss 069b2155be
Update package srt with Quality structure 2020-10-19 19:40:36 +02:00
Alexandre Iooss c317d91b8d
Update package forwarding with Quality structure 2020-10-19 19:28:30 +02:00
Alexandre Iooss f825d3d513
New Streams and Quality structures 2020-10-19 19:14:46 +02:00
Yohann D'ANELLO 37b5106c4e Fix the forwarding package with the new messaging package 2020-10-18 20:36:36 +02:00
Alexandre Iooss c42ca78fac
Add package comment on transcoder 2020-10-18 16:14:13 +02:00
Alexandre Iooss b9da2ab3a7
Make webrtc and forwarding work with new messaging 2020-10-18 16:05:28 +02:00
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