Commit Graph

73 Commits

Author SHA1 Message Date
Alastor Wu
82cee2c317 Bug 1119936 - Audio from FM Radio or Music app ceases to play when switching between front/back camera. r=roc 2015-03-09 15:41:51 +08:00
Sotaro Ikeda
796ca98bba Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce 2015-03-04 17:33:40 -08:00
Ryan VanderMeulen
ccc4d17f94 Backed out 4 changesets (bug 1128357) for causing intermittent B2G mochitest asserts.
Backed out changeset da4499b52105 (bug 1128357)
Backed out changeset fa440c623c4d (bug 1128357)
Backed out changeset 36b8feee431e (bug 1128357)
Backed out changeset aaa85558f413 (bug 1128357)

CLOSED TREE
2015-03-04 12:53:06 -05:00
JW Wang
8104da746d Bug 1138557 - Add null check to mLoadingSrc. r=karlt 2015-03-03 02:14:00 -05:00
Sotaro Ikeda
9b61959b7a Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce 2015-03-04 06:37:04 -08:00
Chris Pearce
ef8bd0eec3 Bug 1139316 - Add pref to enable EME outside of MSE. r=edwin 2015-03-04 23:07:30 +13:00
Andrea Marchesini
454d9140a2 Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Andreas Pehrson
d7ef0ecef9 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Andreas Pehrson
f5630e5649 Bug 1129263 - Part 4. Use MediaInfo instead of mHasAudio/Video in media element. r=roc 2015-02-09 14:51:17 +08:00
Edwin Flores
4c5a2cdce2 Bug 1131392 - Restrict EME to MSE only - r=cpearce 2015-03-03 11:02:36 +13:00
Dhi Aurrahman
4c1d48493c Bug 835800 - Convert more DOM attribute reflectors to DOMString. r=bzbarsky 2015-02-13 08:27:39 +07:00
Chris Double
44c110fd82 Bug 1119947 - Add telemetry for MSE video playback - r=cpearce,bsmedberg
This adds telemetry to record the state of the video playback
when the user exits. We are interested in knowing if the video
was buffering, paused, seeking, ended or other.

More telemetry will be added in bug 1127646.
2015-02-20 13:46:56 +13:00
Alfredo Yang
9c9f48f648 Bug 1130920 - don't set preload to none when src is MSE. r=cpearce 2015-02-15 18:38:00 +01:00
JW Wang
9c0cce04cd Bug 1130906 - remove HTMLMediaElement.waitingFor for spec. changes. r=cpearce. r=bz. 2015-02-10 11:00:35 +08:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
JW Wang
e327edd65c Bug 868866 - only stop delaying the load event when media fetch has stalled is MSE case. r=cpearce 2015-02-01 18:21:00 +01:00
Nicholas Nethercote
3629781b69 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Chris Double
15ba1ae394 Bug 1128742 - Prevent pages with MSE content from being stored in bfcache - r=roc 2015-02-04 13:01:59 +13:00
Gijs Kruitbosch
62c50e6225 Bug 1127416 - add observer service notification for EME video, r=cpearce
--HG--
extra : amend_source : f633a98394075e9cc19044776e10823ad262791b
2015-02-01 15:20:57 +00:00
JW Wang
1047aa9988 Bug 1127171 - Put mozCaptureStream operations in the same lock. r=roc 2015-01-28 18:57:00 -05:00
Chris Double
a9fd240a72 Bug 1112424 Part 1 - Add moz specific methods to retrieve debug data to media object IDL - r=bz
Bug 1112424 adds an about:media page that gives debug information about HTMLMediaElements
and in particular MediaSource objects that are live inside tabs. This patch adds
methods to the MediaSource and HTMLMediaElement object to return the debug data as a string
that gets displayed directly in the about:media page, inside a <pre> element.

--HG--
extra : rebase_source : d655dc3d30a26846b965ceeda4849745aab7bef5
2015-01-29 15:35:55 +13:00
Edwin Flores
6e6bf61ee9 Bug 1101304 - Handle CORS in EME - r=cpearce 2015-01-29 20:30:38 +13:00
Edwin Flores
6e2e5e7997 Bug 1124491 - Add HTMLMediaElement.isEncrypted attribute - r=cpearce,bz 2015-01-27 19:10:11 +13:00
Tom Schuster
8875fc0ed6 Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz 2015-01-24 16:38:08 +01:00
Andreas Pehrson
ddb72d387a 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
Andreas Pehrson
e7962e3edf Bug 992685 - Part 2. Fire resize event when video size changes. r=roc 2014-12-04 02:01:00 +01:00
Sotaro Ikeda
b224ae7358 Bug 1122228 - Use document's status change to trigger MediaDecoderStateMachine's dormant status change r=cpearce 2015-01-21 20:01:12 -08:00
Byron Campen [:bwc]
f3249923b5 Bug 1122678: Fix behavior of SetMozSrcObject when passed a nullptr. r=derf 2015-01-16 11:19:12 -08:00
Karl Tomlinson
82ccbfca64 bug 1123189 Queue "durationchange" instead of dispatching synchronously r=cpearce
http://www.w3.org/TR/2014/REC-html5-20141028/embedded-content-0.html#offsets-into-the-media-resource

"When the length of the media resource changes to a known value (e.g. from
being unknown to known, or from a previously established length to a new
length) the user agent must queue a task to fire a simple event named
durationchange at the media element."

