Commit Graph
100 Commits
Author SHA1 Message Date
Gabe Kangas 04e8e2d82d Fix passthrough video setting 2020-06-18 22:38:01 -07:00
Gabe Kangas 886485255a Fix errors on Firefox 2020-06-18 20:46:07 -07:00
Gabe KangasandGitHub 88b2301321 Merge pull request #10 from graywolf336/fix-initial-offline-state
Fix initial offline state
2020-06-18 18:08:26 -07:00
Gabe Kangas 69da77b054 Fix short segment thumbnails. Move to JPG thumbs. Fix default thumb copy. 2020-06-18 17:56:06 -07:00
Gabe Kangas cfc7ea7967 Remove log 2020-06-18 15:31:51 -07:00
Gabe Kangas 465fa84b17 Add some more to .gitignore 2020-06-18 15:12:39 -07:00
Gabe Kangas 55776b0136 Add default thumbnail 2020-06-18 15:12:25 -07:00
Gabe KangasandGitHub f1d945f4ca Merge pull request #5 from graywolf336/add-gitignore
Add a gitignore file
2020-06-18 15:00:41 -07:00
Gabe Kangas 26760b3be1 Rework how videojs is initialized 2020-06-18 14:38:06 -07:00
Gabe Kangas f013a8639a Actually fix race condition that happens in production. I think. 2020-06-18 13:37:01 -07:00
Gabe Kangas 3ce6026cc8 Simplify videojs init 2020-06-18 01:24:09 -07:00
Gabe Kangas e8edce5178 Continue to troubleshoot race condition at launch 2020-06-18 01:23:52 -07:00
Gabe Kangas 1c3031acb0 Throw an error if version is not specified in build script 2020-06-17 23:54:55 -07:00
Gabe Kangas 6bc10dc812 Add web content file to build 2020-06-17 23:24:27 -07:00
Gabe Kangas e083663a77 Continue to standardize on logging 2020-06-17 23:01:49 -07:00
Gabe Kangas 02692befc6 Troubleshooting race condition 2020-06-17 23:01:31 -07:00
Gabe Kangas e63d0656ba Add basic file upload retry with a hardcoded limit 2020-06-17 22:01:53 -07:00
Gabe Kangas 728b5fe3d7 Update videojs 2020-06-17 21:14:58 -07:00
Gabe Kangas d00d5d3390 Disallow caching of hls playlists client-side 2020-06-17 21:02:16 -07:00
Gabe Kangas b0a73a99b9 Add ability to populate the content area in the page with a markdown file 2020-06-17 20:56:24 -07:00
Gabe Kangas 594e1c774a Add ability to populate the content area in the page with a markdown file 2020-06-17 20:20:28 -07:00
Gabe Kangas 0cb2ab396c Try to fix a race condition where a file is attempted to be moved and deleted at the same time 2020-06-17 18:09:32 -07:00
Gabe Kangas f20d8b3179 Troubleshoot player not getting ready event on production server 2020-06-17 17:48:33 -07:00
Gabe Kangas 5cecb50b2e When starting the server provide a default stream offline state 2020-06-17 17:32:14 -07:00
Gabe Kangas 06ec265038 Use on Ready event instead of player setup hook 2020-06-17 17:16:34 -07:00
Gabe Kangas 431c1a54e7 Split out status polling into own file 2020-06-17 16:35:47 -07:00
Gabe Kangas e3d84f37ac Standardize logging format 2020-06-17 16:31:19 -07:00
Gabe Kangas 375be379b6 Force variant playlist after file uploads 2020-06-17 16:27:22 -07:00
Gabe Kangas b2f74adc02 Move player js to player.js. Update offline video clip. 2020-06-17 16:25:27 -07:00
Gabe Kangas b835d7d56f Catch automated play() promise error 2020-06-16 21:48:37 -07:00
Gabe Kangas b35059f17b Wait until player is setup before we start polling for status 2020-06-16 21:08:31 -07:00
Gabe Kangas cbe37d68ce Silence some logging 2020-06-16 19:24:20 -07:00
Gabe Kangas c6e4ea8349 Use client-side config files to config things 2020-06-16 18:58:03 -07:00
Gabe Kangas ca4932e2b4 Make the entire web page wrapped in a vue object 2020-06-16 18:36:11 -07:00
Gabe Kangas c8fa2add17 First pass at a build/release script. Closes #2 2020-06-16 17:49:25 -07:00
Gabe Kangas d7229a8c6d Add AirPlay player button 2020-06-15 20:12:24 -07:00
Gabe Kangas 285a7df390 Add some formatting to quickstart 2020-06-15 18:56:18 -07:00
Gabe Kangas 12d2973e9c Finally give this thing a stupid real title 2020-06-15 18:20:42 -07:00
Gabe Kangas a90d98ff1b Auto-restart playback when the stream comes back online 2020-06-15 17:23:44 -07:00
Gabe Kangas f900539481 Use simpler offline segment filenames to assist in caching 2020-06-15 16:38:11 -07:00
Gabe Kangas 5bc3555206 Stitch in an offline slate when the RTMP stream is dropped 2020-06-15 16:27:58 -07:00
Gabe Kangas 120172188d Remove unused methods 2020-06-15 15:21:08 -07:00
Gabe Kangas 96870870e1 Remove unused method 2020-06-15 14:52:51 -07:00
Gabe Kangas 08d20a1096 Add color hash for user avatar backgrounds 2020-06-15 13:44:39 -07:00
Gabe Kangas 7e959e3ba1 Add color hash for user avatar backgrounds 2020-06-15 13:42:34 -07:00
Gabe Kangas a88a78c7f2 Update modules 2020-06-14 23:53:02 -07:00
Gabe Kangas ede890cf5d Unblock RTMP packets? 2020-06-14 23:06:43 -07:00
Gabe Kangas 94b5b58076 Add quickstart docker setup instructions 2020-06-14 22:52:56 -07:00
Gabe Kangas d9ce2c0575 Remove hardcoded urls 2020-06-14 22:27:02 -07:00
Gabe Kangas 0d0e33c607 Encoder tweaks 2020-06-14 21:17:01 -07:00
Gabe Kangas 11b842ec53 Remove sea theme 2020-06-14 19:15:24 -07:00
Gabe Kangas f586d79f8e Update Readme to specify compatibility with Streamlabs 2020-06-14 19:06:01 -07:00
Gabe Kangas 8821f09a9d Fix changing username 2020-06-14 18:28:21 -07:00
Gabe Kangas 4e61848d31 Use sea theme just to get rid of that upper left hand corner play button 2020-06-14 18:12:06 -07:00
Gabe Kangas 3569cbbf39 Reduce the amount of time that stats are saved and stale viewers are purged 2020-06-14 17:35:57 -07:00
Gabe Kangas 16e8ab4edc Re-enable timed status check 2020-06-14 17:15:19 -07:00
Gabe Kangas dfae6f56dc Use UserAgent in server-side client ID to allow multiple clients on the same IP to count as new viewers 2020-06-14 16:53:54 -07:00
Gabe Kangas a9662e7c1e Support keepalive PING messages on the socket 2020-06-14 16:53:25 -07:00
Gabe Kangas a3c3276a48 Start of a web UI config 2020-06-14 15:18:43 -07:00
Gabe Kangas c2d0d6e962 Remove ES6 arrow functions 2020-06-14 13:08:14 -07:00
Gabe Kangas 5e1524d03e Merge remote-tracking branch 'origin/web-layout'
* origin/web-layout:
  more clean up and fixins
  fix chat; get rid of jquery
  set up localstorage-able items
