Commit Graph

1770 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
14e52a60de Bug 1095218 - Part 2: Multistream support. r=mt
--HG--
extra : rebase_source : d699a4408c351014e30be3b3dfe148bda14c643f
2014-12-10 11:17:09 -08:00
Byron Campen [:bwc]
3a5fa56125 Bug 1095218 - Part 1: msid support. r=mt
--HG--
extra : rebase_source : 7b5cd5efdaec5d53dd4d39aa1f4226659c06f1cb
2014-12-01 21:19:57 -08:00
Chris Pearce
7362653bad Bug 1125472 - Don't flush decode task queue in MediaDecoderStateMachine::FlushDecoding(). r=bholley 2015-01-29 07:43:47 +13:00
Jed Davis
fef2dc290e Bug 1120045 - Pref off allowing media plugins on Linux systems which can't sandbox them. r=jesup
This does *not* affect the sandboxing requirement for EME CDMs added in
bug 1074561; that is enforced separately and regardless of this pref.

Bonus fix: GC unused includes of sandbox headers.
2015-01-28 10:06:53 -08:00
Sotaro Ikeda
4c24c6b995 Bug 1123452 - Try to enter dormant state when document is hidden r=cpearce 2015-01-28 06:31:31 -08:00
Alfredo Yang
7c6d6851b3 Bug 980622 - Free media element node to release decoder. r=cajbir 2015-01-27 02:27:00 -05:00
Ryan VanderMeulen
6705017b40 Backed out changeset fad4fd21ab1d (bug 1123452) for Windows w-p-t failures and Linux mochitest orange.
CLOSED TREE
2015-01-27 22:00:41 -05:00
Ryan VanderMeulen
f073cc6900 Backed out changeset 525b62ea9132 (bug 1125472) 2015-01-27 22:00:17 -05:00
Ryan VanderMeulen
ed4b315947 Backed out 4 changesets (bug 1123535)
Backed out changeset b4eb1cc07186 (bug 1123535)
Backed out changeset dab05b7115f6 (bug 1123535)
Backed out changeset c2efa0319f04 (bug 1123535)
Backed out changeset 29304c69eff6 (bug 1123535)
2015-01-27 22:00:11 -05:00
Wes Kocher
f37df5625b Backed out changeset 774ff21aecb3 (bug 1120128) for build bustage 2015-01-27 17:48:43 -08:00
Matt Woodrow
e0f2ca34db Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas
--HG--
extra : rebase_source : 782dc73a9f284c7a0d98061f2fe2dfb87e3bb149
2015-01-26 13:34:28 +13:00
Chris Pearce
a977122b54 Bug 1123535 - Don't hold decoder monitor while calling PreReadMetadata. r=kentuckyfriedtakahe 2015-01-28 13:56:59 +13:00
Chris Pearce
0b760136b5 Bug 1123535 - Make MP4Reader and WMFMediaDataDecoder support going dormant. r=kentuckyfriedtakahe 2015-01-28 13:56:58 +13:00
Chris Pearce
b71607d201 Bug 1123535 - Run MediaDecoderReader::ReleaseMediaResources on decode task queue. r=jwwang 2015-01-21 18:02:27 +08:00
Chris Pearce
6466e43afb Bug 1125472 - Don't flush decode task queue in MediaDecoderStateMachine::FlushDecoding(). r=bholley 2015-01-28 13:56:58 +13:00
Sotaro Ikeda
4213600de8 Bug 1123452 - Make Mp4Reader enter dormant state when it is idle and its document is hidden. r=cpearce 2015-01-28 13:56:58 +13:00
Wes Kocher
89130381fe Backed out 12 changesets (bug 1118398, bug 1119593) for zmedia failures
Backed out changeset db7c4ffd5a53 (bug 1119593)
Backed out changeset 2832633668c3 (bug 1119593)
Backed out changeset 2f38bbb30cc6 (bug 1119593)
Backed out changeset 46b5bb0665e9 (bug 1119593)
Backed out changeset e97ee52f7803 (bug 1119593)
Backed out changeset f7f0adc1879d (bug 1119593)
Backed out changeset 4ccecd0da80f (bug 1119593)
Backed out changeset 2ea753b42366 (bug 1119593)
Backed out changeset 28d59c42debb (bug 1119593)
Backed out changeset a38d68f15ced (bug 1119593)
Backed out changeset 1d565fc1473c (bug 1119593)
Backed out changeset d28a04536e7e (bug 1118398)
2015-01-27 16:56:02 -08:00
Martin Thomson
bf1dae3312 Bug 1119593 - Dealing with multiple streams, r=drno
--HG--
extra : rebase_source : fea8cecbaae5a95fa45856a4edd54752088b8bd8
2015-01-27 12:35:59 -08:00
Martin Thomson
1d63c67b19 Bug 1119593 - Fixing test preconditions for steeplechase, r=drno
--HG--
extra : rebase_source : a732dd3fa45385808ddbf15846da0590ff24c880
2015-01-27 12:35:59 -08:00
Martin Thomson
247f4b3c61 Bug 1119593 - Aggressively removing boilerplate on tests, r=drno
Conflicts:
	dom/media/tests/mochitest/test_getUserMedia_exceptions.html

