element-web/src/components/views
Travis Ralston c2d37af1cb Move playback to its own set of classes
This all started with a bug where the clock wouldn't update appropriately, and ended with a whole refactoring to support later playback in the timeline.

Playback and recording instances are now independent, and this applies to the <Playback* /> components as well. Instead of those playback components taking a recording, they take a playback instance which has all the information the components need.

The clock was incredibly difficult to do because of the audio context's time tracking and the source's inability to say where it is at in the buffer/in time. This means we have to track when we started playing the clip so we can capture the audio context's current time, which may be a few seconds by the first time the user hits play. We also track stops so we know when to reset that flag.

Waveform calculations have also been moved into the base component, deduplicating the math a bit.
2021-04-27 22:23:57 -06:00
..
auth define PASSWORD_MIN_SCORE in one place and import from there 2021-04-01 12:30:49 +03:00
avatars Scale all mxc thumbs using device pixel ratio for hidpi 2021-04-26 18:25:49 +01:00
context_menus Update action bar to incorporate sending states 2021-04-21 16:24:17 -06:00
dialogs Merge pull request #5912 from matrix-org/jryans/convert-flow-to-ts 2021-04-27 13:44:47 +01:00
directory Fix missed copy 2020-03-16 12:28:20 +00:00
elements Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts 2021-04-26 15:57:28 +01:00
emojipicker Batch of views getting replaceableComponent decorators 2021-03-08 20:23:39 -07:00
groups Convert cases of mxcUrlToHttp to new media customisation 2021-03-10 12:32:18 -07:00
host_signup Address some of the PR feedback 2021-02-09 20:13:58 +02:00
messages fix removed pixelRatio 2021-04-27 09:56:28 +01:00
right_panel Merge pull request #5521 from SimonBrandner/improve-image-view 2021-04-13 19:01:27 -06:00
room_settings Convert a bunch more js-sdk imports to absolute paths 2021-03-18 20:50:34 -06:00
rooms Move playback to its own set of classes 2021-04-27 22:23:57 -06:00
settings Merge pull request #5913 from matrix-org/gsouquet-desktop-i18n 2021-04-27 15:48:49 +01:00
spaces fix comment 2021-04-22 12:07:58 +01:00
terms Batch of views getting replaceableComponent decorators 2021-03-08 20:23:54 -07:00
toasts Move toast detail to a new line 2021-03-26 11:43:41 +00:00
verification Batch of views getting replaceableComponent decorators 2021-03-08 20:23:54 -07:00
voice_messages Move playback to its own set of classes 2021-04-27 22:23:57 -06:00
voip Merge branch 'develop' into resizable-call-view 2021-04-04 11:35:26 +02:00