Commit Graph

103 Commits

Author SHA1 Message Date
Yohann D'ANELLO f394af9257 Update main page 2020-10-29 13:43:36 +01:00
Alexandre Iooss cdb56c8bf5
Fix sendLocalDescription retry in web client 2020-10-23 08:11:55 +02:00
Alexandre Iooss ff2ebd76f1
Make viewer able to change quality 2020-10-22 18:41:14 +02:00
Alexandre Iooss 4cbb1d8192
Better javascript messages 2020-10-22 18:21:42 +02:00
Alexandre Iooss 24478bdc7a
Retry message sending when websocket not ready 2020-10-22 13:42:45 +02:00
Alexandre Iooss a2a74761bb
Parse JSON from server SDP 2020-10-22 08:23:35 +02:00
Alexandre Iooss ba8bf426e0
Fix JSON decoding 2020-10-22 08:19:01 +02:00
Alexandre Iooss 90d7bd4760
Add package comment in websocket_handler.go 2020-10-21 22:43:28 +02:00
Alexandre Iooss 2928e8ae77
Rename main.js to viewer.js 2020-10-21 22:43:11 +02:00
Alexandre Iooss e461c0b526
Fix some undefined this in js classes 2020-10-21 22:38:36 +02:00
Alexandre Iooss 9d162b13ed
WebRTC JS module 2020-10-21 22:10:39 +02:00
Alexandre Iooss 0b3fb87fa2
Working javascript modules 2020-10-20 21:59:07 +02:00
Alexandre Iooss c88f473ec0
Remove old JS 2020-10-20 21:45:26 +02:00
Alexandre Iooss 11231ceb84
viewerCounter and websocket JS modules 2020-10-20 21:29:41 +02:00
Alexandre Iooss 01efba3e3f
Handle websocket 2020-10-20 19:12:15 +02:00
Alexandre Iooss ac2f87e936
Add HTML viewport 2020-10-20 09:24:56 +02:00
Alexandre Iooss cd63c93dce
Fix web player overflow 2020-10-19 21:52:53 +02:00
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 d263f743f7
Update package web with Quality structure 2020-10-19 19:57:04 +02:00
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