Commit Graph

83 Commits

Author SHA1 Message Date
Yohann D'ANELLO b5aac93c97 Sum all user counts for each substream to have the total number of clients that are connected to a stream 2020-10-18 20:44:31 +02:00
Alexandre Iooss 55245208b4
Fix player width 2020-10-18 19:14:49 +02:00
Alexandre Iooss e1a0897cc4
On click, mute and demute player 2020-10-18 18:52:41 +02:00
Alexandre Iooss ac5fc7a33b
Make player flex 2020-10-18 18:25:18 +02:00
erdnaxe e51885aedc Merge branch 'messaging' into 'dev'
Messaging

See merge request nounous/ghostream!6
2020-10-18 16:17:01 +02:00
Yohann D'ANELLO 1a0fcb9c44 Register keyboard interactions to mute/pause/set fullscreen mode 2020-10-18 11:32:57 +02:00
Alexandre Iooss 88dfc22d81
Restructure telnet package 2020-10-17 18:12:25 +02:00
Alexandre Iooss 5b8c73057b
Use reference to Stream 2020-10-17 13:43:16 +02:00
Alexandre Iooss b8ee60ce9f
Use messaging in web package 2020-10-17 12:38:18 +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 d8e021b5ed
Fix typo in negotiation 2020-10-14 21:37:05 +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
Yohann D'ANELLO 084ea676be Sort imports 2020-10-13 18:04:00 +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 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 fc96fa4d4e In oneStreamPerDomain mode, allocate the /about to display informations about Ghostream 2020-10-11 23:09:48 +02:00
Alexandre Iooss a0e520e128
Make player poster customisable, fix #20 2020-10-11 22:02:20 +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 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 87d2992bdf
Add package comments 2020-10-09 22:36:02 +02:00
Alexandre Iooss 0a0e8330f3
Enable web server during tests 2020-10-09 22:20:35 +02:00
Alexandre Iooss 45c6b5dba5
Fix #7: make each module optional 2020-10-09 22:06:30 +02:00
Yohann D'ANELLO ee13d9f0e9 Fix statistics test 2020-10-06 09:32:41 +02:00
Alexandre Iooss 392a9d7fc3
Quality selector reload stream 2020-10-06 09:20:25 +02:00
Alexandre Iooss 24acfe1137
Change the quality selector 2020-10-06 09:12:19 +02:00
Yohann D'ANELLO 07983a1c71 Try to add a quality selector (WIP), see #4 2020-10-06 00:06:52 +02:00
Yohann D'ANELLO 192c86f140 Count also the viewers that are streaming directly from their video player in the connected users stats 2020-10-05 22:41:19 +02:00
Yohann D'ANELLO 0a1329b929 Separate statistics per stream 2020-10-05 22:09:10 +02:00
Yohann D'ANELLO 022f6fb098 💩 Split webrtc tracks by stream id (need to clean this, stream ID must pass between the session descriptor and the webrtc flux transmit) 2020-10-05 22:00:08 +02:00
Alexandre Iooss 4f320a90b5
Change web stream poster 2020-10-04 18:39:04 +02:00
Yohann D'ANELLO 3bf27fb0b1 Don't use vars 2020-10-04 18:12:35 +02:00
Yohann D'ANELLO 7831238375 Don't split domain if we use standard HTTP ports 2020-10-04 18:10:11 +02:00
Alexandre Iooss d5ada0bce7
Do not put path in title when one stream per domain 2020-10-04 18:00:20 +02:00
Alexandre Iooss 6cf24cfb85
Add oneStreamPerDomain mode 2020-10-04 17:56:03 +02:00
Alexandre Iooss 10312667d8
Do not load chat button JS when there is no chat 2020-10-04 17:51:44 +02:00
Alexandre Iooss 3c16c11f38
Hide sidebar widget if no url provided 2020-10-04 11:57:42 +02:00
Alexandre Iooss 5cdb5282ef
Display SRT url on web page 2020-10-04 11:45:16 +02:00
Yohann D'ANELLO 8da60ebdcc Add empty configuration in Web Handler test 2020-10-03 13:28:54 +02:00
Yohann D'ANELLO 7ceecad355 ID is better than Id according to Golang 2020-10-02 21:13:50 +02:00