2020-06-14 01:29:28 -07:00
Gabe Kangas 6d8e8a8849 Merge branch 'web-layout'
* web-layout:
  Show max viewers
  Move to videojs and point to remote video on goth.land
  form functionailties
  progress. implement chat toggling
  fix msg container
  use app file from web-layout
  style message items
  Guard against the infinite that can take place when the ws server goes unavailable
  use css vars
  initial chat form layout
  mobile considerations
  add file
  initial layout
  Support local development of index.html
2020-06-13 22:46:06 -07:00
Gabe Kangas ce41b6ad40 Show max viewers 2020-06-13 22:45:22 -07:00
Gabe Kangas cd53e108f3 Enable CORS on /status 2020-06-13 22:39:02 -07:00
Gabe Kangas 4553ae628b Move to videojs and point to remote video on goth.land 2020-06-13 22:36:12 -07:00
Gabe Kangas 38127bed77 More encoder tweaking 2020-06-13 18:00:26 -07:00
Gabe Kangas 1c45e11358 Enable CORS on web server 2020-06-13 17:08:34 -07:00
Gabe Kangas afe21c31b6 Add example messages to help with web dev 2020-06-13 16:40:55 -07:00
Gabe Kangas 60288d5676 Experimenting with different encoder settings 2020-06-12 16:28:41 -07:00
Gabe Kangas a063956660 Restore max num of segments in playlist value 2020-06-12 15:02:02 -07:00
Gabe Kangas 5a7c16374c Restore customizable chunk lengths 2020-06-12 14:14:05 -07:00
Gabe Kangas d53fe98543 Enable passthrough video, where there is no reencoding and is lighterweight 2020-06-12 12:55:50 -07:00
Gabe Kangas 6439075f36 Spawn go routine for saving segment 2020-06-11 21:15:29 -07:00
Gabe Kangas e8db314784 Transcoding tweaks 2020-06-11 20:53:46 -07:00
Gabe Kangas 3317a4a5c6 Reduce logging 2020-06-11 16:13:23 -07:00
Gabe Kangas baddda3461 Only try to read input stream in real-time, not faster 2020-06-11 15:05:06 -07:00
Gabe Kangas 344da52e3d Handle viewer counts outside of websocket connections 2020-06-11 14:55:38 -07:00
Gabe Kangas ac6ee31833 Add some Restream.io instructions 2020-06-10 23:59:43 -07:00
Gabe Kangas 6728b8c5d1 Add AWS s3 price example image 2020-06-10 23:59:43 -07:00
Gabe Kangas b47ea89c06 Add basic persistent viewership stats 2020-06-10 23:59:36 -07:00
Gabe Kangas 9ebec675b5 Generate a static thumbnail png every 20s 2020-06-10 01:38:35 -07:00
Gabe Kangas 33278fc2c5 Replace hls.js with videojs for web playback 2020-06-10 00:35:33 -07:00
Gabe Kangas d52a120fa6 Add resizing to video processing 2020-06-09 23:35:40 -07:00
Gabe Kangas bd145fddf0 Add Dockerfile for containeraization 2020-06-09 18:30:15 -07:00
Gabe Kangas a9e1f1e82e Add documentation for setting up some storage providers 2020-06-09 17:05:44 -07:00
Gabe Kangas c605ea6570 Add support for non-AWS S3 storage endpoints and auth 2020-06-09 14:01:42 -07:00
Gabe Kangas c4b6478b7b Add support for custom encoder presets 2020-06-09 13:15:44 -07:00
Gabe Kangas de89cbc259 Add the start of more documentation 2020-06-09 11:56:08 -07:00
Gabe Kangas a65564eedf Guard against the infinite that can take place when the ws server goes unavailable 2020-06-09 10:56:15 -07:00
Gabe Kangas 39be46d884 Guard against the infinite that can take place when the ws server goes unavailable 2020-06-09 10:51:12 -07:00
Gabe Kangas c107891505 Cleanup now unused code 2020-06-09 09:31:27 -07:00
Gabe Kangas ff5502bbe7 Tweak ffmpeg settings to try and speed up encoding 2020-06-09 02:56:23 -07:00
Gabe Kangas 2829d14144 Do not transcode audio just pass it along 2020-06-09 02:47:02 -07:00
Gabe Kangas 0b5452de89 Support multiple adaptive bitrates 2020-06-09 02:21:42 -07:00
Gabe Kangas 29f51f6ccc A little cleanup 2020-06-04 01:53:48 -07:00
Gabe Kangas 539c938f63 Update readme 2020-06-03 22:23:02 -07:00
Gabe Kangas fd87e342fa Rename 2020-06-03 15:53:35 -07:00
Gabe Kangas b8af4ed7d7 Start an initial readme 2020-06-03 13:38:58 -07:00
Gabe Kangas a55e5ccce9 Fix base path string parsing 2020-06-03 11:07:07 -07:00
Gabe Kangas 8cd8c7df20 Add support for storing chunks on S3 2020-06-03 01:34:16 -07:00