Commit Graph

40 Commits

Author SHA1 Message Date
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 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 cd63c93dce
Fix web player overflow 2020-10-19 21:52:53 +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
Yohann D'ANELLO 1a0fcb9c44 Register keyboard interactions to mute/pause/set fullscreen mode 2020-10-18 11:32:57 +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 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
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 064e35935d
Style player in seperate CSS file 2020-10-11 10:54:10 +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 0a1329b929 Separate statistics per stream 2020-10-05 22:09:10 +02:00
Alexandre Iooss 4f320a90b5
Change web stream poster 2020-10-04 18:39:04 +02:00
Alexandre Iooss ac40d81e98
Use fetch API to fetch viewers count 2020-09-30 15:56:24 +02:00
Alexandre Iooss 9fe544b7bc
Add a favicon 2020-09-30 15:52:26 +02:00
Alexandre Iooss 06542590e1
Make viewers counter period configurable 2020-09-29 18:44:32 +02:00
Alexandre Iooss 12009b5875
Smaller viewer count 2020-09-29 18:37:57 +02:00
Yohann D'ANELLO 881c78f576 Refresh viewer counter every 20 seconds 2020-09-29 18:25:38 +02:00
Alexandre Iooss 95f4b81f01
Make STUN server configurable 2020-09-29 17:27:19 +02:00
Yohann D'ANELLO 85febcf757 Add 1 second timeout to reconnect 2020-09-29 14:23:34 +02:00
Alexandre Iooss 43158a655f
Auto reconnect to stream 2020-09-24 12:40:48 +02:00
Alexandre Iooss 097766141f
WebRTC session exchange working 2020-09-24 11:24:13 +02:00
Alexandre Iooss 4990d09767
Use POST to exchange WebRTC sessions 2020-09-23 13:52:12 +02:00
Alexandre Iooss 73d08f497e WebRTC player 2020-09-22 22:08:14 +02:00
Alexandre Iooss b5a7b9bbcd Initial Golang project 2020-09-21 17:29:50 +02:00