Commit Graph

2186 Commits

Author SHA1 Message Date
Andreas Pehrson
06875768a5 Bug 1142688 - Wait for actual audio data on remote side before checking audio sanity. r=jesup,padenot 2015-03-16 16:32:19 +08:00
Paul Adenot
d4f37ca0bf Bug 1141781 - Grip the VideoFrameContainer when queing a call to invalidate in the MediaStreamGraph. r=roc 2015-03-16 18:12:36 +01:00
JW Wang
bd501230e2 Bug 1142917 - add logs to GMPChild. r=edwin. 2015-03-16 11:27:49 +08:00
Bobby Holley
297188ca94 Bug 1141785 - Force all audio samples to be keyframes. r=k17e 2015-03-15 21:29:55 -07:00
Bobby Holley
fd17d5678b Bug 1141785 - Logging fixes. r=jya 2015-03-15 21:29:54 -07:00
Chris Peterson
df816519c2 Bug 1143336 - Fix and suppress -Wunreachable-code-return warnings in media code. r=cajbir 2015-03-14 13:47:51 -07:00
Sotaro Ikeda
26eadc39fa Bug 1142527 - Always call ReleaseMediaResources() when entering dormant r=cpearce 2015-03-15 20:51:02 -07:00
Phil Ringnalda
6799917ec4 Back out 7f1f85ee4ba6 (bug 1143278) for Win7 near-permaorange in test_eme_canvas_blocked.html 2015-03-15 18:30:53 -07:00
Jean-Yves Avenard
f638f36e68 Bug 1143339: Part3. FFmpeg decoder can play video/mp4 mimetype. r=edwin 2015-03-16 08:49:19 +11:00
Jean-Yves Avenard
c0d68c0833 Bug 1143339: Part2. Also wrap mimetype video/mp4 in avcc wrapper. r=cpearce 2015-03-16 08:48:44 +11:00
Jean-Yves Avenard
0f44a5b00e Bug 1143339: Part1. Ensure successive calls to Shutdown() won't potentially crash. r=cpearce 2015-03-16 08:48:29 +11:00
Chris Pearce
764285660f Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin 2015-03-15 11:30:24 +13:00
Jan-Ivar Bruaroey
6c8986ab3b Bug 1135655 - bump up tab sharing dimension defaults to match screensharing r=jesup 2015-03-13 12:21:20 -04:00
Randell Jesup
78c5f5f0a8 Bug 1141622: bustage fix for warnings-as-errors r=bustage on a CLOSED TREE 2015-03-13 10:12:59 -04:00
Jan-Ivar Bruaroey
35f8685b22 Bug 1141622 - unregress screensharing frameRate by limiting hardcoded capabilities to osx camera r=jesup 2015-03-12 12:37:25 -04:00
Phil Ringnalda
449b70840e Back out 3 changesets (bug 1135424) on suspicion of causing frequent hangs in test_playback.html on mochitest-e10s
CLOSED TREE

Backed out changeset 584d91ffdf88 (bug 1135424)
Backed out changeset d86806ea63f4 (bug 1135424)
Backed out changeset e52401d30a67 (bug 1135424)
2015-03-12 23:05:11 -07:00
Chris Double
3786384366 Bug 1127646 - Report MSE Join Latency and MTBR in telemetry - r=cpearce,bsmedberg 2015-03-13 15:02:49 +13:00
Bobby Holley
fb69461e18 Bug 1135424 - Switch the MDSM to a task queue. r=mattwoodrow 2015-03-12 17:54:35 -07:00
Bobby Holley
838ad64674 Bug 1135424 - Implement MediaTimer. r=mattwoodrow 2015-03-12 17:52:51 -07:00
Bobby Holley
643902f841 Bug 1135424 - Allow MediaPromise dispatch to fail if the ThenValue has been disconnected. r=mattwoodrow
The original idea behind the current model was that we wanted ironclad guarantees
that consumers would always get a callback on their promise. But we now have use
cases where the consumer wants to forget about a promise (using the new
Disconnect()) feature, and in some cases wants to shut down the task queue that
the response is going to be dispatched on. In the case of this bug, we want to
avoid waiting for the longest outstanding timer promise to be resolved before
shutting down the MDSM.

So this patch fixes up the pieces needed to make this work:
* Loosening our invariants to allow dispatch targets to be released on any thread,
  since MediaTaskQueue and nsIEventTarget both have thread-safe refcounting.
* Releasing mThisVal in Disconnect, so that we no longer depend on successful
  dispatch to release it on the correct (dispatch) thread.
* Fiddling with various assertions.

We also make some assertions fatal in nightly/aurora builds while we're at it.
2015-03-12 17:52:50 -07:00
Chris Double
99f7bdd3a1 Bug 1131884 - Video buffering calculation fails for some MP4 videos - r=jya
Playback position used in calculating buffering time is set
during metadata reading. This is at end of file for the
video in the bug. As a result the buffering data is always
wrong.

