Commit Graph

3251 Commits

Author SHA1 Message Date
Matthew Gregan
dfed61553f Bug 1177243 - Use PodZero rather than memset in WebM decoders. r=rillian 2015-06-25 17:23:35 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Jan Gerber
ca28029a56 Bug 1104475 - Refactor Vorbis and Opus decoding out of WebMReader. r=kinetik 2015-06-19 10:24:57 +02:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Rithesh Shenthar
b5aacea0d3 Bug 1167922 - Handle broken entries in media.peerconnection.default_iceservers more gracefully. r=jib
--HG--
extra : rebase_source : 272b59a709de1a65e5b35475e4075492b5ecd310
2015-06-23 16:52:50 -07:00
Ryan VanderMeulen
7ac18353e6 Backed out changeset cbe9a2aea954 (bug 1147692) for test_eme_canvas_blocked.html failures.
CLOSED TREE
2015-06-25 16:05:41 -04:00
Chris Pearce
e8b350b32d Bug 1147692 - Remove gmp-decryptor backwards compatibility hack. r=edwin 2015-06-25 11:19:42 -07:00
JW Wang
13addbc548 Bug 1175786 - Rewrite test_mediaElementAudioSourceNodeCrossOrigin.html. r=padenot
--HG--
extra : rebase_source : 1d754c33cfbc706914ef7f92b80ac7c3250f3423
2015-06-17 19:45:00 +02:00
Juan Becerra
89070941c9 Bug 1087629 - Add two new test cases for ICE connection states. r=ekr
--HG--
extra : transplant_source : _%7CY%86rE%19%E9%B5%9F%C2%F9%80i%AEV%B7%3C%95%A3
extra : histedit_source : 0d6bbc2a0f9d1043ed8f8cc39e2083d309db8e6f%2C375920aa61992cac9307c50aeb42e7d9da4f6c73
2015-06-18 16:07:01 -07:00
Gerald Squelart
2bd66050c4 Bug 1175783 - Add crash report annotations to track GMPParent shutdown. r=cpearce 2015-06-22 17:44:00 +02:00
Jean-Yves Avenard
9037f64bb7 Bug 1176989: Inform MediaSourceDecoder about new encryption keys inside TrackBuffersManager. r=cpearce 2015-06-23 17:29:31 -07:00
Jean-Yves Avenard
0e4bb8ad6a Bug 1176918: Only remove coded frames if presentation time is later than previous frame. r=gerald 2015-06-23 17:25:24 -07:00
Jean-Yves Avenard
22f745273d Bug 1176923: Don't add reference to SourceBuffer outside the main thread. r=gerald 2015-06-23 17:25:23 -07:00
Jean-Yves Avenard
2b840ef7d9 Bug 1176178: P3. Returns error as per spec if eviction failed. r=gerald 2015-06-23 17:25:22 -07:00
Jean-Yves Avenard
acaf5e8dc5 Bug 1176178: P2. Bump eviction threshold to 100MiB. r=kentuckyfriedtakahe
A 75MB eviction threshold often causes stalls when playing YouTube's 4K content.
2015-06-23 17:25:22 -07:00
Jean-Yves Avenard
01573c4dde Bug 1176178: P1. Be slightly less aggressive when evicting data. r=gerald 2015-06-23 17:25:21 -07:00
Matthew Gregan
ac2b9444ba Bug 1103824 - Back out changeset for causing regression reported in bug 1176499. 2015-06-23 17:02:51 -07:00
Ryan VanderMeulen
d9ca5de3ed Backed out 8 changesets (bug 1175768) for frequent media test failures.
Backed out changeset a369cfb95b59 (bug 1175768)
Backed out changeset e02dd312d622 (bug 1175768)
Backed out changeset 6776ce74b9e5 (bug 1175768)
Backed out changeset 6aa5fa1d318e (bug 1175768)
Backed out changeset a8bd7a0d2aea (bug 1175768)
Backed out changeset 41ffc9a9ac48 (bug 1175768)
Backed out changeset 2d2cefa397dc (bug 1175768)
Backed out changeset 4e06368496d2 (bug 1175768)