--HG--
extra : rebase_source : 693261260367b4d01d1cf059827700d5b86eee1e
2015-01-27 12:35:59 -08:00
Martin Thomson
2407d907e5 Bug 1119593 - Re-enable per-data-channel close, r=drno
--HG--
extra : rebase_source : be13d7e6b15d9f361b52d21ff18b51223fe65a85
2015-01-27 12:35:58 -08:00
Martin Thomson
c2720cd85b Bug 1119593 - Adding test for legacy navigator.mozGetUserMedia, r=drno
Conflicts:
	dom/media/tests/mochitest/mochitest.ini

--HG--
extra : rebase_source : 4827f3e8ed39675072e96a543531750f9b268204
2015-01-27 12:35:58 -08:00
Martin Thomson
9300bbcde5 Bug 1119593 - Adding test for legacy PC callback functions, r=drno,jib
--HG--
extra : rebase_source : 02c72b572a7984cc472552d9eef3b5645fb47873
2015-01-27 12:35:58 -08:00
Martin Thomson
d6ccf981b6 Bug 1119593 - Update gUM tests to use promises consistently, r=drno,jib
Conflicts:
	dom/media/tests/mochitest/constraints.js

--HG--
extra : rebase_source : 3c6ff820387fae011cf7df6d6c315665f5a8655c
2015-01-27 12:35:58 -08:00
Martin Thomson
7f8f597ec4 Bug 1119593 - Update identity tests, r=drno
--HG--
extra : rebase_source : ef6aeb4bf9223837db2e2763204be40c5ff6a74e
2015-01-27 12:35:58 -08:00
Martin Thomson
bae5192e6e Bug 1119593 - Update PeerConnection tests, r=drno,jib
--HG--
extra : rebase_source : 40253388a45a89e0d85ba538ba694ebf07454046
2015-01-27 12:35:58 -08:00
Martin Thomson
b0cb911e78 Bug 1119593 - Update WebRTC data channel tests, r=drno
--HG--
extra : rebase_source : 78a5d7e164f543bd3a3aa9057236b60dd60c8da8
2015-01-27 12:35:58 -08:00
Martin Thomson
3bbb52db57 Bug 1119593 - Update WebRTC tests to use promises more consistently, r=drno,jib
--HG--
extra : rebase_source : 44c34f392843f3dcb042df6303a7152168f6b858
2015-01-27 12:35:58 -08:00
Bobby Holley
067250b41d Bug 1126088 - Fallibly allocate MP4Stream CacheBlocks. r=jya,r=njn 2015-01-27 09:36:09 -08:00
Ehsan Akhgari
9cd10b7b4f Bug 1117034 - Mark some overridden functions in the tree as override
--HG--
extra : rebase_source : a37ba6b69c02db90b8f3c440ac2dbca4d80c8bc5
2015-01-26 21:09:59 -05:00
JW Wang
bfc4d164a1 Bug 1124939 - Add "individualization-request" to MediaKeyMessageType. r=bz 2015-01-26 20:08:00 +01:00
Edwin Flores
28fbe0a0ef Bug 1124491 - Add HTMLMediaElement.isEncrypted attribute - r=cpearce,bz 2015-01-27 19:10:11 +13:00
Edwin Flores
fabd1cd79e Bug 1124491 - Test HTMLMediaElement.isEncrypted attribute - r=cpearce 2015-01-27 19:10:11 +13:00
Carsten "Tomcat" Book
67dca2efae Backed out changeset 304e3ccaf533 (bug 1123452) for windows crashtest bustage on a CLOSED TREE 2015-01-27 09:39:41 +01:00
Carsten "Tomcat" Book
97952b7caa Backed out changeset fde8a287433b (bug 1125472) 2015-01-27 09:39:06 +01:00
Carsten "Tomcat" Book
b5897b0a72 Backed out changeset b6bec74def09 (bug 1123535) 2015-01-27 09:39:04 +01:00
Carsten "Tomcat" Book
34dc58aa0c Backed out changeset cdcfd5fda7b4 (bug 1123535) 2015-01-27 09:39:03 +01:00
Carsten "Tomcat" Book
c232714eb0 Backed out changeset f6da914b2a93 (bug 1123535) 2015-01-27 09:38:56 +01:00
Benjamin Chen
8e5e324b89 Bug 1120247 - 1 MediaCodecReader::ResetDecode() needs to reject(cancel) any pending promises. 2. fix regression caused by bug 1114910. r=cpearce 2015-01-20 14:46:31 +08:00
Jean-Yves Avenard
81c6b02cc7 Backed out changeset 0e9b37fd47c6. Breaks w4 test on a CLOSED TREE r=me 2015-01-27 18:25:44 +11:00
Chris Pearce
6932daf12e Bug 1123535 - Don't hold decoder monitor while calling PreReadMetadata. r=kentuckyfriedtakahe 2015-01-27 19:30:11 +13:00
Chris Pearce
8df5911e52 Bug 1123535 - Make MP4Reader and WMFMediaDataDecoder support going dormant. r=kentuckyfriedtakahe 2015-01-27 19:30:11 +13:00
Chris Pearce
ce1554bd89 Bug 1123535 - Run MediaDecoderReader::ReleaseMediaResources on decode task queue. r=jwwang 2015-01-21 18:02:27 +08:00
Chris Pearce
8dffdeedf3 Bug 1125472 - Don't flush decode task queue in MediaDecoderStateMachine::FlushDecoding(). r=bholley 2015-01-27 19:30:11 +13:00
Sotaro Ikeda
d0a7d92c04 Bug 1123452 - Make Mp4Reader enter dormant state when it is idle and its document is hidden. r=cpearce 2015-01-27 19:30:11 +13:00
Jean-Yves Avenard
3048e3979e Bug 1102642: Fix constructor definition on a CLOSED TREE 2015-01-27 16:47:39 +11:00
Jean-Yves Avenard
b6679d18f5 Bug 1125581: Cache buffered TimeRanges and only recalculate as necessary. r=mattwoodrow
Also change the relationship between SourceBufferResource object and its callee.
Data is now required to be removed or added via the SourceBufferDecoder.
This fixes a potential race between the time we add data to the resource and
the time we retrieve the buffered time ranges.
2015-01-26 11:26:20 +11:00
Jean-Yves Avenard
86fa73c5fa Bug 1102642: Use ref counted compressed data within mediasource. r=mattwoodrow 2015-01-27 02:01:09 +11:00
Wes Kocher
dd7ff05753 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Ehsan Akhgari
d080be3549 Backed out changeset 45921e3d9773 (bug 1117034) because of build bustage on a CLOSED TREE 2015-01-26 21:52:40 -05:00
Ehsan Akhgari
56e3b70f4e Bug 1117034 - Mark some overridden functions in the tree as override 2015-01-26 21:14:12 -05:00
Ehsan Akhgari
5f3b6e7680 Bug 1126015 - Mark some functions in FFmpegDataDecoder as override; r=cpearce 2015-01-26 20:28:00 -05:00
Jeff Gilbert
ebb432b53c Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Bobby Holley
0bd7caedde Bug 1124952 - Set request status to Pending in the special DecodeFirstFrame calls too. r=cpearce 2015-01-26 15:59:44 -08:00
Ralph Giles
89ad6af62f Bug 1096089 - Add missing TimeRanges.h include. r=bustage
This is needed for non-unified builds. Thanks to Yuan Pengfei
for pointing out the issue.
2015-01-26 10:07:10 -08:00
Jean-Yves Avenard
78c29d212d Bug 1118589: MSE: Run appendBuffer internal's asynchronously. r=cajbir 2015-01-26 21:33:56 +11:00
Bob Owen
9bff5f0ad0 Bug 1094370: Use the USER_LOCKDOWN access token for GMP processes. r=aklotz 2015-01-26 10:14:39 +00:00
Masatoshi Kimura
6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura
86502e6537 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Masatoshi Kimura
be535304d8 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Jean-Yves Avenard
11cb5dd66a Bug 1096089: Only return end of stream if we're near the known duration. r=mattwoodrow
YouTube will call endOfStream once the video has been entirely buffered.
When changing video quality, it will clear the entire source buffer,
following which it will append data once again which will reopen
the mediasource.
We don't want to consider a mediasource in ended state as not ever going to
receive more data in the future unless we're actually reached the end.
2015-01-24 21:46:21 +11:00
Jean-Yves Avenard
fc83b577e7 Bug 1096089: MSE: Partially implement Range Removal algorithm. r=mattwoodrow, r=cajbir
Data is only properly evicted when we remove the entire buffered range.
Otherwise, only the buffered times are updated.
2015-01-24 21:45:58 +11:00
Jean-Yves Avenard
369f8719e0 Bug 1123202: Execute abort() when detaching source buffer. r=cajbir 2015-01-24 21:45:55 +11:00
Phil Ringnalda
da1262334e Merge m-c to a CLOSED TREE m-i 2015-01-23 22:00:41 -08:00
Ryan VanderMeulen
8e7ca863fa Merge m-c to b2g-inbound. a=merge 2015-01-23 12:32:39 -05:00
Jonathan Hao
31fa7b90c2 Bug 1119681 - [RTSP] Add time stamps to RTSP live streams. r=ettseng, r=bechen 2015-01-23 10:04:53 +08:00
Andreas Pehrson
e5681a1719 Bug 1124139 - Don't use mPlaybackStream for CameraPreview. r=jesup
From db346795ad1a0ae33e7496df893288eb1fbf7699 Mon Sep 17 00:00:00 2001
---
 dom/camera/CameraPreviewMediaStream.h |  1 +
 dom/html/HTMLMediaElement.cpp         | 29 +++++++++++++++++------------
 dom/html/HTMLMediaElement.h           |  6 +++++-
 dom/media/MediaStreamGraph.h          |  2 ++
 4 files changed, 25 insertions(+), 13 deletions(-)