Changed to not setting position during metadata - it is set
during frame playback anyway.

Also changes buffering timeout to 15s from 30s.
2015-03-13 13:45:51 +13:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Gerald Squelart
c9deaaa539 Bug 1121774 - Split audio and video tracks in EME MSE tests. r=edwin 2015-03-11 20:40:00 -04:00
Paul Adenot
bead2260a5 Bug 1141282 - Test the type of the attributes of the DynamicCompressoNode, and make sure it returns sane values. r=ehsan 2015-03-12 14:36:40 +01:00
Paul Adenot
3c026c91ba Bug 1141282 - DynamicCompressorNode's readonly 'reduction' should be a float. r=ehsan 2015-03-12 14:36:39 +01:00
Carsten "Tomcat" Book
54e5404eec Merge mozilla-central to mozilla-inbound 2015-03-12 12:10:54 +01:00
Carsten "Tomcat" Book
f876c2ec54 merge fx-team to mozilla-central a=merge 2015-03-12 10:17:35 +01:00
Wes Kocher
83a37cbb4c Merge m-c to fx-team a=merge CLOSED TREE 2015-03-11 19:09:10 -07:00
Wes Kocher
43233d5ebe Merge m-c to inbound a=merge 2015-03-11 19:06:00 -07:00
Ryan VanderMeulen
67d1ffef4b Merge m-c to b2g-inbound. a=merge 2015-03-11 16:03:39 -04:00
Sotaro Ikeda
4990e78217 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 12:32:38 -07:00
Jan-Ivar Bruaroey
d56642e463 Bug 1136871 - cleanup RtpSenders accounting to not rely on streams r=mt 2015-03-11 12:24:38 -04:00
Andrew Osmond
a0bbbdd643 Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
Chris Pearce
6adbe7ed51 Bug 1141883 - Add more logging to help debugging EME. r=edwin 2015-03-11 17:02:08 +13:00
Ryan VanderMeulen
1d88bc3c03 Merge m-c to fx-team. a=merge
CLOSED TREE
2015-03-11 16:05:05 -04:00
Mike de Boer
f7f8346239 Bug 1139907: show WebRTC screen sharing notification icon in Hello conversation window and globally when tab sharing is active. r=jesup,florian 2015-03-11 16:34:31 +01:00
Chris Pearce
df156c7a6c Bug 1141241 - Add nullcheck for mDecoder in WMFMediaDataDecoder::ProcessDrain(). r=mattwoodrow 2015-03-11 22:01:19 +13:00
Jan-Ivar Bruaroey
09943ec359 Bug 1136871 - test invalid replaceTrack arg r=standard8 2015-02-27 11:23:46 -05:00
Mark Banner
e596604059 Bug 1136871: replaceTrack testcase r=jib 2015-03-11 15:29:37 -04:00
Byron Campen [:bwc]
1fc68b315e Bug 1136871 - Part 2: Clear up some inconsistencies with ReplaceTrack r=jib,smaug 2015-03-11 12:08:21 -04:00
Matt Woodrow
bfed929c24 Bug 1131638 - Disable hardware decoding if too many frames are invalid. r=cpearce 2015-03-12 22:14:51 +13:00
Matt Woodrow
6db2c9ff04 Bug 1131638 - Record invalid frames as dropped for video playback stats. r=ajones 2015-03-12 22:14:04 +13:00
Jean-Yves Avenard
4d39518521 Bug 1140688: Only print a warning when VDA decoder couldn't be created. r=rillian 2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
b1563491d5 Bug 1141914: Always use video dimensions using extradata's SPS. r=cpearce 2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
be6ae8ed7c Bug 1128381: Part7. Streamline code across platforms. r=cpearce 2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
bf862827a7 Bug 1128381: Part6. Remove unused member functions. r=cpearce 2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
7d4ffc6f52 Bug 1128381: Part5. Make AVCC wrapper be dormant capable. r=cpearce
This makes the Apple VDA and VideoToolbox as well as EME and FFmpeg decoder
dormant capable.
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
df1eca920c Bug 1128381: Part4. Make AVCC wrapper work with SharedDecoderManager. r=cpearce 2015-03-12 11:07:19 +11:00
Jean-Yves Avenard
bf72a74ecc Bug 1128381: Part3. Handle on the fly video format change. r=cpearce
Add monitoring of the current SPS NAL and destroy/recreate H264 decoder as
required.
2015-03-12 11:07:19 +11:00
Brian Birtles
829fcc29d7 Bug 1134487 - Remove delegated constructors in GMP{Audio,Video}Decoder since they're not supported by GCC 4.6. r=cpearce 2015-02-19 10:37:29 +09:00