Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Ehsan Akhgari
37a45c793d
Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
...
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.
This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
Andrea Marchesini
db97457570
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
4d84eb2be5
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
79edbab44c
Backed out changeset e11a8496bf63 (bug 1180535)
2015-07-11 14:13:32 +02:00
Ehsan Akhgari
33472a67ba
Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
...
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.
This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 21:33:00 -04:00
Andrea Marchesini
567d09c01f
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 21:08:43 -04:00
Xidorn Quan
a5cfa673a9
Backed out 8 changesets (bug 1113086) for build bustage
...
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Andrea Marchesini
0294bacd27
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-07-10 17:38:44 +01:00
Wes Kocher
6b7fd8796a
Backed out changeset d7e0eb7b42f9 (bug 1180535) for test_video_wakelock.html permafails CLOSED TREE
2015-07-10 15:36:39 -07:00
Ehsan Akhgari
1859e2fd6b
Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
...
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.
This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 15:49:53 -04:00
Chris Pearce
9ffe106f52
Bug 1180563 - Add pref to delay play of <video>s until they're visible. r=kinetik
2015-07-09 11:10:16 +12:00
Hamzata Diallo
3f804c88be
Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow
2015-07-02 15:19:35 -07:00
Ryan VanderMeulen
ef1aa3fee8
Backed out 7 changesets (bug 1113086) for various Gaia test failures.
...
Backed out changeset eb7e79a2c9e9 (bug 1113086)
Backed out changeset 3562a09b2bf3 (bug 1113086)
Backed out changeset 127cde112795 (bug 1113086)
Backed out changeset 84dc903151c1 (bug 1113086)
Backed out changeset 42dc5dbabdcd (bug 1113086)
Backed out changeset e1ad68356a74 (bug 1113086)
Backed out changeset 86b32f5442f2 (bug 1113086)
2015-06-18 13:00:25 -04:00
Andrea Marchesini
dcd7cc075f
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
2015-06-18 15:56:58 +01:00
Daosheng Mu
4743d59f12
Bug 987498 - Part 2 - HTMLMediaElement supports playback OverlayImage. r=roc
2015-06-09 23:22:00 +02:00
Brian Birtles
e5f2f91990
Bug 1165203 - Make calls to load() upgrade preload=none to preload=metadata; r=cpearce
2015-06-17 09:02:51 +09:00
Karl Tomlinson
437bf273d4
bug 1116382 use MediaSource from resolution of MediaSource urls when set r=bholley
2015-05-28 14:38:34 +12:00
Karl Tomlinson
f4305531a7
bug 1116382 always ShutdownDecoder() so that MediaSourceDecoder alone can manage MediaSource::Detach() r=bholley
2015-05-28 14:23:27 +12:00
Karl Tomlinson
b6050910ba
bug 1116382 resolve MediaSource urls on media element src attributes when set r=bholley
2015-05-26 22:36:04 +12:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Bobby Holley
dc8cc8f105
Bug 1159558 - Redesign watching to use a manager. r=jww
2015-04-30 12:46:40 -07:00
Bobby Holley
1e4f8d4df5
Bug 1144481 - Use state mirroring for NextFrameStatus. r=jww
2015-04-23 11:55:14 -07:00
Bobby Holley
d08d71b4b5
Bug 1144486 - Use state watching machinery for mReadyState updates. r=jww
2015-04-22 21:38:11 -07:00
Ehsan Akhgari
9aea0e3f0a
Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
...
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
bcf61be505
Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE
2015-04-21 15:47:40 -07:00
Ehsan Akhgari
e383d2c003
Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
...
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Jean-Yves Avenard
53ce854702
Bug 1153686: Remove redundant mMediaSize member. r=roc
2015-04-14 15:15:46 +10:00
Robert O'Callahan
e13c855efa
Bug 1149494 - Part 1. Add a listener directly to the unblocked input stream that reports the size of the first non-empty frame seen. r=pehrsons
2015-04-08 17:51:21 +12:00
Gerald Squelart
08ec2f3b2c
Bug 1144409 - Encrypted event should be fired once per initData. r=cpearce
2015-04-01 03:36:00 -04:00
Alastor Wu
f604a1f723
Bug 1107534 - Using audio channels type to capture different stream. r=roc
2015-03-31 10:14:00 +08:00
Chris Double
a6b2b849f7
Bug 1148092 - Telemetry for EME playback success/failure - r=cpearce,bsmedberg
2015-03-28 12:49:55 +13:00
Chris Double
6ac6f596ee
Bug 1145004 - Fix MSE Telemetry VIDEO_MSE_BUFFERING_COUNT - r=cpearce
2015-03-25 10:37:37 +13:00
Wes Kocher
59254434a6
Backed out changeset 6cb38e697216 (bug 1144409)
2015-03-23 16:06:31 -07:00
Gerald Squelart
e088b5dd21
Bug 1144409 - Encrypted event should be fired once per initData; part 2: future initData. r=cpearce
2015-03-22 23:27:00 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Chris Double
b71e91c554
Bug 1127646 - Report MSE Join Latency and MTBR in telemetry - r=cpearce,bsmedberg
2015-03-13 15:02:49 +13:00
Andreas Pehrson
bcf69a5fa5
Bug 1129263 - Part 4. Use MediaInfo instead of mHasAudio/Video in media element. r=roc
2015-02-09 14:51:17 +08:00
Dhi Aurrahman
4eea7d7fd0
Bug 835800 - Convert more DOM attribute reflectors to DOMString. r=bzbarsky
2015-02-13 08:27:39 +07:00
Chris Double
6ba9f94c00
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
JW Wang
d73e318438
Bug 1130906 - remove HTMLMediaElement.waitingFor for spec. changes. r=cpearce. r=bz.
2015-02-10 11:00:35 +08:00
Chris Double
87285c6311
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.
2015-01-29 15:35:55 +13:00
Edwin Flores
94c9c92349
Bug 1101304 - Handle CORS in EME - r=cpearce
2015-01-29 20:30:38 +13:00
Edwin Flores
eb33200996
Bug 1124491 - Add HTMLMediaElement.isEncrypted attribute - r=cpearce,bz
2015-01-27 19:10:11 +13:00
Andreas Pehrson
570d10bd0b
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
Sotaro Ikeda
d551964452
Bug 1122228 - Use document's status change to trigger MediaDecoderStateMachine's dormant status change r=cpearce
2015-01-21 20:01:12 -08:00
Karl Tomlinson
2c8daba757
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."
2015-01-19 17:11:43 +13:00
Andreas Pehrson
dff0b86caf
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
Andreas Pehrson
9698d2830a
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
c4100037f9
Backed out changeset d9db938747d2 (bug 879717) for M-3 Test failures/timeouts on a CLOSED TREE
2015-01-13 08:48:01 +01:00