2015-01-22 09:27:24 +01:00
Jean-Yves Avenard
d7f9c27adb Bug 1123198: Run reset parser state algorithm when aborting. r=cajbir 2015-01-22 21:19:02 +11:00
Andreas Pehrson
235e576ae5 Bug 992685 - Part 3. Test video element resize event. r=roc 2015-01-19 23:46:00 +01:00
Paul Adenot
96c8cd7b84 Bug 1119266 - Properly wrap the table index in ComputeCustom on ARM. r=karlt
On ARM, casting a negative float to an unsigned integer yields zero, whereas on
x86, it wraps. When the OscillatorNode had a negative frequency, the code would
just interpolate between the first and second value of the wave table, instead
of interpolating backward.
2015-01-12 13:32:11 +01:00
Jan-Ivar Bruaroey
9ce1941985 Bug 1006707 - add microphone to mediaSource and remove redundant enum in c++. r=rjesup 2015-01-20 10:31:59 -05:00
Jan-Ivar Bruaroey
4c8c004fd8 Bug 1006707 - change facingMode from enum to DOMString and support it as array. r=smaug, r=mt 2015-01-21 11:10:19 -05:00
Bobby Holley
f2e2db81ac Bug 1121148 - Make QUICK_BUFFERING_LOW_DATA_USECS a member variable and adjust it appropriately. r=cpearce 2015-01-21 21:53:04 -08:00
Bobby Holley
b398a95f3c Bug 1121148 - Move constants that we should not be using directly into a namespace. r=cpearce
This lets us avoid using them accidentally in place of their member-variable
equivalents.
2015-01-21 21:53:04 -08:00
Matthew Gregan
102cca780a Bug 1122372 - Fix dangerous UniquePtr usage pattern in AudioStream. r=cpearce 2015-01-15 20:47:00 +13:00
Matthew Gregan
f29aff15e4 Bug 1124021 - Fix dangerous UniquePtr usage pattern in GMP. r=cpearce 2015-01-20 18:39:00 +13:00
Matthew Gregan
8e86d1cba8 Bug 1124023 - Fix naming of GMPAudioDecoderCallbackProxy. r=cpearce 2015-01-20 18:39:00 +13:00
Sotaro Ikeda
4f96a3066c Bug 1122228 - Use document's status change to trigger MediaDecoderStateMachine's dormant status change r=cpearce 2015-01-21 20:01:12 -08:00
Wes Kocher
e9f880e46e Backed out 11 changesets (bug 1119593) for zmedia failures on a CLOSED TREE
Backed out changeset 6a3067465821 (bug 1119593)
Backed out changeset 7a2f5bf9e656 (bug 1119593)
Backed out changeset 544d8d52bbaf (bug 1119593)
Backed out changeset 3e61d3076385 (bug 1119593)
Backed out changeset 8b17ccc1d9c6 (bug 1119593)
Backed out changeset 8c9ee98fcce6 (bug 1119593)
Backed out changeset cc930e78d1b5 (bug 1119593)
Backed out changeset 2198a2cd71a1 (bug 1119593)
Backed out changeset 49e681140796 (bug 1119593)
Backed out changeset 288e9b7efccc (bug 1119593)
Backed out changeset 33b1f11c8784 (bug 1119593)
2015-01-21 18:17:22 -08:00
Brad Lassey
a15714025a bug 1124512 - Tab mirroring to Roku is broken r=jesup
--HG--
extra : rebase_source : 3a60c9e4d9c9b203b019a9c070f45a4e92bd929f
2015-01-23 11:53:15 -05:00
Byron Campen [:bwc]
19a5029fa0 Bug 1123882: Fix case where offset != 0 r=derf
--HG--
extra : rebase_source : 8d0cc9a8b21eede927cb51e79e1857bc69fbea5d
2015-01-21 08:56:36 -08:00
Sotaro Ikeda
4f70eb3f49 Bug 1124957 - Fix typo of Dormant r=cpearce 2015-01-23 07:00:39 -08:00
Boris Zbarsky
cbb271e250 Bug 1107443 part 2. Stop defining non-configurable properties on the window in dom and xpconnect JS files. r=peterv 2015-01-23 09:54:14 -05:00
Jean-Yves Avenard
98643901f1 Bug 1124172: Abort read if there's nothing to read. r=bholley
FileMediaResource::ReadFromCache assumes all data request will always be
available. This may not always be true.
2015-01-22 11:57:05 +11:00
Martin Thomson
d9e300eacc Bug 1119593 - Dealing with multiple streams, r=drno
--HG--
extra : rebase_source : 0cef8bd0df4f8dfa486425a76beb67216fec8724
2015-01-21 14:34:14 -08:00
Martin Thomson
d27767c45f Bug 1119593 - Fixing test preconditions for steeplechase, r=drno
--HG--
extra : rebase_source : 993f338c548a5b2071e44d034ce692b61668fe3e
2015-01-21 14:34:14 -08:00
Martin Thomson
1ab0e03e46 Bug 1119593 - Aggressively removing boilerplate on tests, r=drno
--HG--
extra : rebase_source : 063b91fd7dca7e1c5b06acc60531ddfdf383b286
2015-01-21 14:34:14 -08:00
Martin Thomson
6d4579e288 Bug 1119593 - Re-enable per-data-channel close, r=drno
--HG--
extra : rebase_source : 61402a19af48d31ca4803f7bcd776f08c3fd3034
2015-01-21 14:34:14 -08:00
Martin Thomson
6e8135fba1 Bug 1119593 - Adding test for legacy navigator.mozGetUserMedia, r=drno
--HG--
extra : rebase_source : 265a9cfd6dc7d091057449467c6869bb4e0b57f9
2015-01-21 14:34:14 -08:00
Martin Thomson
80f3a1448a Bug 1119593 - Adding test for legacy PC callback functions, r=drno,jib
--HG--
extra : rebase_source : da8c9ab020355f8d8362777c4bea356373307efc
2015-01-21 14:34:14 -08:00
Martin Thomson
30aa6f8871 Bug 1119593 - Update gUM tests to use promises consistently, r=drno,jib
--HG--
extra : rebase_source : 2ec4b87d8bf22e01d6b5cdec36b11a2d987dd1c8
2015-01-21 14:34:13 -08:00
Martin Thomson
bce7e1ee59 Bug 1119593 - Update identity tests, r=drno
--HG--
extra : rebase_source : f741b481b23227288081a23a50c59313b6ca349b
2015-01-21 14:34:13 -08:00
Martin Thomson
4c33305998 Bug 1119593 - Update PeerConnection tests, r=drno,jib
--HG--
extra : rebase_source : 1ee4d19bdc88bfc7a5bbe782a1fe9e04f4179bcb
2015-01-21 14:34:13 -08:00
Martin Thomson
710f4a1030 Bug 1119593 - Update WebRTC data channel tests, r=drno
--HG--
extra : rebase_source : 9b9f87929d8d71d94694dd54391cb9bdcc1f1bc0
2015-01-21 14:34:13 -08:00
Martin Thomson
52eec4cce1 Bug 1119593 - Update WebRTC tests to use promises more consistently, r=drno,jib
--HG--
extra : rebase_source : 372f545072260a3b27963eae126ace7e3756f2c3
2015-01-21 14:34:13 -08:00
Bobby Holley
3e322225c5 Bug 1123983 - Don't reset request status in MediaDecoderStateMachine::FlushDecoding. r=cpearce 2015-01-21 14:34:26 -08:00
Bobby Holley
a18cc7d480 Bug 1123983 - Implement exclusivity checking for MediaPromises. r=cpearce 2015-01-21 14:34:26 -08:00
Jan-Ivar Bruaroey
dd25a84c04 Bug 1115998 - Support RTCIceServer.urls (plural) array form. r=smaug, r=mt 2015-01-20 10:08:00 -05:00
Masatoshi Kimura
9656ec51c3 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Carsten "Tomcat" Book
a2f9315326 merge mozilla-inbound to mozilla-central a=merge 2015-01-21 14:21:49 +01:00