John Preston
f1e0cd6c1d
Play streaming video in mediaview.
2019-03-11 11:52:11 +04:00
John Preston
44df10d6cb
Improve working with cache in streaming.
2019-03-11 11:49:54 +04:00
John Preston
b6a757842a
Pause loading if loaded for 1 minute.
2019-03-11 11:49:54 +04:00
John Preston
4636c74586
Remove from memory old file slices.
2019-03-11 11:49:54 +04:00
John Preston
2208621050
First version of caching in media streaming.
2019-03-11 11:49:54 +04:00
John Preston
ccd04b98b9
Fix sync video to audio.
2019-03-11 11:49:54 +04:00
John Preston
d37b65e624
If stuck wait for three seconds of packets.
2019-03-11 11:49:54 +04:00
John Preston
3e9b811875
Implement precise seek in streaming.
2019-03-11 11:49:54 +04:00
John Preston
44c562d8ba
Fix streaming seek, display progress.
2019-03-11 11:49:53 +04:00
John Preston
93c548c013
Support streaming speed changing.
2019-03-11 11:49:53 +04:00
John Preston
a7d9281768
Implement pause / resume in streaming.
2019-03-11 11:49:53 +04:00
John Preston
3b369fc98e
Buffer audio when waiting data in streaming.
2019-03-11 11:49:53 +04:00
John Preston
e5cd7e6d40
Fix streaming from the middle of the file.
2019-03-11 11:49:53 +04:00
John Preston
99d05ba967
Sync video stream to audio stream.
2019-03-11 11:49:53 +04:00
John Preston
ec9512899e
Support streaming playback speed 0.5 - 2.
2019-03-11 11:49:22 +04:00
John Preston
26ea6c4e63
Provide receivedTill for streamed tracks.
2019-03-11 11:49:22 +04:00
John Preston
8e44a7f5c4
Basic code for video streaming + testing on video.
2019-03-11 11:49:22 +04:00
John Preston
a093cb6274
Move some logic to Media::Streaming::Player.
2019-03-11 11:49:21 +04:00
John Preston
64f2f330f6
Render first frame when starting streaming.
2019-03-11 11:49:21 +04:00
John Preston
473e30e594
Basic code for media streaming + testing on music.
2019-03-11 11:49:21 +04:00
23rd
f48d8538c0
Added ability to see attached stickers on photos.
2019-03-10 22:10:36 +04:00
23rd
78d00bcf22
Refactored counting idle time.
...
- psIdleTime() was replaced with Platform::LastUserInputTime().
- _lastTimeVideoPlayedAt was moved to Application as _lastNonIdleTime.
- Call of updateNonIdle() was added while voice is recording.
- Fixed #5695 .
- Thanks Preston. =)
2019-03-10 22:02:58 +04:00
John Preston
e174025a92
Fix travis build.
2019-03-09 15:27:36 +04:00
23rd
4ed1835d32
Fixed Ctrl + F shortcut for full screen toggle in media view.
2019-02-20 11:43:50 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
7c1704e68b
Fix crash in EditCaptionBox.
2019-02-17 13:51:53 +04:00
John Preston
98cb85df66
Polymorphic classes without virtual dtor warning.
2019-02-15 15:55:34 +04:00
John Preston
032694ad9e
Move files to media/audio and media/clip.
2019-02-13 15:41:33 +03:00
John Preston
5437215677
Use premultiplied format for GIF frames.
2019-02-13 15:19:05 +03:00
John Preston
ae6c152988
Version 1.5.15: Fix macOS media viewer overlay.
...
Regression was introduced in c1a0dad2b7
.
2019-02-12 19:55:35 +03:00
John Preston
c1a0dad2b7
Use QOpenGLWidget for macOS media viewer overlay.
...
Also move mediaview to media/view/media_view_overlay_widget.
2019-02-12 14:00:47 +03:00
John Preston
b28e374e06
Fix Media::Audio::Instance destruction.
2019-02-01 10:09:55 +03:00
John Preston
a1baa23a52
Use both thumbnails in photos and documents.
...
Fixes #5602 .
2019-01-28 13:10:45 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
0d6a36e187
Fix volume widget position.
...
Fixes #5467 .
2019-01-17 12:20:50 +04:00
John Preston
6d08394adc
Divide history_media_types to several modules.
2018-12-21 17:09:31 +04:00
John Preston
3bd0efa91e
Use 1.7x instead of 2x in voice messages.
2018-12-03 19:33:34 +04:00
John Preston
b3ffbeb63e
Improve code for Shortcuts handling.
2018-11-20 19:38:40 +04:00
John Preston
e3b6e1325e
Use AL_DIRECT_CHANNELS_SOFT for audio playback.
...
See https://github.com/telegramdesktop/tdesktop/issues/2580 .
2018-11-16 20:17:58 +04:00
John Preston
2d05281ba9
Add configuration for OpenAL effects usage.
2018-11-09 16:28:15 +04:00
John Preston
9a1069c1ae
Fix resuming audio on call end.
2018-11-09 11:27:12 +04:00
John Preston
346cb4e203
Fix some bugs in double playback speed.
...
- Apply double speed for all voice tracks, not only for the current.
- Use dedicated atomic in Mixer for the voice speed (fix race).
- Store the playback speed in user settings, not in global settings.
- Use float64 for setting (just consistency, no float-s right now).
2018-11-08 17:06:22 +04:00
Magnus Groß
de8518a112
Implement double playback speed
...
This adds double playback speed for both voice messages and round video
messages.
The 2x playback speed setting is global and is saved in local storage.
Fixes #4907
2018-11-08 17:05:34 +04:00
John Preston
ef38572d5a
Detect and send supports_streaming bit for videos.
2018-11-07 18:10:00 +04:00
John Preston
ef64d9c188
Show round videos in Info layer.
2018-11-05 17:18:54 +04:00
John Preston
466444e17d
Extract float player controller.
2018-11-05 15:16:09 +04:00
John Preston
b420f5b41b
Fix crash in round video playback.
2018-11-05 14:00:53 +04:00
John Preston
5192049194
Resume audio when call ends.
2018-11-04 15:51:39 +04:00
John Preston
da358615e0
Generate high quality video thumbnail when loaded.
2018-11-04 15:51:38 +04:00