Nicholas
af89d85696
Fade out video player controls on playback.
...
2 second delay, cancelable if the video is paused or finished.
2022-11-04 16:08:30 -04:00
Alex Hart
c1ff2aeeff
Print pool stats whenever we fail to get an ExoPlayer instance.
2022-11-02 15:31:52 -04:00
Nicholas
7759ad283d
Media Preview V2 Visual Redesign.
2022-10-25 16:48:39 -03:00
Nicholas
469cab284e
Media Preview V2 Visual Redesign
2022-10-24 21:03:12 -03:00
Greyson Parrelli
1007b4d635
Reduce flakiness of our dependencies.
2022-10-24 21:02:22 -03:00
Nicholas
32fbbf2b55
Add seek buttons for videos longer than 30s.
2022-10-24 21:02:22 -03:00
Nicholas
7f4e964ec8
Enable Media Preview V2.
2022-10-24 21:02:17 -03:00
Alex Hart
94f072c5aa
Ensure content is stopped during video player cleanup.
2022-10-24 12:58:53 -03:00
Alex Hart
957f8754e1
Fix poor handling of single tap touches.
2022-10-14 10:31:55 -03:00
Alex Hart
220931d3df
Pass through clip information to video player.
2022-10-12 15:46:19 -04:00
Alex Hart
e1c6dfb73b
Move story post display logic into a single fragment.
2022-10-12 10:02:27 -03:00
Alex Hart
b6546f3ae3
Fix single tap on video previews.
2022-09-01 17:06:51 -03:00
Greyson Parrelli
fa55062510
Update ExoPlayer to 2.18.1
2022-08-24 17:09:01 -04:00
Cody Henthorne
dc503e3406
Prevent video thumbnail creation from crashing the app.
2022-08-22 11:52:37 -04:00
Alex Hart
b4ae13fe8a
Catch IAE when video thumbnail extractor cannot instantiate a decoder.
2022-08-18 16:01:05 -04:00
Alex Hart
524adcb6a4
Configure pooled players for video playback by default.
2022-07-11 13:35:53 -03:00
Alex Hart
1cfa5c31f2
Implement correct video story sound behaviour.
2022-06-29 15:32:25 -04:00
Alex Hart
28feba6a6c
Add proper catch for ISE in video thumb extractor.
2022-06-28 15:42:15 -04:00
Alex Hart
eaa7262b2f
Add debug log entry for video player pool usage.
2022-05-26 14:24:56 -03:00
Alex Hart
1bb04035ab
Update playback to match specifications.
2022-04-06 12:37:43 -04:00
Cody Henthorne
c48ea68e7e
Keep screen on during video playback.
2022-01-24 12:04:48 -05:00
Greyson Parrelli
843ed24bbb
Introduce SignalDatabase as the main database entrypoint.
2021-11-18 12:36:52 -05:00
Alex Hart
12ec0ca84c
Fix video playback after editing clip boundaries.
2021-11-17 16:14:26 -05:00
Alex Hart
62f9f19540
Do not autoplay in video editor.
2021-10-21 17:11:46 -04:00
Alex Hart
5c1b57e4ba
Implement ExoPlayerPool for better reuse and performance.
2021-09-24 13:10:48 -03:00
Greyson Parrelli
d5fbd10406
Create a SignalDataSource class for all of our ExoPlayer needs.
...
Also fixes an issue around GIF playback within a conversation.
2021-09-17 09:58:11 -04:00
Alex Hart
38f6efbcae
Fix NPE in VideoPlayer error handler.
2021-09-08 08:34:13 -03:00
Alex Hart
9347227ff5
Reposition video editor and add new play button.
2021-09-07 23:13:19 -04:00
Greyson Parrelli
c84de8fa60
Add a cache for GIFs.
2021-09-03 20:19:55 -04:00
Alex Hart
664d6475d9
Refresh media selection and sending flow with a shiny new UX.
2021-09-02 21:24:54 -04:00
Leonid Zavodnik
a6690e1bde
Update exoplayer version to v2.15
...
Fixes #11547
2021-09-02 21:24:54 -04:00
Alex Hart
b100262c6a
Fix crash when sending video (due to IllegalStateException).
2021-07-21 16:57:03 -04:00
Alex Hart
5826b0c068
Implement drafts for voice notes.
2021-07-07 14:58:50 -03:00
Alex Hart
3a151b30ac
Catch MediaCodecException in extractThumbnails for configuration crash.
2021-06-21 14:19:11 -03:00
Cody Henthorne
7da47c9586
Fix NPE in ThumbnailsTask.
...
The async task was being cancelled, but there was still a race condition
in how the thumbnails list was being managed. This attempts to fix that.
2021-06-04 16:29:23 -03:00
Alex Hart
281630e751
Add support for inline video playback of gifs in Conversation.
2021-04-21 16:43:38 -04:00
Alex Hart
c31146e902
Render gifs in gif search as MP4s.
2021-04-19 18:11:56 -04:00
Alex Hart
e97a14f617
Prevent crash when thumbnail decoder cannot stop, log instead.
2021-04-16 09:29:58 -03:00
Alan Evans
b4c2e21415
Custom streaming video muxer.
2021-01-06 17:03:21 -04:00
Alex Hart
73afa82147
Remove ViewUtil deprecated methods.
2020-12-18 10:41:14 -04:00
Greyson Parrelli
8e93bf9075
Create a core-util module with some common utilities.
2020-12-05 13:44:13 -05:00
Alan Evans
89f2c25d73
Display video file output size and duration during clipping.
...
Prevent video upscale, i.e. use input bit rate if lower than our normal target rates.
Do not time limit videos that are under the send file size.
Increase time limit to 10 minutes to match our lowest acceptable bitrate.
2020-11-20 13:27:58 -04:00
Alan Evans
abb1ca2afe
Increase in-app recording duration to 60 seconds.
2020-11-20 13:11:48 -04:00
Alan Evans
6e7858e00f
Restrict video send duration.
2020-11-18 16:30:43 -04:00
Alan Evans
1778c1ef7d
Prevent some IOExceptions when past the end of stream.
2020-05-14 11:22:28 -03:00
Alan Evans
3db5da1c8d
Generalize media input for use with Audio.
2020-05-14 11:22:28 -03:00
Greyson Parrelli
4250fa707b
Fix crash when videos are missing a duration.
...
Fixes #9556
2020-04-22 14:18:28 -04:00
Alan Evans
51603be5ec
Add video trimming time indication pill.
2020-03-05 18:42:17 -05:00
Alan Evans
5038210d78
Add tap to pause to video trimming editor.
2020-03-05 18:42:17 -05:00
Alan Evans
40fd7ca332
Video trimming behind feature flag.
2020-02-13 20:53:10 -05:00