Commit Graph

108 Commits

Author SHA1 Message Date
Rob Watson 817a10d269 Move TLS config to Server struct 2021-11-26 20:01:34 +01:00
Rob Watson abf5398d24 Allow configuration of BindAddr and TLS certs 2021-11-26 17:22:25 +01:00
Rob Watson 4c999cd5a2 Configure backend to serve assets over HTTP 2021-11-26 05:11:49 +01:00
Rob Watson 0d2fcfc9ff Update error type for pgx package 2021-11-25 20:35:51 +01:00
Rob Watson 2d9f2d80b2 pgx: Configure pgxpool 2021-11-23 16:16:00 +01:00
Rob Watson 4580915c3c Migrate libpq > pgx 2021-11-23 13:20:56 +01:00
Rob Watson be39f151c7 Fix typo in config.go 2021-11-22 21:39:23 +01:00
Rob Watson 61171b00af Replace log package with zap.Logger 2021-11-22 21:35:51 +01:00
Rob Watson b643ea2824 Add config package 2021-11-22 19:26:51 +01:00
Rob Watson e7c76d0c6b Delete obsolete file 2021-11-22 19:21:43 +01:00
Rob Watson 7eef0b6e25 Fixes uploaded to sort completedParts before completing the upload 2021-11-22 18:54:31 +01:00
Rob Watson f91a84b7eb Update go.mod 2021-11-21 21:17:36 +01:00
Rob Watson 2f7aae1d6e Add video thumbnail support 2021-11-21 20:43:40 +01:00
Rob Watson 4afec11074 Get video from Youtube, send progress via gRPC 2021-11-21 16:09:30 +01:00
Rob Watson 542080e400 Implement GetAudioSegment, add panic recovery handler 2021-11-21 16:09:30 +01:00
Rob Watson 8794b42459 ModuloReader: handle zero reads from inner reader 2021-11-21 16:09:30 +01:00
Rob Watson 47e3e47216 Fix logic error in ModuloBufReader 2021-11-21 16:09:30 +01:00
Rob Watson 911de4438b Add basic logging support 2021-11-21 16:09:30 +01:00
Rob Watson fec542ee62 Tidy 2021-11-21 16:09:30 +01:00
Rob Watson cd2686a5b2 Remove unused youtube module 2021-11-21 16:09:30 +01:00
Rob Watson 5ab37a068a Tidy go.mod 2021-11-21 16:09:30 +01:00
Rob Watson 650382fb39 Renaming, fix frames/bytes confusion 2021-11-21 16:09:30 +01:00
Rob Watson 97db31209c Move uploader reader to its own goroutine 2021-11-21 16:09:30 +01:00
Rob Watson 79be8b7936 Refactor uploader, remove Writer implementation 2021-11-21 16:09:30 +01:00
Rob Watson 50e7b59442 Add s3-delete-all command 2021-11-21 16:09:30 +01:00
Rob Watson dc497b546a Experimental changes prior to refactoring Uploader 2021-11-21 16:09:30 +01:00
Rob Watson 1496473620 Improve gRPC error handling, handle cancelling ffmpegReader 2021-11-21 16:09:30 +01:00
Rob Watson 06697dc1b1 Upload parts in background 2021-11-21 16:09:30 +01:00
Rob Watson c1ac075a88 Render WaveformCanvas via peaks 2021-11-21 16:09:30 +01:00
Rob Watson 97a55632ef Fix panic when reading blocks not divisible by 4 2021-11-21 16:09:30 +01:00
Rob Watson d117419b0c Read peaks from S3 2021-11-21 16:09:30 +01:00
Rob Watson 5cbcfe22cf More progress 2021-11-21 16:09:30 +01:00
Rob Watson 49099b12d6 Update proto structure 2021-11-21 16:09:29 +01:00
Rob Watson 7c5b22a407 Introduce PG store 2021-11-21 16:09:28 +01:00
Rob Watson 281d5ce8a2 Start to refactor and wire in frontend 2021-10-29 14:52:31 +02:00
Rob Watson 0e2fb5cd47 Refactor format parsing 2021-10-28 03:27:14 +02:00
Rob Watson 8c30a2581a Fix tests, move helpers to media package 2021-10-28 03:05:20 +02:00
Rob Watson 3ce3736770 improve naming, refactor 2021-10-27 22:19:15 +02:00
Rob Watson d04debbe9a wip: refactor flow 2021-10-27 21:34:59 +02:00
Rob Watson 0dc8175fb0 poc: grpc-web 2021-10-22 21:30:09 +02:00
Rob Watson 0f7644f08b Revert "poc: websocket attempt, reverting to try grpc-web"
This reverts commit aaef474853.
2021-10-22 12:57:05 +02:00
Rob Watson aaef474853 poc: websocket attempt, reverting to try grpc-web 2021-10-22 12:57:01 +02:00
Rob Watson 7d91340582 Reduce audio and video bitrates 2021-10-19 17:37:54 +02:00
Rob Watson 93736abc24 Basic progress reader with logging 2021-10-19 05:15:38 +02:00
Rob Watson 43e2592de8 Refactor frontend 2021-10-16 21:23:04 +02:00
Rob Watson b08165d7f1 Remove HTML video element 2021-09-30 16:12:40 +02:00
Rob Watson 53bd2681af Migrate HTTP handlers to Echo 2021-09-25 19:00:19 +02:00
Rob Watson 658ffa4344 Tidy code, improve naming 2021-09-24 07:37:49 +02:00
Rob Watson c71c3d251a Prefer 48k audio sample rate 2021-09-24 07:37:27 +02:00
Rob Watson cc74da0871 Improve audio and video format selection 2021-09-24 07:15:40 +02:00
Rob Watson b64ce1d424 Add video and thumbnail display 2021-09-23 07:42:07 +02:00
Rob Watson ce3817dab8 Extract core logic from main.go 2021-09-14 00:52:42 +02:00
Rob Watson 4e99f5ac0c Calculate peaks, draw basic waveform to canvas 2021-09-11 11:00:27 +02:00
Rob Watson 2a7b1bfc2e Add CORS header for development 2021-09-06 16:24:29 +02:00
Rob Watson 622c7aeb00 Refactor, add HTTP server 2021-09-06 11:39:43 +02:00
Rob Watson 3955a64d9f poc: introduce AudioDownloader 2021-09-05 12:02:00 +02:00
Rob Watson b1ce4bc2b0 poc: decode m4a to PCM with ffmpeg 2021-09-05 07:27:47 +02:00
Rob Watson d58ad5def1 poc: download an m4a file from Youtube 2021-09-05 00:29:12 +02:00