--HG--
extra : rebase_source : 531ed14a241546613cf810cd6bf9b4a8c88d2d9e
extra : histedit_source : 86253e972d1dbb8f95af5167eb7487c1ddf6da14
2015-01-19 17:11:43 +13:00
Carsten "Tomcat" Book
dfb61d9498 Backed out changeset c4d8cf5b47ef (bug 992685) 2015-01-20 11:21:25 +01:00
Andreas Pehrson
9ed5613181 Bug 992685 - Part 2. Fire resize event when video size changes. r=roc 2014-12-04 02:01:00 +01:00
Andreas Pehrson
c685aaf155 Bug 1073406 - Part 2. Add playback stream as output to mSrcStream for individual media element blocking. r=roc 2014-12-05 00:07:00 +01:00
Boris Zbarsky
0eb85bdb63 Bug 604496. Inherit the document principal for data: media elements. r=cpearce 2015-01-16 22:47:32 -05:00
Andreas Pehrson
18b5a687fc Bug 879717 - Part 1. Delay entering HAVE_CURRENT_DATA state until a
From 4c9aef7ec548ee20df2802f5509e457f66c051ef Mon Sep 17 00:00:00 2001
 video frame has been stored in the image container. r=roc
---
 dom/html/HTMLMediaElement.cpp              | 124 +++++++++++++++++++++++------
 dom/html/HTMLMediaElement.h                |   9 +++
 dom/media/test/test_streams_srcObject.html |   2 +
 3 files changed, 112 insertions(+), 23 deletions(-)
2014-10-10 11:34:57 +02:00
Carsten "Tomcat" Book
dd845073bf Backed out changeset d9db938747d2 (bug 879717) for M-3 Test failures/timeouts on a CLOSED TREE 2015-01-13 08:48:01 +01:00
Andreas Pehrson
a39f6653f8 Bug 879717 - Part 1. Delay entering HAVE_CURRENT_DATA state until a video frame has been stored in the image container. r=roc 2014-10-10 11:34:57 +02:00
Olli Pettay
f0befe594b Bug 1108721, HTMLMediaElement.textTracks needs to be nullable in Gecko for now, r=peterv
--HG--
extra : rebase_source : 8c4b0b13e50a200907f1b4ba923fee4165318ca9
2015-01-12 13:07:38 +02:00
Karl Tomlinson
04342c90b6 Bug 1114885 allow media elements to be GC'd when their MediaSource is unreferenced r=roc
--HG--
extra : rebase_source : 0aba4bad8095106ad153508b74f699c6b726d3a1
2014-12-11 16:08:20 +13:00
Karl Tomlinson
4d707e7ecd bug 1116676 ensure that AddRemoveSelfReference() is called on networkState changes r=roc
Now that mDelayingLoadEvent may already be false when
NoSupportedMediaSourceError() is called, ChangeDelayLoadStatus(false) won't
necessarily call AddRemoveSelfReference().

--HG--
extra : rebase_source : a6314fd453643f7609590d24bc9375b1df63106c
2014-12-31 16:34:56 +13:00
Paul Adenot
5469994027 Bug 937718 - Output frames to the MediaElementAudioSourceNode when an <audio> has labeled the resource has CORS-cross-origin. r=roc
--HG--
extra : rebase_source : af3473e372f511640e62b47a86a133f0018c9388
2014-12-17 18:03:34 +01:00
Christoph Kerschbaumer
88c83107b4 Bug 1116624 - Move CORS into dom/security (r=sicking)
--HG--
rename : dom/base/nsCrossSiteListenerProxy.cpp => dom/security/nsCORSListenerProxy.cpp
rename : dom/base/nsCrossSiteListenerProxy.h => dom/security/nsCORSListenerProxy.h
2014-12-30 15:54:59 -08:00
Karl Tomlinson
3497dbc05d bug 975782 stop delaying the load event when media fetch has stalled r=cpearce,f=kinetik
--HG--
extra : rebase_source : c26dcd4221ba051ffff417631ae7ad9b7b65995d
2014-12-11 14:51:10 +13:00
Karl Tomlinson
56fa1403ba bug 975782 bring media resource loads out of background while they delay the load event r=cpearce
This will happen after a stalled load doesn't delay the load event but such a
load then delays the load event again when it receives progress.

--HG--
extra : rebase_source : a04dd7416f86306cfc62aabba20fb30415572d98
2014-12-23 14:16:05 +13:00
Edwin Flores
9d623c79cf Bug 1100175 - Call MediaDecoder::SetCDMProxy() after MediaDecoder::Load() - r=cpearce 2014-12-23 15:23:17 +13:00
Ehsan Akhgari
f66ae950dc Bug 1114349 - Use mozilla::IsNaN() in media code; r=cpearce 2014-12-21 19:16:26 -05:00
Jonathan Hao
52faaa6614 Bug 1111518 - Fix the logic in MediaDecoder::CanPlayThrough(). r=jwwang 2014-12-17 15:05:40 +08:00
JW Wang
8e0a12e1f8 Bug 1082203 - Route CDMCallbackProxy::Terminated to MediaKeys::Terminated so MediaKeys has a chance to handle CDM crashes and close sessions if necessary. r=cpearce 2014-12-16 20:01:00 -05:00
Benjamin Chen
6e34906a2d Bug 1095438 - Refine the dormant rules for the MediaElement, take bind/unbind-from-tree and document-hidden into account. r=jwwang 2014-12-15 15:34:28 +08:00
Karl Tomlinson
2c699e8a0c backout 78bde999fddd from bug 975782 for assertion failure in mochitest CLOSED TREE
--HG--
extra : amend_source : 3802b09260b751790211ed5fe8174bf162694e5a
2014-12-10 17:33:46 +13:00