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
f133dd396c
Return pair<iterator,bool> from flat_set::emplace.
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
dc95756ec9
Fixed infrequent separation of grouped notifications.
2019-03-11 00:00:02 +04:00
23rd
2a935868a8
Added grouping of album files into a single notification.
...
- Added display of "Album" in inDialogsText().
2019-03-11 00:00:02 +04:00
23rd
f48d8538c0
Added ability to see attached stickers on photos.
2019-03-10 22:10:36 +04:00
23rd
3372dfcd3e
Refactored checking of last input while notifications are displayed.
...
- Removed condition for Windows platform only.
- Added smooth hiding of notifications in case video is watched or voice message is recorded.
- psUserActionDone() was completely replaced with Core::App().updateNonIdle().
2019-03-10 22:02:58 +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
23rd
9dc9e019f6
Added Search Shortcut in Shared Media.
...
- Works for Documents, Audio files and Shared links.
2019-03-10 10:58:05 +04:00
John Zimmermann
178c0078c1
docs: Fix setting the gcc-7 alternative with apt
...
#5766
2019-03-10 10:56:48 +04:00
Martin Delille
8478abe378
Add brew install cmake ninja
2019-03-10 10:29:37 +04:00
23rd
bfc9e43eb4
Added a handler for "MESSAGE_EMPTY" error to delete a local message.
...
- Added a determination of the zero-width-space as the space.
- Fixes #3145 .
2019-03-10 10:26:40 +04:00
John Preston
e174025a92
Fix travis build.
2019-03-09 15:27:36 +04:00
23rd
89f4408029
Added forwarded info in tooltip of sticker.
2019-03-09 15:24:35 +04:00
23rd
d7dc277003
Added author of channel post in tooltip.
...
- Added "const" to vars within HistoryMessageSigned::refresh().
2019-03-09 15:01:08 +04:00
23rd
32bc723745
Added scroll animation in dialogs list when it scrolls to top.
2019-03-09 13:56:33 +04:00
23rd
c2ad765424
Fixed extra space in a name of the post author after forwarding message.
2019-03-09 13:41:39 +04:00
23rd
9799afa064
Updated libvdpau to 1.2.
2019-03-06 14:41:04 +04:00
23rd
e880c14d61
Fixed crash in window resizing when layer is opened.
...
Regression was introduced in 26f1ade5ba
.
2019-03-05 13:38:58 +04:00
23rd
e70465c633
Removed unnecessary calling of saveDraftToCloud() method when quit.
2019-02-20 11:46:37 +04:00
23rd
4ed1835d32
Fixed Ctrl + F shortcut for full screen toggle in media view.
2019-02-20 11:43:50 +04:00
23rd
19bbccd1a7
Improved "Create link" box title display.
2019-02-20 11:42:10 +04:00
23rd
9d8b80cbce
Fixed Travis build.
...
Regression was introduced in 771a51224e
.
2019-02-20 11:41:13 +04:00
John Preston
dec8264625
Fix extensive CPU usage on macOS when audio is played.
...
Regression was introduced in 91c85ec86b
The openal-soft version 1.19.1 tried to use semaphores created by sem_init,
which are not supported on macOS, so they just didn't work at all. This was
leading to an event loop thread spin-waiting instead of a normal sem_wait.
In the v1.19 upstream branch GCD semaphores are used on macOS.
2019-02-20 11:37:38 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
d208236994
Accept binary_guard in crl::guard().
2019-02-17 15:56:07 +04:00
John Preston
4d987f7278
Fix index_based_iterator for const containers.
2019-02-17 15:56:07 +04:00
23rd
193e454fd4
Fixed sending polls as reply to other messages.
...
Fixes #5550 .
2019-02-17 15:55:44 +04:00
John Preston
bdfb9b4143
Ignore actions from other chats in HistoryWidget.
...
This should fix an issue that was noticed in #5701 .
2019-02-17 15:09:02 +04:00
John Preston
c9716f3c72
Make crl::object_on_queue usages consistent.
2019-02-17 15:09:01 +04:00
John Preston
7c1704e68b
Fix crash in EditCaptionBox.
2019-02-17 13:51:53 +04:00
John Preston
771a51224e
Support errors in rpl::event_stream.
2019-02-17 10:55:29 +04:00