JW Wang
e21abfe964
Bug 1143562 - use /data/b2g/mozilla/gmp as the gmp storage folder on B2G. r=cpearce.
2015-03-18 10:29:31 +08:00
Daniel Holbert
082fd9cd7f
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Daniel Holbert
c4a0036a5d
Bug 1143823 part 1: Make MediaStream::RunAfterPendingUpdates() take already_AddRefed instead of a nsRefPtr. r=karlt
2015-03-17 09:29:17 -07:00
Jean-Yves Avenard
ddd2384f4e
Bug 1143516: Ignore SPS's aspect ratio if value is nonsensical. r=cpearce
2015-03-17 16:42:02 +11:00
Ehsan Akhgari
97b5f363cc
Bug 579517 follow-up: Remove NSPR types that crept in
2015-03-16 21:15:10 -04:00
Bobby Holley
f4ba405552
Bug 1135424 - Run MDSM disposal off the MediaPromise returned by initiating shutdown on the task queue. r=mattwoodrow
2015-03-16 14:38:45 -07:00
Bobby Holley
53ad5b2a9c
Bug 1135424 - Switch the MDSM to a task queue. r=mattwoodrow
2015-03-16 14:38:44 -07:00
Bobby Holley
11f667af87
Bug 1135424 - Implement MediaTimer. r=mattwoodrow
2015-03-16 14:38:43 -07:00
Bobby Holley
1d46643778
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-16 14:38:42 -07:00
Andreas Pehrson
ba688bded0
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
e95766a93b
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
05f13e6968
Bug 1142917 - add logs to GMPChild. r=edwin.
2015-03-16 11:27:49 +08:00
Bobby Holley
ca9369a50d
Bug 1141785 - Force all audio samples to be keyframes. r=k17e
2015-03-15 21:29:55 -07:00
Bobby Holley
9f9d0175f0
Bug 1141785 - Logging fixes. r=jya
2015-03-15 21:29:54 -07:00
Chris Peterson
df594b2b0d
Bug 1143336 - Fix and suppress -Wunreachable-code-return warnings in media code. r=cajbir
2015-03-14 13:47:51 -07:00
Sotaro Ikeda
5bcb8e7249
Bug 1142527 - Always call ReleaseMediaResources() when entering dormant r=cpearce
2015-03-15 20:51:02 -07:00
Phil Ringnalda
571ce099b4
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
2572f7570a
Bug 1143339: Part3. FFmpeg decoder can play video/mp4 mimetype. r=edwin
2015-03-16 08:49:19 +11:00
Jean-Yves Avenard
a2d00dfc0a
Bug 1143339: Part2. Also wrap mimetype video/mp4 in avcc wrapper. r=cpearce
2015-03-16 08:48:44 +11:00
Jean-Yves Avenard
68dde32c37
Bug 1143339: Part1. Ensure successive calls to Shutdown() won't potentially crash. r=cpearce
2015-03-16 08:48:29 +11:00
Chris Pearce
151f899496
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
c27c8bdddb
Bug 1135655 - bump up tab sharing dimension defaults to match screensharing r=jesup
2015-03-13 12:21:20 -04:00
Randell Jesup
d2e1438a01
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
293c4b5fad
Bug 1141622 - unregress screensharing frameRate by limiting hardcoded capabilities to osx camera r=jesup
2015-03-12 12:37:25 -04:00
Phil Ringnalda
345a4eca93
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
1ef0fc9d78
Bug 1127646 - Report MSE Join Latency and MTBR in telemetry - r=cpearce,bsmedberg
2015-03-13 15:02:49 +13:00
Bobby Holley
0563f41ef7
Bug 1135424 - Switch the MDSM to a task queue. r=mattwoodrow
2015-03-12 17:54:35 -07:00
Bobby Holley
de5342cf9d
Bug 1135424 - Implement MediaTimer. r=mattwoodrow
2015-03-12 17:52:51 -07:00
Bobby Holley
ab44849fc5
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
17b0191dec
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
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Gerald Squelart
71b9547ba6
Bug 1121774 - Split audio and video tracks in EME MSE tests. r=edwin
...
--HG--
rename : dom/media/test/gizmo-frag-cenc.xml => dom/media/test/bipbop-frag-cenc.xml
rename : dom/media/test/test_eme_non_fragmented.html => dom/media/test/test_eme_non_mse_fails.html
2015-03-11 20:40:00 -04:00
Paul Adenot
1a25b47c65
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
ada66aa858
Bug 1141282 - DynamicCompressorNode's readonly 'reduction' should be a float. r=ehsan
2015-03-12 14:36:39 +01:00
Carsten "Tomcat" Book
f11551a724
Merge mozilla-central to mozilla-inbound
2015-03-12 12:10:54 +01:00
Carsten "Tomcat" Book
fb7ccb2edc
merge fx-team to mozilla-central a=merge
2015-03-12 10:17:35 +01:00
Wes Kocher
42e0c8a496
Merge m-c to fx-team a=merge CLOSED TREE
2015-03-11 19:09:10 -07:00
Wes Kocher
b7ae2e9516
Merge m-c to inbound a=merge
...
--HG--
extra : rebase_source : 243776ce01fcd38161dd94411e0bc1cbfb2f7cb2
2015-03-11 19:06:00 -07:00
Ryan VanderMeulen
97acbd9776
Merge m-c to b2g-inbound. a=merge
2015-03-11 16:03:39 -04:00
Sotaro Ikeda
ccf07f5419
Bug 1137515 part 2 - Change to media r=jesup
2015-03-11 12:32:38 -07:00
Jan-Ivar Bruaroey
d132e36539
Bug 1136871 - cleanup RtpSenders accounting to not rely on streams r=mt
2015-03-11 12:24:38 -04:00
Andrew Osmond
ce39ae083d
Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh
2015-03-10 19:39:49 -04:00
Chris Pearce
de13adbecb
Bug 1141883 - Add more logging to help debugging EME. r=edwin
2015-03-11 17:02:08 +13:00
Ryan VanderMeulen
e2754f772f
Merge m-c to fx-team. a=merge
...
CLOSED TREE
2015-03-11 16:05:05 -04:00
Mike de Boer
04f3c42e8e
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
46dba701ac
Bug 1141241 - Add nullcheck for mDecoder in WMFMediaDataDecoder::ProcessDrain(). r=mattwoodrow
2015-03-11 22:01:19 +13:00
Jan-Ivar Bruaroey
1a0a70d9a2
Bug 1136871 - test invalid replaceTrack arg r=standard8
2015-02-27 11:23:46 -05:00
Mark Banner
de623dc60c
Bug 1136871: replaceTrack testcase r=jib
2015-03-11 15:29:37 -04:00
Byron Campen [:bwc]
6fb59a4364
Bug 1136871 - Part 2: Clear up some inconsistencies with ReplaceTrack r=jib,smaug
2015-03-11 12:08:21 -04:00
Matt Woodrow
10ced0676b
Bug 1131638 - Disable hardware decoding if too many frames are invalid. r=cpearce
2015-03-12 22:14:51 +13:00
Matt Woodrow
c2badcb2ef
Bug 1131638 - Record invalid frames as dropped for video playback stats. r=ajones
2015-03-12 22:14:04 +13:00
Jean-Yves Avenard
587ac422b8
Bug 1140688
: Only print a warning when VDA decoder couldn't be created. r=rillian
...
--HG--
extra : rebase_source : 3292410fbd8a8b03469ece9a257d6cd744ce5fef
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
4c60d0f785
Bug 1141914: Always use video dimensions using extradata's SPS. r=cpearce
...
--HG--
extra : rebase_source : f8d97ec431cc5147edc9013029e2053d3f2e4a40
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
100d451a99
Bug 1128381: Part7. Streamline code across platforms. r=cpearce
...
--HG--
extra : rebase_source : bd3fa9d07c8e37711f2409ef731f60ff882f8dbb
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
7434c7c6ac
Bug 1128381: Part6. Remove unused member functions. r=cpearce
...
--HG--
extra : rebase_source : f310f0f143662154332963e6f7678a4f87057ad8
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
51d8526603
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.
--HG--
extra : rebase_source : f350d83ea8bb3a2a7d80c51c4861272f1093eee3
2015-03-12 11:07:20 +11:00
Jean-Yves Avenard
83de7dcb78
Bug 1128381: Part4. Make AVCC wrapper work with SharedDecoderManager. r=cpearce
...
--HG--
extra : rebase_source : 957ef4b523f795804fec06c295c80c5de0da7bde
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard
adf3e336a3
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.
--HG--
extra : rebase_source : fbab04b0ae3b4be42eea34a1c6f1b19bf39ad2f0
2015-03-12 11:07:19 +11:00
Brian Birtles
78cbd39cef
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
Ryan VanderMeulen
d4a838cbc3
Backed out changesets cd5ec762afa1 and fad66e8fe874 (bug 1137515) for Nexus 5-L bustage.
...
CLOSED TREE
--HG--
extra : rebase_source : 59680d649177809d0a31d87091ab9d18070f7a0f
2015-03-11 12:35:08 -04:00
Alexandre Lissy
1e7c8bf446
Bug 1141029 - Disabling mochitests on Mulet with parity to B2G Desktop for taskcluster. r=ahal
2015-03-11 08:15:00 -04:00
Andreas Pehrson
2050f9e190
Bug 1081819 - Handle InMutedCycle() in TrackUnionStream::ProcessInput. r=roc,padenot
2015-03-05 12:27:16 +08:00
Andreas Pehrson
7f6daeea34
Bug 1081819 - Add mochitest for piping WebAudio in and out of PeerConnection. r=jesup,padenot
2015-03-02 18:07:20 +08:00
Andreas Pehrson
35fb84dfd4
Bug 1081819 - Let the output stream itself process input data from MediaStreamAudioDestinationNode::mStream. r=roc
2015-03-02 17:08:40 +08:00
James Willcox
99105b89d6
Bug 1084441 - Test for ability to play MP4 on Android Jelly Bean and higher r=cpearce
2015-03-11 09:22:55 -05:00
Sotaro Ikeda
80cec56356
Bug 1137515 part 2 - Change to media r=jesup
2015-03-11 07:18:23 -07:00
Jim Porter
d0a2187ca7
Bug 1039639 - Add support for Flac on Firefox OS. r=cajbir
2014-12-02 16:37:00 -05:00
Benjamin Chen
6649eea3cd
Bug 1131563 - Set the flag skipToNextKeyFrame to false if there is no keyframe behind. r=kinetik
...
--HG--
extra : rebase_source : e561bdfe1bddfc5073587056925248a4ba905977
2015-03-19 18:00:02 +08:00
JW Wang
2689394ff9
Bug 1143532 - Include pid in the log messages of GMPParent. r=edwin
...
--HG--
extra : rebase_source : 704c153d9227781f9cc443315603204efc7e2b0a
2015-03-15 23:30:00 +01:00
Matthew Gregan
a5dd52d5ad
Bug 1144523 - Convert input buffer to expected format for OpenH264 GMP plugin. r=cpearce
2015-03-20 17:52:10 +13:00
Wes Kocher
014849cca6
Merge m-c to inbound a=merge CLOSED TREE
2015-03-10 16:11:23 -07:00
Wes Kocher
d8ac0068e5
Merge b2g-inbound to m-c a=merge CLOSED TREE
2015-03-10 15:44:53 -07:00
Carsten "Tomcat" Book
cc4d1b9af9
Merge mozilla-central to b2g-inbound
2015-03-10 14:07:36 +01:00
Thomas Zimmermann
1ddf770fc6
Bug 1137151: Marked destructor of |MuxerOperation| as protected, r=sotaro
2015-03-10 13:44:01 +01:00
Thomas Zimmermann
9823b29ee9
Bug 1137151: Remove ref-counting from |OMXVideoEncoder| r=sotaro
...
Reference counting in |OMXVideoEncoder| is used inconsistently any actually
not necessary. This patch removed the code. Users are converted to auto
pointers.
2015-03-10 13:44:01 +01:00
Thomas Zimmermann
e90fcbf7f7
Bug 1137151: Marked destructor of |android::MediaCodecReader| as protected, r=sotaro
2015-03-10 13:44:01 +01:00
Randell Jesup
0994edf17b
Bug 1130150: mSources update r=roc
2015-03-10 01:08:03 -04:00
Karl Tomlinson
96611b45a9
bug 1139874 check for shutdown before asking the reader for buffered r=bholley
...
--HG--
extra : rebase_source : cbc7f06a89dfbaf22eb590c51ba709a4757296d0
2015-03-10 09:53:31 +13:00
Wes Kocher
8e389f1730
Merge inbound to m-c a=merge CLOSED TREE
2015-03-09 18:27:28 -07:00
Mike Taylor
6cd22be51a
Bug 1136877 - Collect telemetry on SPS.max_num_ref_frames. r=jya
2015-03-06 08:18:00 -05:00
Mike Taylor
df74a152aa
Bug 1136877 - Collect telemetry on constraint_set flags from decoded SPS. r=jya
2015-03-06 08:17:00 -05:00
Ethan Tseng
5bc6a1cede
Bug 1133461 - [RTSP] Remove the extra PLAY request for seek operation. r=bechen
2015-03-04 17:34:35 +08:00
Mike Taylor
8efae6d25f
Bug 1136877 - Collect telemetry on constraint_set flags from canPlayType. r=jya
2015-03-03 08:54:00 -05:00
Chris Pearce
290ac2d4af
Bug 1131387 - Enable EME, update whitelist. r=kentuckyfriedtakahe
2015-03-09 16:24:26 +13:00
Chris Pearce
e49356bdaf
Bug 1131387 - Rename MSE whitelist pref. r=kentuckyfriedtakahe
2015-03-09 16:24:21 +13:00
Chris Pearce
44bf110503
Bug 1140778 - Disable test_eme_obs_notification since it's testing functionality we're going to remove. r=test-only.
2015-03-09 16:24:18 +13:00
Jean-Yves Avenard
3a14d38778
Bug 1128380: Make AmpleVideoFrames calculation dynamic. r=cpearce
2015-03-09 14:17:30 +11:00
Jean-Yves Avenard
24c09255ca
Bug 1128380: Add IsHardwareAccelerated implementation for AVCC and mac decoder. r=cpearce
2015-03-09 14:17:27 +11:00
Matt Woodrow
3154f0f851
Back out bug 1131638 (changesets 78b34d0e414a and 1b55b99dc432) for causing various video regressions
2015-03-09 16:18:32 +13:00
Jean-Yves Avenard
52763888a3
Bug 1139779: Part5. Move picture/display size calculations in AVCC wrapper. r=rillian
2015-03-10 21:19:42 +11:00
Jean-Yves Avenard
313c854fd3
Bug 1139779: Part4. Make FFmpeg video decoder use AVCC. r=edwin
...
FFmpeg h264 decoder doesn't handle change of SPS in-band and only use the first
found.
2015-03-10 21:19:42 +11:00
Jean-Yves Avenard
b849b45758
Bug 1139779: Part3. Use dispay size extracted from SPS NAL. r=edwin
...
This also adds proper aspect ratio support.
2015-03-10 21:19:41 +11:00
Jean-Yves Avenard
85f78b847d
Bug 1139779: Part2. Use display dimension from SPS NAL. r=rillian
2015-03-10 21:19:41 +11:00
Nils Ohlmeier [:drno]
7bfa9a84ae
Bug 1139094 - Fix multiple steeplechase test execution problems. r=bwc, r=mt
2015-03-03 21:33:00 -05:00
Chris Pearce
4dd06c566c
Bug 1140947 - Correct some logging in SourceBufferResource.cpp. r=cajbir
2015-03-09 15:38:33 +13:00
Jean-Yves Avenard
ec19ab2505
Bug 1139380: Ensure all queued tasks are aborted when shutting down. r=cpearce
2015-03-06 16:49:00 +11:00
Ehsan Akhgari
0f8abb1d44
Bug 1140763 - Build dom/media/gtest in unified mode; r=cpearce
2015-03-08 15:46:07 -04:00
Phil Ringnalda
df31a989de
Backed out 3 changesets (bug 1081819) for frequent mochitest-e10s failures
...
Backed out changeset b78fd38002f5 (bug 1081819)
Backed out changeset ff063b9a1ea2 (bug 1081819)
Backed out changeset 322d60fc413e (bug 1081819)
2015-03-07 18:14:05 -08:00
Andreas Pehrson
a58f208924
Bug 1081819 - Handle InMutedCycle() in TrackUnionStream::ProcessInput. r=roc,padenot
2015-03-05 12:27:16 +08:00
Andreas Pehrson
dfcdf561b0
Bug 1081819 - Add mochitest for piping WebAudio in and out of PeerConnection. r=jesup,padenot
2015-03-02 18:07:20 +08:00