CLOSED TREE
2015-06-23 16:20:15 -04:00
Bobby Holley
6925b1f100 Bug 1175768 - Throttle NotifyDataArrived. r=jya 2015-06-22 22:53:09 -07:00
Bobby Holley
5c20ea36aa Bug 1175768 - Use mirroring for buffered ranges. r=jya 2015-06-22 22:53:09 -07:00
Bobby Holley
c53070187f Bug 1175768 - Misc changes to Intervals/TimeUnit. r=jya 2015-06-22 22:53:08 -07:00
Bobby Holley
23c16e6894 Bug 1175768 - Dispatch NotifyDataArrived and remove the aBuffer argument. r=jya
It would be nice to remove the argument in a separate patch, but we can't
perform MediaResource reads on the main thread, so the SilentReadAt stuff
needs to happen at the same time as the off-main-thread stuff.
2015-06-22 22:53:07 -07:00
Bobby Holley
880d8829bc Bug 1175768 - Implement SilentReadAt. r=jya 2015-06-22 22:53:07 -07:00
Bobby Holley
56422fb439 Bug 1175768 - Dispatch UpdateEstimatedMediaDuration. r=jya
NotifyDataArrived will soon run off-main-thread, so the assumptions here won't hold.
2015-06-22 22:53:06 -07:00
Bobby Holley
664074d93c Bug 1175768 - Make the logic in MDSM::NotifyDataArrived apply to mObservedDuration. r=jya
With this change, we don't need to condition this work on infinite streams.
2015-06-22 22:53:05 -07:00
Bobby Holley
d548594f41 Bug 1175768 - Remove bogus check. r=jya 2015-06-22 22:53:05 -07:00
Jean-Yves Avenard
422de510c1 Bug 1176494: P1. Ensure that progress event is fired upon successful appendBuffer. r=gerald 2015-06-21 01:26:57 +10:00
Daniel Holbert
05f6b3701b Bug 1173255 followup: Annotate RecvGetOriginKeyResponse as 'override' in MediaChild.h to fix -Winconsistent-missing-override. rs=ehsan 2015-06-19 10:37:39 -07:00
Jan-Ivar Bruaroey
d4bc9fa237 Bug 1173255 - Cleanup MediaManager e10s code in prep for deviceId constraint. r=jesup
--HG--
extra : amend_source : 057f17d55cd44a700abab5595c9f4fc95cfd2419
extra : transplant_source : %B7%5C%7D%FA%E9%3F%29%F9%EBM%9E%B5%1A%A6G%29%25%01%0E-
extra : histedit_source : a10d0d5106f5fffb3881604728c1933c90772622%2Cdf022706033cb19f87a8dd58376ab7800d9d2526
2015-06-18 11:46:36 -04:00
Blake Wu
2fadeeff56 Bug 1175071 - Remove those codes which handles ADTS. r=jya. 2015-06-18 17:39:23 +08:00
Jean-Yves Avenard
eae19ef27b Bug 1173792: P2. Always seek audio to original seeking position. r=cpearce
There's no guarantee that the audio stream will have the same buffered ranges as the video track; which could lead to a stall.
It is up to the MediaDecoderStateMachine to ensure proper A/V sync following a sync
2015-06-19 16:45:26 +10:00
Jean-Yves Avenard
c2988b9552 Bug 1173792: P1. Seek to original seeking position should video seeked time not found. r=cpearce 2015-06-19 16:45:26 +10:00
Jean-Yves Avenard
a863e675ee Bug 1175059: P3. Remove appendMode test assertion. r=kentuckyfriedtakahe
SourceBuffer segment mode is now supported.
2015-06-19 16:45:25 +10:00
Jean-Yves Avenard
bdc11dde6f Bug 1175059: P2. Only allow MP4 when new mediasource is active. r=kentuckyfriedtakahe 2015-06-19 16:45:25 +10:00
Jean-Yves Avenard
f44cd1a7bf Bug 1175059: P1. Reject non-supported content-format. r=kentuckyfriedtakahe
The new MSE architecture currently only support mp4
2015-06-19 16:45:24 +10:00
Jean-Yves Avenard
e13d4301b5 Bug 1175395: P2. Properly add sample at end of array if previous sample was overlapping. r=gerald
By spec, slightly overlapping frames are to be kept, so we can't rely on the buffered range end time as it could be of the overlapped frame and ending later than the new frame.
2015-06-19 16:45:24 +10:00
Jean-Yves Avenard
ec308444b0 Bug 1175395: P1. Reject append promise early. r=kentuckyfriedtakahe
So the next call to appendBuffer following an abort() is guaranteed to succeed.
2015-06-19 16:45:23 +10:00
Jean-Yves Avenard
027acb010f Bug 1175058: P3. Properly search for the required MP4 Atoms rather than make assumptions. r=kentuckyfriedtakahe 2015-06-19 16:45:23 +10:00
Jean-Yves Avenard
cbeea727bc Bug 1175058: P2. Do not evict data until a full init segment has been received. r=kentuckyfriedtakahe
This prevented being able to read the init segment back from the MP4ContainerParser
should init segment had been added in multiple blocks.
2015-06-19 16:45:22 +10:00
Jean-Yves Avenard
b764ec476f Bug 1175058: P1. Properly handle partial init and media header. r=cajbir 2015-06-19 16:45:22 +10:00
Jean-Yves Avenard
df091bbb37 Bug 1175037: Ensure MediaFormatReader is notified when new data is received. r=alfredo 2015-06-19 16:45:22 +10:00
Jean-Yves Avenard
3103f99655 Bug 1174981: P2. Ensure our cached buffered range is setup. r=gerald
If the mediasource track demuxer was initialized after appendSegment was completed,
our buffered ranges would be empty.
2015-06-19 16:45:21 +10:00
Jean-Yves Avenard
03db89712a Bug 1174981: P1. Ensure frames are returned in pts order. r=gerald
We move management of the data to the TrackBuffersManager as it contains
precise information on how the samples are being moved.
2015-06-19 16:45:21 +10:00
Jean-Yves Avenard
4c70b3dc19 Bug 1174588: P2. Properly handle removal of data within the current coded frame group. r=gerald
W3C bug pending.
2015-06-19 16:45:20 +10:00
Jean-Yves Avenard
bc6eff980a Bug 1174588: P1. Update insertion index on the fly. r=gerald
Prevent reparsing the entire stream in the next call to appendBuffer.
2015-06-19 16:45:20 +10:00
Jean-Yves Avenard
091307ab71 Bug 1174584: P3. Do not error in prepare append if we've reached our memory threshold. r=gerald
In the new MSE architecture. eviction is done asynchronously, also being super accurate, eviction will
always succeed.
Limit our eviction rate to be a minimum of 512kB.
2015-06-19 16:45:19 +10:00
Jean-Yves Avenard
9ea341a358 Bug 1174584: P2. Fix frames removal. r=gerald 2015-06-19 16:45:19 +10:00
Jean-Yves Avenard
bef136e64c Bug 1174584: P1. Fix logging. r=cpearce 2015-06-19 16:45:18 +10:00
Jean-Yves Avenard
a506151ccb Bug 1174583: P2. Fix frame insertion. r=gerald
Strict tests were added to enforce that all frame groups start with a keyframe
Debug code was also added to ensure that dts increase monotonically within coded frame groups.
As always, speed and memory optimisations weren't considered and will be handled in bug 1171760
2015-06-19 16:45:18 +10:00
Jean-Yves Avenard
df197c4651 Bug 1174583: P1. Add iterators to IntervalSet. r=mattwoodrow
Make for more elegant loops.
2015-06-19 16:45:17 +10:00