Bob Owen
459f9f007d
Bug 1383611: Pre-load psapi.dll for widevine CDM as it needs it for GetMappedFileNameW. r=cpearce
2017-07-24 20:01:06 +01:00
Paul Adenot
b9e645073e
Bug 1375119 - Consider a page active if it has running AudioContexts. r=ehsan
...
MozReview-Commit-ID: IOQ2DY9LoTw
--HG--
extra : rebase_source : f47568d3db129ff8d9a484d5b5554f1154d53133
2017-07-24 11:17:14 +02:00
Carsten "Tomcat" Book
0c215343b0
merge mozilla-inbound to mozilla-central a=merge
2017-07-24 13:01:44 +02:00
Nicholas Nethercote
90eaa02ea0
Bug 1382099 - Remove MOZ_WIDGET_GONK from dom/media/. r=gerald.
...
As well as the obvious #ifdefs, this allows DOMHwMediaStream to be
removed, and also the "phone-state-changed" observer.
--HG--
extra : rebase_source : 373280183e228bd4b9bd9d866959409f2444c77e
2017-07-24 10:08:55 +10:00
Sebastian Hengst
f16a7f8371
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 4EWdTlEncz7
2017-07-22 11:38:42 +02:00
Wes Kocher
d45eb771f0
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Wes Kocher
e4f2d0a9db
Backed out changeset cd615bff6069 (bug 1375119) for android mochitest failures in test_webaudioNotification.html a=backout
...
MozReview-Commit-ID: 4XQnvJ9Qr7R
2017-07-21 15:21:32 -07:00
Sylvestre Ledru
7c0ae251cd
Bug 1381253 - Remove redundant control flow declarations rs=ehsan
...
MozReview-Commit-ID: FFxP4aMCbOL
--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Paul Adenot
78d51fcd94
Bug 1375119 - Consider a page active if it has running AudioContexts. r=ehsan
...
MozReview-Commit-ID: IOQ2DY9LoTw
--HG--
extra : rebase_source : 5cc3ab7406707427e9e5de1f96597bb16222cf97
extra : source : 2de831b0d2329c02ddd87d60e1d814fe518e3c67
2017-07-21 12:41:52 +02:00
Jan-Ivar Bruaroey
899c0d854f
Bug 1382095 - Fix Refcountable<> helper to avoid size mismatch in the memory leak logging table. r=jesup
...
MozReview-Commit-ID: 5i0iP9aDfHF
--HG--
extra : rebase_source : fcccd6772c147ae04da98ba6c0dcbc714b6cf107
2017-07-01 21:37:18 -04:00
Jan-Ivar Bruaroey
669a221f7a
Bug 1382095 - Avoid ref-counting MediaEngineSource itself in setLastPrefs runnables to improve shutdown. r=jesup
...
MozReview-Commit-ID: LyMIXG9ClRJ
--HG--
extra : rebase_source : 119689ae07bcb4939950a02102ae1b6a936d4708
2017-07-01 15:01:25 -07:00
bechen
55bf6d2d94
Bug 1380571 - Enable test_streams_autoplay.html on Android. r=alwu
...
MozReview-Commit-ID: FWLFW1E6ThJ
--HG--
extra : rebase_source : 0d2388c3e9ded5dfcd61d7c3135877af5932a005
2017-07-13 14:48:56 +08:00
Alastor Wu
1499ee0710
Bug 1274919 - part3 : only send msg if someone is waiting for it. r=jwwang,mikedeboer
...
Only send the msg "Browser:UnselectedTabHover" when someone requests for the
msg, it can reduce non-necessary communication.
MozReview-Commit-ID: 2mBUMB4AMVo
--HG--
extra : rebase_source : d7a5103e2713735fdd0f65c7de381b219f4cce26
2017-07-20 15:11:25 +08:00
Alastor Wu
f235c5746c
Bug 1274919 - part2 : implement resume/suspend mechanism in MediaDecoder. r=jwwang
...
Create the new class "BackgroundVideoDecodingPermissionObserver" to handle the
suspended request sent from the front end side.
We would do registration on startup and deregistration on shutdown of MediaDecoder.
MozReview-Commit-ID: 1UwHA7YuVN3
--HG--
extra : rebase_source : a0bc22999fbf799cd25da8ec423d9f03acc9e8e2
2017-07-20 14:13:37 +08:00
JW Wang
87a7705558
Bug 1316211. P16 - remove MediaDecoderReader completely and fix includes. r=gerald
...
MozReview-Commit-ID: AGNyyh4kt3e
--HG--
extra : rebase_source : 48bfd7c681693a965848078c19ac81707ac19540
extra : source : 093ff5fe2ab6dd7551453b10b480fa3553ec135d
2017-07-20 09:56:08 +08:00
JW Wang
ef025c6fcf
Bug 1316211. P15 - remove MDR from the base class of MFR. r=gerald
...
MozReview-Commit-ID: Jf5pCxkhexg
--HG--
extra : rebase_source : 3ec9423d4d0f3b60ee9e5f6f19af18188530e1d9
extra : source : 4fbc225bfc79abacaf47ffd4405ef2d6711dea32
2017-07-19 22:18:37 +08:00
JW Wang
2e40eb607f
Bug 1316211. P14 - move members from MDR to MFR. r=gerald
...
MozReview-Commit-ID: EwdteoEY1uS
--HG--
extra : rebase_source : 2cc250720539ba6c1682efac69d3724164338137
extra : source : d4cc3de1ae224bdca414cd02f4d3473c44fe4d20
2017-07-19 17:34:05 +08:00
JW Wang
5370eb3105
Bug 1316211. P13 - replace use of MediaDecoderReader with MediaFormatReader. r=gerald
...
We will remove MediaDecoderReader in the future.
MozReview-Commit-ID: BaCRXleKK5a
--HG--
extra : rebase_source : dc14a593d6291136f02b1deb910cd6dcd01c0355
extra : source : 8f71b7dae0a541562c7c3829b5a873e9f9fd2674
2017-07-19 17:01:32 +08:00
JW Wang
fe278cb908
Bug 1316211. P12 - remove some more unused members. r=gerald
...
MozReview-Commit-ID: IEs0jXrC3tI
--HG--
extra : rebase_source : d1f7d2e51322c46ba16a28e448287d65e83d86f0
extra : source : 9eea2bf7cbbf9ac80d76cf983e9635ad2ae50493
2017-07-19 15:28:02 +08:00
JW Wang
a7d0db5642
Bug 1316211. P11 - remove empty functions. r=gerald
...
MozReview-Commit-ID: 44blKyrVzLV
--HG--
extra : rebase_source : c65bc3b216cbd2409f22c519100a525f8c01beac
extra : source : dcdb98fbdd1389eaec08ccf32a685774ce53f755
2017-07-19 15:15:14 +08:00
JW Wang
11bf9c01e0
Bug 1316211. P10 - make SizeOf{Audio,Video}QueueInFrames() pure virtual which will be overridden by MFR. r=gerald
...
MozReview-Commit-ID: 5a4qTXVWdG1
--HG--
extra : rebase_source : 891470ac9bc3df6425ee190a98acea55902bf66f
extra : source : b7916e882c764cd3402f19a0985961a277264f12
2017-07-19 15:12:12 +08:00
JW Wang
0ffa647791
Bug 1316211. P9 - remove SizeOf{Audio,Video}QueueInBytes() that has no callers. r=gerald
...
MozReview-Commit-ID: A6TbGMdyDGQ
--HG--
extra : rebase_source : 6af7018d0ecea4d11040382ccd3ddf7719979ad2
extra : source : b4a506b3ebfd9ceb8b3eb5a23ea8499e0d3e9ddf
2017-07-19 15:08:27 +08:00
JW Wang
afcae477f6
Bug 1316211. P8 - fix MDSM::SizeOf{Audio,Video}Queue which should count its own queues. r=gerald
...
MozReview-Commit-ID: HMtkZpMSf3L
--HG--
extra : rebase_source : d533689da3e0678488638a84f1747f80586900b2
extra : source : a6e1edb69b3c88abd8cd4428ab227dbb9bbaf5a3
2017-07-19 15:02:33 +08:00
JW Wang
bfebe64691
Bug 1316211. P7 - remove mAudioQueue and mVideoQueue for we never push data into the queues. r=gerald
...
MozReview-Commit-ID: AL5JqUIAVXo
--HG--
extra : rebase_source : daf75d0e9a6065769b88d09fa52132f561d5ee77
extra : source : c6901fa2f8c548648606ecc1750ef98a38b8d6ad
2017-07-19 14:49:08 +08:00
JW Wang
7383189ffa
Bug 1316211. P6 - move some members from MDR into MFR. r=gerald
...
MozReview-Commit-ID: 9H17UZjpCDT
--HG--
extra : rebase_source : 42ac663c72e71a4d3dddb995e43fde342e1ff7a8
extra : source : 0eac04f34efeb0c26fd9d09bea9299dbe460ffa9
2017-07-19 14:27:24 +08:00
JW Wang
39d88e8d8b
Bug 1316211. P5 - remove IsAsync() and its callers. r=gerald
...
MozReview-Commit-ID: CT2gyEak2Qz
--HG--
extra : rebase_source : 205bf82c8abe7da9026bff6daab7562a5981ea39
extra : source : a6a543c1d90133036caada487799cac064e2f3f3
2017-07-19 14:24:35 +08:00
JW Wang
2f7cce7073
Bug 1316211. P4 - remove CheckSlowDecoding() and friends since IsAsync() now always returns true. r=gerald
...
MozReview-Commit-ID: 3dOa0aUQ0kM
--HG--
extra : rebase_source : 3091fc002b28bd9d2b45c330a45c437032c4cf18
extra : source : b6fe47f3e125097d8d5c6dd322c948b6c483980a
2017-07-19 14:19:40 +08:00
JW Wang
669cff3ca0
Bug 1316211. P3 - remove unused members. r=gerald
...
MozReview-Commit-ID: 4cAHEvMEm9Q
--HG--
extra : rebase_source : bc3d7decf46c5ea5b2b99d0df383875ea99dd035
extra : source : 02bba6d4539ae37085774c09f3ba6c1e3c55b61c
2017-07-19 11:51:53 +08:00
JW Wang
3e0b54aed5
Bug 1316211. P2 - remove dead code. r=gerald
...
MozReview-Commit-ID: FQNyxabfhrp
--HG--
extra : rebase_source : 45386b4fa0be0038482b3f5ac79498847c38dad2
extra : source : 35829fc167cf54a4e08e52d61241f6c2282400f2
2017-07-19 11:43:59 +08:00
JW Wang
2fa451fa7d
Bug 1316211. P1 - make some functions pure virtual for they will be overridden by MFR. r=gerald
...
MozReview-Commit-ID: 9l8MbDRjLR0
--HG--
extra : rebase_source : f055ef64dfc71e0da709aab69db0049cafe10dae
extra : source : 2e5c4ae8b368b605f397455b3fede770d546fe86
2017-07-19 11:24:51 +08:00
Nico Grunbaum
ebd633ae0a
Bug 1371000
- add expiration to noncamera device info;r=jib
...
MozReview-Commit-ID: 406sbEpJfbk
--HG--
extra : rebase_source : 49f4438a4fe6cbf55db5d535bd8b257c343e4d4d
2017-06-13 17:24:54 -07:00
Chris Pearce
9b79f3e2c6
Bug 1381720 - Add content_decryption_module_ext.h. r=gerald
...
Updates to Chromium revision 6e4c388c0117fe408b66fbede91081fb1018c5fe.
Adds Verified Media Pipeline function definitions.
MozReview-Commit-ID: 2H8mMNacQqR
--HG--
extra : rebase_source : d544d6a0c6854ccc29da6ddcc11b4efc8f621036
2017-05-29 17:14:52 +12:00
Chris Pearce
c4af620223
Bug 1381720 - Update content_decryption_module.h. r=gerald
...
Update to chromium revision 6e4c388c0117fe408b66fbede91081fb1018c5fe.
Includes cdm::ContentDecryptionModule_9 and cdm::Host_9 definitions,
HDCP definitions, and 10 and 12 bit image format definitions.
MozReview-Commit-ID: bYH3OBSzuT
--HG--
extra : rebase_source : cfc291b3452c2154ecd1ca16a2ece0a5a42f0b5e
2017-05-29 17:14:26 +12:00
Jean-Yves Avenard
d0144aba45
Bug 1382303 - P3. Reduce enough data threadhold to 10s. r=jwwang
...
We waited 30s until we changed readyState to HAVE_ENOUGH_DATA this would cause autoplay media element to start rather late. In particular with live stream. 10s is typically enough ahead time to start playback.
MozReview-Commit-ID: LJvY8cQYfwZ
--HG--
extra : rebase_source : 4c75326891ba4e9317c432ea7074eb033a77b300
2017-07-20 20:49:06 +02:00
Jean-Yves Avenard
fe81e074b9
Bug 1382303 - P1. Add mochitest. r=jwwang
...
MozReview-Commit-ID: ENSiDzd2SmW
--HG--
extra : rebase_source : fd590977e460d14cc2596116fe4ce7ee6fb76b97
2017-07-20 19:09:04 +02:00
James Cheng
dce1114dea
Bug 1373314 - Allow mp4a mimetype with leading 0 in aud-oti for compatibility. r=cpearce
...
MozReview-Commit-ID: 6SwbWuxzpEJ
--HG--
extra : rebase_source : 2e6ed6ffef3ce9da16a691e40f78fe42ef8c8800
2017-07-20 15:35:41 +08:00
Ryan VanderMeulen
0cfb1d8460
Merge inbound to m-c. a=merge
...
CLOSED TREE
2017-07-19 10:00:35 -04:00
Alastor Wu
8fa2796b1e
Bug 1364340 - enable dom/media/test/test_resolution_change.html on Android. r=bechen
...
MozReview-Commit-ID: EvtkgkyFbIp
--HG--
extra : rebase_source : 184096007d748d3564f5ad1bcbc9e67da4118970
2017-07-19 10:57:23 +08:00
Ryan VanderMeulen
a064d6dbfc
Merge m-c to inbound. a=merge
2017-07-18 13:00:03 -04:00
Paul Adenot
4029e408c3
Bug 1378067 - Label more runnables in dom/media (GraphDriver.cpp, CubebUtils.cpp, DOMMediaStream.cpp). r=jesup
...
MozReview-Commit-ID: EQzR1AfzvzE
--HG--
extra : rebase_source : 9950d07eb1e8e9b1d07f94c10d7c5cf0008a8141
2017-07-18 11:26:58 +02:00
Sebastian Hengst
cb2227a5c7
Backed out changeset 6dc016256eba (bug 1378067) for bustage at dom/media/webaudio/WebAudioUtils.cpp:107. r=backout on a CLOSED TREE
2017-07-18 11:51:22 +02:00
Paul Adenot
ac12821115
Bug 1378067 - Label more runnables in dom/media (GraphDriver.cpp, CubebUtils.cpp, DOMMediaStream.cpp). r=jesup
...
MozReview-Commit-ID: EQzR1AfzvzE
2017-07-18 11:26:58 +02:00
Wes Kocher
8117ff8bd3
Backed out 3 changesets (bug 1197045) for failures in browser_Troubleshoot.js a=backout CLOSED TREE
...
Backed out changeset 78b66a4c6b7c (bug 1197045)
Backed out changeset feea60a002a7 (bug 1197045)
Backed out changeset 57842092a282 (bug 1197045)
MozReview-Commit-ID: J0KZDSSw4XQ
2017-07-18 22:54:15 -07:00
Chun-Min Chang
8c2032ba1b
Bug 1197045 - part2: Expose audio channels, layout, sample-rate, and native device information via DOMWindowUtils; r=padenot
...
MozReview-Commit-ID: 9Kh2w0MioUQ
--HG--
extra : rebase_source : cf0012bf9892dedb71933a48f595f97a8f648511
2017-07-18 16:09:10 +08:00
Chun-Min Chang
d6c1dd180f
Bug 1197045 - part1: Create an AudioDeviceInfo to expose the native device information; r=kinetik
...
MozReview-Commit-ID: 2N2BkZUVOca
--HG--
extra : rebase_source : 499d069251f3231a2fd5ddbd55aaa5b5f4124723
2017-07-13 14:01:36 +08:00
Paul Adenot
b1551892bd
Bug 1373213 - Repair cubeb logging when using env var. r=jesup
...
This does two things:
- Stop calling the callback when initializing cubeb prefs callback, see the
comment block for the rationale.
- Change the pref name so that the problem does not continue to be triggered
with users that have the old pref name in their profile.
MozReview-Commit-ID: 9Ty7Mt9WZpP
--HG--
extra : rebase_source : 1ed504be98c279f54a1a6c4168709b3ba78103e5
2017-06-23 14:35:45 -07:00
Jean-Yves Avenard
f50943d4cc
Bug 1379190: P1. Remove AndroidMediaDecoder and relatives. r=cpearce
...
They are no longer supported and can't work with API >= 16
MozReview-Commit-ID: JkftKxW5OtY
--HG--
extra : rebase_source : 6ed4032141add293d21354640c96fc75adc565d9
2017-07-13 12:54:03 +02:00
JW Wang
cda80ee431
Bug 1381758 - Remove the debug code added in bug 1326294. r=gerald
...
Bug 1326294 is fixed and we don't need the debug code anymore.
This help reduce the coupling with HTMLMediaElement and make MediaDecoder
easier to be reused by Servo.
MozReview-Commit-ID: KCwAjoQFPkS
--HG--
extra : rebase_source : 0c98899f63edb5971ddecb812635c9a6f693d448
2017-07-18 16:36:01 +08:00
Alastor Wu
80f58a3d1e
Bug 1381376 - only suspend decoding when the pref is on. r=jwwang
...
Only suspend decoding when the pref is on, but resuming could be done when the
pref is off.
MozReview-Commit-ID: JDh1pRXNhc8
--HG--
extra : rebase_source : 1a075c9eff5abe0eae7bd929d9c632d5b49a63be
2017-07-17 18:38:35 +08:00
Wes Kocher
b1c83de1b7
Backed out 2 changesets (bug 1381720) for linux build failures in content_decryption_module.h a=backout
...
Backed out changeset e4d9cb334352 (bug 1381720)
Backed out changeset 69f177823866 (bug 1381720)
MozReview-Commit-ID: DctOanJkHh7
2017-07-17 23:21:49 -07:00