dom/media/MediaCache.cpp
0ceae9db9ec0be18daa1a279511ad305723185d4
created 2018-11-19 13:25 +0000
pushed 2018-11-19 16:59 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1204606 - Reformat of dom/media r=jya
e52cb4ceec89c50c113a2787d018ea2783faf70c
created 2018-09-19 08:34 +0000
pushed 2018-09-19 16:41 +0000
Jean-Yves Avenard Jean-Yves Avenard - Bug 1492365 - Prevent arithmetic overflow. r=gerald
e0bd55a3e557e3312b44f82e2c279e42d4ac8df5
created 2018-09-17 17:41 +0000
pushed 2018-09-18 04:02 +0000
Jean-Yves Avenard Jean-Yves Avenard - Bug 1491132 - Clamp cache reads to content size. r=gerald
33346f699996421fc8bf22a25f574de470142a41
created 2018-06-17 22:43 -0700
pushed 2018-06-26 14:53 +0000
Chris Peterson Chris Peterson - Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
d7079fb3a17993021fd7908af2b22e363d3143e3
created 2018-06-15 10:25 +0300
pushed 2018-06-18 15:53 +0000
Andi-Bogdan Postelnicu Andi-Bogdan Postelnicu - Bug 1453795 - DOM/Media - Initialize member fields in classes/ structures. r=jyavenard
4688aa455ae38eb0d359d96a925c5344376c398b
created 2018-05-24 17:38 +0200
pushed 2018-05-25 17:48 +0000
Jean-Yves Avenard Jean-Yves Avenard - Bug 1450607 - P3. Remove unused argument. r=gerald
2fce9c07ec2b56edc7ba969eea94287566d2c33e
created 2018-05-24 14:36 +0200
pushed 2018-05-25 17:48 +0000
Jean-Yves Avenard Jean-Yves Avenard - Bug 1450607 - P2. Synchronously seek to prepare for resuming following stop request. r=gerald
0ef665046a0627777f04209b363a25a94f73bf43
created 2018-05-23 21:27 +0200
pushed 2018-05-25 17:48 +0000
Jean-Yves Avenard Jean-Yves Avenard - Bug 1450607 - P1. Fix constness. r=gerald
ba5089a967b993f911896e1f787fb9c7c9b406c3
created 2018-03-20 09:48 +1100
pushed 2018-04-17 09:54 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1448222 - Remove MediaPrefs. r=jya
8a94faa5cc60495da5d80d4b3c07bf5877d2e6d8
created 2018-04-13 16:01 +0300
pushed 2018-04-13 13:02 +0000
Sebastian Hengst Sebastian Hengst - Backed out 4 changesets (bug 525063) on request from Andi. a=backout
d7d2f08e051c3c355d41dc5c1ce1bd3ca55a43b9
created 2018-04-10 21:11 +0200
pushed 2018-04-11 23:46 +0000
Tristan Bourvon Tristan Bourvon - Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
4ae35d2b108a7d98b98a6d6d3943b78b297dd35b
created 2018-01-15 10:25 +0800
pushed 2018-01-16 15:58 +0000
JW Wang JW Wang - Bug 1416084. P2 - wake up readers when download is suspended. r=bechen,gerald
e3ca97a44f1c09771297071bb459d07e0ccf15b2
created 2018-01-15 10:09 +0800
pushed 2018-01-16 15:58 +0000
JW Wang JW Wang - Bug 1416084. P1 - reapply bug 1412737 P4: wake up readers only when we have blocks committed to the cache. r=bechen,gerald
1599fb3b361022c56638a1570272068dc69eb268
created 2018-01-09 10:29 +0800
pushed 2018-01-10 09:57 +0000
JW Wang JW Wang - Bug 1428951 - add a getter for MediaCacheStream::GetDebugInfo() to take the cache monitor on the main thread. r=bechen,gerald
8932f0853269bfdaf7cc043ae4b1167a1cf28ad0
created 2018-01-05 16:31 +0800
pushed 2018-01-08 09:54 +0000
JW Wang JW Wang - Bug 1427699. P2 - rewrite InitAsCloneInternal() to mimic the case where data is downloaded from a channel. r=gerald
c1bacce3317103a68433841841feb36813854c0b
created 2018-01-05 10:49 +0800
pushed 2018-01-05 21:52 +0000
JW Wang JW Wang - Bug 1428242. P3 - use a non-reentrant monitor. r=bechen,gerald
90ffd059bdfa679780d7d4dd99a259e0f457546b
created 2018-01-05 10:48 +0800
pushed 2018-01-05 21:52 +0000
JW Wang JW Wang - Bug 1428242. P2 - MediaCache::ReadCacheFile() doesn't need to drop the cache monitor. r=bechen,gerald
a5f886553c4beaea9816d24058a797a033b3e804
created 2017-12-20 15:28 +0800
pushed 2018-01-05 21:52 +0000
JW Wang JW Wang - Bug 1428242. P1 - assert we always take the MediaCache monitor off the main thread. r=bechen,gerald
1f394da377b0250c21506645b5535dc4a8e7cdf0
created 2018-01-05 11:34 +0800
pushed 2018-01-05 09:57 +0000
JW Wang JW Wang - Bug 1428184 - copy mStreams before iterating the array. r=bechen,gerald
b8d69a73212b9a56d37da37f5c047343117a6de9
created 2018-01-04 10:30 +0800
pushed 2018-01-04 21:27 +0000
JW Wang JW Wang - Bug 1427931. P2 - assert MediaCacheStream::Pin/Unpin is called off the main thread. r=bechen,gerald
a054313a69b76a57cf174348dca63e6ee4bc2006
created 2017-12-19 17:51 +0800
pushed 2018-01-03 21:35 +0000
JW Wang JW Wang - Bug 1427667 - move the call to mMediaCache->ReleaseStream() from the destructor to CloseInternal(). r=bechen,gerald
3073a808fb0d9d5a8b24740639645af0d3d5b04f
created 2018-01-03 10:33 +0800
pushed 2018-01-03 21:35 +0000
JW Wang JW Wang - Bug 1427666 - MediaCacheStream::InitAsCloneInternal() should notify the client that new data is available. r=bechen,gerald
46879b2506caf288a8d6a8aa56248d7b7189e0ed
created 2017-12-19 17:38 +0800
pushed 2018-01-03 09:47 +0000
JW Wang JW Wang - Bug 1426578. P5 - offload Init() to another thread. r=bechen,gerald
d005226af73b702b34cb6419d211960722daf29b
created 2017-12-19 17:32 +0800
pushed 2018-01-03 09:47 +0000
JW Wang JW Wang - Bug 1426578. P4 - offload InitAsClone() to another thread. r=bechen,gerald
1f6caf89e3825360192a6d1dae284fc806e88649
created 2017-12-16 23:50 +0800
pushed 2018-01-03 09:47 +0000
JW Wang JW Wang - Bug 1426578. P3 - make MediaCacheStream::InitAsClone() infallible. r=bechen,gerald
fb2edb2d8dd1f0b40504733c08b1461ef0fcce0f
created 2017-12-15 11:23 +0800
pushed 2018-01-03 09:47 +0000
JW Wang JW Wang - Bug 1426578. P2 - always access MediaCache::mStreams while the cache monitor is held. r=bechen,gerald
a29b9105722b07efd9202147d0ba4438b7151551
created 2017-12-14 16:08 +0800
pushed 2018-01-03 09:47 +0000
JW Wang JW Wang - Bug 1426578. P1 - tweak the constructor and init functions of ChannelMediaResource/MediaCacheStream. r=bechen,gerald
f58dca05f26f69116bf5a736d384e97963beec61
created 2017-12-15 10:29 +0800
pushed 2017-12-20 21:40 +0000
JW Wang JW Wang - Bug 1426061. P2 - offload MediaCacheStream::Close() to another thread. r=bechen,gerald
26dcfbdd90803904986d82eebb70ec85d09d0ff9
created 2017-12-14 16:22 +0800
pushed 2017-12-20 21:40 +0000
JW Wang JW Wang - Bug 1426061. P1 - always access MediaCacheStream::mClosed while holding the lock. r=bechen,gerald
7b78e22bb69e7ba247b9831b77e674993b44280f
created 2017-12-19 14:35 +0800
pushed 2017-12-20 09:44 +0000
JW Wang JW Wang - Bug 1426056. P4 - fix a case where we don't reopen the channel. r=bechen,gerald
d1e6a2a527c134b31375aab87af6093fe09fa422
created 2017-12-07 15:50 +0800
pushed 2017-12-20 09:44 +0000
JW Wang JW Wang - Bug 1426056. P3 - assert MediaCacheStream::GetLength() is called off the main thread. r=bechen,gerald
e3ca1814e047bf1525645d9dfe712d7fb8bc2756
created 2017-12-07 15:45 +0800
pushed 2017-12-20 09:44 +0000
JW Wang JW Wang - Bug 1426056. P2 - remove unused members. r=bechen,gerald
6682e9d246390630ec5c200ab8c2c2ae149b3a6e
created 2017-12-07 15:43 +0800
pushed 2017-12-20 09:44 +0000
JW Wang JW Wang - Bug 1426056. P1 - move the decision of resuming download to another thread. r=bechen,gerald
ac32aa0058fe4f68d1eefeb5254e6c8883e25007
created 2017-12-14 10:19 +0800
pushed 2017-12-16 22:13 +0000
JW Wang JW Wang - Bug 1425170. P2 - remove unused members. r=bechen,gerald
358f1c414f3ed3b6c7a08a131032155e4c467938
created 2017-12-13 18:28 +0800
pushed 2017-12-14 09:52 +0000
JW Wang JW Wang - Bug 1424937 - read as many bytes as possible before giving up reading due to download ends abnormally. r=bechen,gerald
5807f7c17c4e1f0d899422e869e1a9ff76ae7cca
created 2017-12-05 15:23 +0800
pushed 2017-12-13 10:13 +0000
JW Wang JW Wang - Bug 1423465. P6 - assert some MediaCacheStream functions are run off the main thread. r=bechen,gerald
1d5dc1fa6172a6b22d744b8847cba9c8e8cbf93d
created 2017-12-05 14:15 +0800
pushed 2017-12-13 10:13 +0000
JW Wang JW Wang - Bug 1423465. P3 - assert MediaCacheStream::SetPlaybackRate() is called off the main thread. r=bechen,gerald
a52b0b97a64a447b61b0e221dadfec6143b93f2d
created 2017-11-29 16:49 +0800
pushed 2017-11-30 21:52 +0000
JW Wang JW Wang - Bug 1421864 - move mChannelStatistics from ChannelMediaResource to MediaCacheStream. r=bechen,gerald
8b00dd26d6b586ac52cec8d7e636c049afaaae28
created 2017-11-28 10:51 +0800
pushed 2017-11-29 10:09 +0000
JW Wang JW Wang - Bug 1421134. P2 - run MediaCacheStream::SetReadMode() off the main thread. r=bechen,gerald
b89049710a24aff55abe75f6d89dc59f8b353a9d
created 2017-11-28 10:43 +0800
pushed 2017-11-29 10:09 +0000
JW Wang JW Wang - Bug 1421134. P1 - default MediaCacheStream::mCurrentMode to MODE_METADATA. r=bechen,gerald
8316864557a24cb7c50ff18a6cd7d0939e87bf31
created 2017-11-27 15:04 +0800
pushed 2017-11-29 10:09 +0000
JW Wang JW Wang - Bug 1420819 - run MediaCache::Flush() off the main thread. r=bechen,gerald
bafd5fe6a0597e1224e9a18290210bcf16c4d574
created 2017-11-22 17:14 +0800
pushed 2017-11-28 09:48 +0000
JW Wang JW Wang - Bug 1420798 - apply the 'ProofOfLock' pattern to MediaCache. r=bechen,gerald
1fb9066a67c910e1476c12d05094a69acdb8372e
created 2017-11-23 11:30 +0800
pushed 2017-11-27 21:55 +0000
JW Wang JW Wang - Bug 1420016 - remove ChannelMediaResource::IsSuspendedByCache(). r=bechen,gerald
7358a7b7676ba2d0081db032738d193a2214114b
created 2017-11-20 16:30 +0800
pushed 2017-11-27 21:55 +0000
JW Wang JW Wang - Bug 1418918. P2 - add thread/monitor assertions. r=bechen,gerald
89b125e739e43c0250d3437871f2a94a5d57421c
created 2017-11-20 16:00 +0800
pushed 2017-11-27 21:55 +0000
JW Wang JW Wang - Bug 1418918. P1 - remove unused FlushPartialBlock(). r=bechen,gerald
d715aa4349b893a3cb52a8a893ee4312af766afa
created 2017-11-20 14:21 +0800
pushed 2017-11-24 22:02 +0000
JW Wang JW Wang - Bug 1418917. P2 - NotifyClientSuspended() should check mClosed. r=bechen,gerald
341c3b6cc245c4cc3212698217710a0221529fb6
created 2017-11-16 15:41 +0800
pushed 2017-11-24 22:02 +0000
JW Wang JW Wang - Bug 1418917. P1 - run some functions off the main thread. r=bechen,gerald
8347ecd0911bf461877d331161a1eae85c791210
created 2017-11-22 11:21 +0800
pushed 2017-11-23 09:42 +0000
JW Wang JW Wang - Bug 1418430. P2 - simplify the if statement of "reopen on error". r=bechen,gerald
c5e45c6114600e7dae153871f1672c4abf814db6
created 2017-11-22 10:35 +0800
pushed 2017-11-23 09:42 +0000
JW Wang JW Wang - Bug 1418430. P1 - always check "reopen on error" when a connection is closed. r=bechen,gerald
8a952ea3f5d73d61248d19a0d49e5a9d979f84c4
created 2017-11-16 12:05 +0800
pushed 2017-11-21 23:30 +0000
JW Wang JW Wang - Bug 1418219 - merge NotifyDataLength() and NotifyDataStarted(). r=bechen,gerald
ed68d2d0cb05190be93afb1064a968542fa885f2
created 2017-11-15 17:56 +0800
pushed 2017-11-21 23:30 +0000
JW Wang JW Wang - Bug 1418213 - always run MediaCacheStream::NotifyDataReceived() off the main thread. r=bechen,gerald
fdb2a41005f2c8ae4d3528c893821f9eb06b3f0c
created 2017-11-16 14:50 +0800
pushed 2017-11-20 09:39 +0000
JW Wang JW Wang - Bug 1415090. P5 - remove MediaCacheStream::NotifyChannelRecreated(). r=bechen,gerald
222597bfd33b3d40b37cae4cc86651768e2143e1
created 2017-11-15 16:45 +0800
pushed 2017-11-20 09:39 +0000
JW Wang JW Wang - Bug 1415090. P4 - don't modify mResourceID off the main thread. r=bechen,gerald
d712d60574b677150589892d4b008f6c22f4abc7
created 2017-11-10 15:06 +0800
pushed 2017-11-20 09:39 +0000
JW Wang JW Wang - Bug 1415090. P3 - run MediaCacheStream::NotifyDataEnded() off the main thread. r=bechen,gerald
94287653dc310427290d91cacbf268f9de92cb99
created 2017-11-10 14:40 +0800
pushed 2017-11-20 09:39 +0000
JW Wang JW Wang - Bug 1415090. P2 - move the "reopen on error" code from ChannelMediaResource::OnStopRequest() to MediaCacheStream::NotifyDataEnded(). r=bechen,gerald
3caa8e04c70982a7535be5c8c573af400663870d
created 2017-11-15 17:18 +0800
pushed 2017-11-17 09:57 +0000
JW Wang JW Wang - Bug 1417774 - remove unused MediaResource::Tell(). r=bechen
90cd780b0923e8c2d0a0a477fde3ce175b373539
created 2017-11-15 15:24 +0800
pushed 2017-11-16 10:02 +0000
JW Wang JW Wang - Bug 1416643. P2 - always access mDidNotifyDataEnded within the lock. r=bechen,gerald
daaf6edb12f7deed6f1c9b74dd3e9e8090f0a1e3
created 2017-11-15 15:14 +0800
pushed 2017-11-16 10:02 +0000
JW Wang JW Wang - Bug 1416643. P1 - remove checks for mDidNotifyDataEnded/mNotifyDataEndedStatus from IsAvailableForSharing(). r=bechen,gerald
05f87748526fbada07c692abaf2aaa01f4b3af13
created 2017-11-03 16:56 +0800
pushed 2017-11-14 10:22 +0000
JW Wang JW Wang - Bug 1416085 - use Span<> to replace low level pointer arithmetic in Read(). r=bechen,gerald
39f2cccbf9f73a3c0ea7dc6e2fe72a0216418b03
created 2017-11-01 16:53 +0800
pushed 2017-11-10 21:06 +0000
JW Wang JW Wang - Bug 1412737. P2 - Read() should return only when enough bytes are read or EOS/error is encountered. r=bechen,gerald
less more (0) -100 -60 tip