Iris Hsiao
3366ed3525
Backed out changeset 015cb0829df5 (bug 1213517)
2016-07-18 15:41:47 +08:00
Jan-Ivar Bruaroey
9f04ae2af4
Bug 1213517 - make track.applyConstraints() store constraints on success. r=jesup
...
MozReview-Commit-ID: CqTgWuBXSyD
--HG--
extra : rebase_source : c65cf51dfd3279820e2cb6262a369ce12490c946
2015-11-18 22:17:09 -05:00
bechen
d120c38a97
Bug 1275808 - Move the UpdateCueDisplay() into TimeMarchesOn() as step 18. r=rillian
...
MozReview-Commit-ID: GrcZCjstBy9
--HG--
extra : rebase_source : 7848e6477595dcf0d83753a1c29489ea3f5cb689
2016-06-01 17:37:26 +08:00
Jean-Yves Avenard
0fa6daa947
Bug 1277729: Ignore readyState value when reporting the buffered range. r=jwwang
...
For plain media playback, the buffered range will always be empty if readyState is HAVE_NOTHING has we need to decode the metadata to determine the duration and eventually decode the first frame to determine the start time. With MSE however, the buffered range is per spec directly related to the source buffer buffered range.
So we can always simply query the MediaDecoder to determine the buffered range regardless of the readyState value.
MozReview-Commit-ID: BQs8iuUCiNw
--HG--
extra : rebase_source : 28fea8a89eab38b481a15d76061debacce86274f
2016-06-03 11:46:36 +10:00
Rinat
bb3780858f
Bug 1274622 - Add media.default_volume preference. r=kinetik
2016-05-24 20:55:45 +03:00
bechen
e355a8b526
Bug 882718 - 1. Fix testcase crash/failed . 2. The cuechange event should be fired in TimeMarchesOn. r=rillian
...
MozReview-Commit-ID: EYi9iZ1mfjg
--HG--
extra : rebase_source : 2f652a3d4f072c87ba44de3650ff1358694444c1
2016-06-01 15:13:43 +08:00
bechen
fd405c9532
Bug 882718 - Implement ActiveFlag at TextTrackCue object. r=rillian
...
MozReview-Commit-ID: 4FksCKzB0Ep
--HG--
extra : rebase_source : 3b900dd9f23e1ec961f8c554cd260b7cd44f25c5
2016-06-01 13:35:53 +08:00
Alastor Wu
7bad64b31a
Bug 1240423 - part5 : stop_disposable should reset mSuspendState. r=baku
...
MozReview-Commit-ID: 1x1QdvJEw8J
--HG--
extra : rebase_source : 7671175e1398288947cfb91925b9ec7a8e7b6e2f
2016-06-01 10:26:20 +08:00
Alastor Wu
7a3285dc7e
Bug 1240423 - part3 : add reason when media element notify audible changing. r=baku
...
MozReview-Commit-ID: C3DAZHhZOqH
--HG--
extra : rebase_source : 229630696f45ff10e22ae98ccf730b10ce0a2d0f
2016-06-01 10:26:10 +08:00
Sebastian Hengst
5a8c6aa494
Backed out changeset 453431d7a2c8 (bug 882718) for crashing in track.html with nsXBLPrototypeBinding::GetRuleProcessor(). r=backout
2016-05-31 18:54:41 +02:00
Sebastian Hengst
de05b7902e
Backed out changeset 883bfabfde46 (bug 882718)
2016-05-31 18:54:41 +02:00
bechen
db0d961dac
Bug 882718 - 1. Fix testcase crash/failed . 2. The cuechange event should be fired in TimeMarchesOn. r=rillian
...
MozReview-Commit-ID: EYi9iZ1mfjg
--HG--
extra : transplant_source : %B3%A1%B5g%D1s%08%18%25%8A%09%C0%A1%D7%7C%E9%D7F%97%A1
2016-05-26 11:45:43 +08:00
bechen
4968e533af
Bug 882718 - Implement ActiveFlag at TextTrackCue object. r=rillian
...
MozReview-Commit-ID: 4FksCKzB0Ep
--HG--
extra : transplant_source : j%D413W%98%E7%9Es%7D%E9%A4A%FE%AD%8F%D4X%3C%7E
2016-05-24 11:30:22 +08:00
Kaku Kuo
5aae35101f
Bug 1235301 - part 3 - export HTMLMediaElement::seekToNextFrame(); r=jwwang
...
MozReview-Commit-ID: 8WMpwOwfqxz
--HG--
extra : rebase_source : 505ebbc01f1c913e1ca90f937bd5f214f688f6ed
2016-05-24 23:05:35 +08:00
Boris Zbarsky
2b85094faf
Bug 909633. Remove the HTML Microdata API, since no one else ended up implementing it and now it's been removed from the spec. r=bkelly,jgraham
2016-05-20 23:13:17 -04:00
Jean-Yves Avenard
d4512b29ea
Bug 1270154: P1. Forget the media element's media-resource-specific tracks when error occurs. r=jwwang
...
MozReview-Commit-ID: BFpw2sS7aa7
--HG--
extra : rebase_source : 70dc3a468341c57cef1baefefea66902e66b07ae
2016-05-11 21:18:46 +10:00
Dan Glastonbury
9f98a19f8c
Bug 1224973 - Part 2: Set MediaDecoder visibility via NotifyOwnerActivityChanged. r=cpearce,jwwang
...
Make MediaDecoder::SetElementVisibility private.
MozReview-Commit-ID: GjCuSNPalkE
2016-05-12 09:53:02 +10:00
Andreas Pehrson
27ef6e83d4
Bug 1266926 - Move CaptureStreamTrackSource cleanup to Destroy method. r=jesup
...
--HG--
extra : rebase_source : f8eb4a11ac8a0e7d6f49c72a52b40498f213037c
2016-05-09 11:52:53 +02:00
Ralph Giles
91ac5a0657
Bug 1270614 - Rename ReportMSETelemetry(). r=SingingTree
...
This function is no longer MSE-specific, so use a more general
ReportTelemetry() name for it.
MozReview-Commit-ID: JU7S4pEFLWk
--HG--
extra : rebase_source : 2a8a9e2e3d07df51c32c98796ebedb6f64c9fef4
2016-05-05 12:48:45 -07:00
Ralph Giles
68b4c267db
Bug 1261955 - Re-activate the VIDEO_UNLOAD_STATE telemetry probe. r=SingingTree,bsmedberg
...
Rename the VIDEO_MSE_UNLOAD_STATE telemetry probe to just
VIDEO_UNLOAD STATE and reactivate it. We were using this
to track MSE deployment success and would now like to
generalize it to all media playback.
We can remove this probe from histogram-whitelists.json because
we now define alert emails and bug numbers.
MozReview-Commit-ID: Jwmdkgl8CC3
2016-05-05 12:45:59 -07:00
Ralph Giles
d7723aa39c
Bug 1261955 - Re-activate VIDEO_PLAY_TIME_MS telemetry probe. r=SingingTree,bsmedberg
...
Rename the VIDEO_MSE_PLAY_TIME_MS telemetry probe to just
VIDEO_PLAY_TIME_MS and make it active for all video playback.
We were using this to track MSE deployment success. Now we'd
like to do something similar for video playback in general,
regardless of the origin. This allows us to simplify the
collection code somewhat.
MozReview-Commit-ID: 7s8pOQWipf4
2016-05-05 12:45:59 -07:00
Ralph Giles
d463fdaec4
Bug 1261955 - Remove VIDEO_MSE_BUFFERING_COUNT telemetry probe. r=SingingTree
...
This is no longer necessary.
MozReview-Commit-ID: 8017y0v7VEc
2016-05-05 12:45:59 -07:00
Ralph Giles
d47d281bc4
Bug 1261955 - Remove VIDEO_MSE_JOIN_LATENCY_MS telemetry probe. r=SingingTree
...
This is no longer necessary.
MozReview-Commit-ID: 81pF9cSvKab
2016-05-05 12:45:59 -07:00
Alastor Wu
9771068fea
Bug 1235612 - Part 5: Rename NotifyAudibleStateChanged. r=jwwang
...
MozReview-Commit-ID: LRikTbqoOch
--HG--
extra : rebase_source : 1d69b9d55c232d2723cf9f7159087ec6795b6e19
2016-05-03 17:59:43 +08:00
Alastor Wu
b5d99318b3
Bug 1235612 - Part 3: Implement the logic of audible state notification for agent owners. r=baku
...
MozReview-Commit-ID: 6CueLPpuXWm
--HG--
extra : rebase_source : d40603e2ecc006a7b21f8b9adeb3a244e9821a2f
2016-05-03 17:59:32 +08:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Alastor Wu
63caf69104
Bug 1242874 - part5 : add test. r=baku, r=ehsan
...
MozReview-Commit-ID: 7xo6gMX0bR7
--HG--
extra : rebase_source : e7f2548b98a5c383ffe65c74ffd548c039c6b6dd
2016-05-03 09:52:53 +08:00
Alastor Wu
c8fae1998b
Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
...
MozReview-Commit-ID: 2FMfEVuODmu
--HG--
extra : rebase_source : 96e49e6e8d074a9bd5d9a7e6a60e7ec01cc88402
2016-05-03 09:52:44 +08:00
Alastor Wu
30466d68e1
Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
...
MozReview-Commit-ID: HHYX29gbLwk
--HG--
extra : rebase_source : d774e1338c6e0cd2ce8b4329b28ad9650011a7e5
2016-05-03 09:52:38 +08:00
Alastor Wu
40bc1f6803
Bug 1242874 - part1 : create suspened types. r=baku
...
MozReview-Commit-ID: FUAPZAdPVse
--HG--
extra : rebase_source : c9faf34965d7e2be9b76881c95dfeff62036587f
2016-05-03 09:50:24 +08:00
Aryeh Gregor
f14f1babe8
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Carsten "Tomcat" Book
7fcba36865
Backed out changeset 1681062d82dd (bug 1242874) for timeouts in own test browser_mediaPlayback_suspended_multipleAudio.js
2016-04-28 13:59:23 +02:00
Carsten "Tomcat" Book
b4a55fdcfc
Backed out changeset d09b20eeb382 (bug 1242874)
2016-04-28 13:59:04 +02:00
Carsten "Tomcat" Book
0a62793b79
Backed out changeset df13b449ffcc (bug 1242874)
2016-04-28 13:59:02 +02:00
Carsten "Tomcat" Book
5ee6035efc
Backed out changeset bd757c7d0bad (bug 1242874)
2016-04-28 13:59:01 +02:00
Alastor Wu
75cb7468c7
bug 1242874 - part5 : add test. r=baku, r=ehsan
...
MozReview-Commit-ID: 1X7xAbiKhC3
--HG--
extra : transplant_source : i%7FRV%07%3C%5EW%EE%95%C366%EEs%02%BA%8C%8B%93
2016-04-28 00:23:52 +08:00
Alastor Wu
4e7da2f687
Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
...
MozReview-Commit-ID: GRjxz1E0C9r
--HG--
extra : transplant_source : %88%D7%C7q%3C%8A%98%C0%84k%AF%90%F7%5D%83%CC%BEa%B1%F2
2016-04-28 00:23:48 +08:00
Alastor Wu
daaa9802c9
Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
...
MozReview-Commit-ID: Co4avRLWGRK
--HG--
extra : transplant_source : b%17%81%60%94_%F1%C2%5D%B1%B3%D5%F3%5C%7D4p%7F%03%EB
2016-04-28 00:23:42 +08:00
Alastor Wu
14fb7102ce
Bug 1242874 - part1 : create suspened types. r=baku
...
MozReview-Commit-ID: 1RJvbzMOCpu
--HG--
extra : transplant_source : %E8%3F%7BLD%F3%B8%98%3E%CA%A5%5C7%B7%9B%D0%BEFrr
2016-04-28 00:21:22 +08:00
ctai
4e89100cf8
Bug 1266644 - Rename DOMMediaStream:: CreateXXXStream to DOMMediaStream:: CreateXXXStreamAsInput. r=jesup r=pehrsons
...
MozReview-Commit-ID: 4X0Q1XuENa4
2016-04-25 11:43:27 +08:00
ctai
5d4238b60d
Bug 1266644 - Simple refactoring. r=jesup r=pehrsons
...
Update some comments, rename.
MozReview-Commit-ID: A747Fd8mH3D
2016-04-07 11:44:00 +08:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Jean-Yves Avenard
e6d396075d
Bug 1267036: Force recalculation of readyState when download is progressing. r=jwwang
...
Under some circumstances, the MP3Demuxer is unable to calculate the buffered range which would prevent the readyState value to be recalculated. To get around this we force recalculation when the progress event is fired.
MozReview-Commit-ID: DTaxJjOX4JU
--HG--
extra : rebase_source : 83389805b14c88061e492525abaada1d63b4d5ea
2016-04-24 23:34:23 +10:00
JW Wang
94b009f556
Bug 1265978. Part 2 - add methods to MediaDecoder and MDSM to dump debugging info. r=jya.
...
MozReview-Commit-ID: Dbc5FT627uL
2016-04-22 14:18:26 +08:00
JW Wang
6bfff83925
Bug 1265978. Part 1 - add mozDumpDebugInfo() to HTMLMediaElement.webidl. r=bz.
...
MozReview-Commit-ID: E0RZRyWnZrF
2016-04-11 12:02:43 +08:00
Gerald Squelart
0451e54ac6
Bug 848994 - p1. Refactor Decoder Doctor - r=cpearce
...
Some refactoring, clean-ups, etc.
The main change is that the can-play status is passed when diagnostics are
finally recorded. This will help when introducing different types of
diagnostics in future patches (e.g., Key System issues).
MozReview-Commit-ID: 182ePlrMqn4
2016-04-22 13:42:11 +10:00
Chris Pearce
0e273ade3c
Bug 1265587 - Force keystatuses to be cleared when Widevine keysessions are closed. r=gerald
...
The Widevine CDM, and I believe the Adobe CDM too probably, do not mark a
session's keys as unusable when a key session is closed. This means that
the CDMCaps' copy of the keys that are usable is wrong, and so if the media
with the same keys is reloaded with the same MediaKeys, Firefox will assume
that the keys are usable before the license for the keys has been
re-negotiated, and so decryption will fail.
MozReview-Commit-ID: 1kTDzwSD8PE
--HG--
extra : rebase_source : 89c480f36bfaec11ceb5ca1e8d798b0ae795eaea
2016-04-22 08:31:18 +12:00
Gerald Squelart
0977ec8ef6
Bug 1248507 - p3. Use DecoderDoctorDiagnostics - r=jya,bz
...
DecoderDoctorDiagnostics are now used at places where Firefox Chrome and/or
websites checks whether some media formats may be played:
- audio|video.canPlayType()
- audio|video resource loader
- MediaSource.IsTypeSupported()
- MediaSource.AddSourceBuffer()
MozReview-Commit-ID: B1KdjXODq9j
2016-04-19 17:36:19 +10:00
Gerald Squelart
ecfb205472
Bug 1248507 - p1. Pass DecoderDoctorDiagnostics to PDMs&more - r=jya
...
Pass declared-but-yet-undefined DecoderDoctorDiagnostics pointer to various
routines that contribute to deciding if a media format can be played, and
those that create decoders.
Points where a DecoderDoctorDiagnostics can be injected are currently marked
with "/* DecoderDoctorDiagnostics* */ nullptr", and some will be used in
following patches.
MozReview-Commit-ID: 7u37bvY4CpW
2016-04-19 17:36:19 +10:00
Dragana Damjanovic
645513565f
Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
...
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02:00
Dan Glastonbury
bdceaeb447
Bug 1262358 - Part 1: Split autoplay condition into statements. r=cpearce
...
MozReview-Commit-ID: 19f4XOa4Kzw
--HG--
extra : rebase_source : c6d8f6c96e1c519e43eff6144289a8fc6eea4827
2016-04-06 17:30:06 +10:00
Andreas Pehrson
46569d09a9
Bug 1208371 - Forward declare DOMMediaStream in HTMLMediaElement.h. r=jesup
...
MozReview-Commit-ID: KUPovpKfgek
--HG--
extra : rebase_source : 89b1b623399b7ebc9711f5a012fd9e69b60b32db
2016-01-23 23:20:28 +08:00
Andreas Pehrson
ee5913bb8b
Bug 1208371 - Move MediaStreamTrack's label to MediaStreamTrackSource. r=jib
...
MozReview-Commit-ID: Aj7Cht4zxc6
--HG--
extra : rebase_source : c454a9f2b81a6a1eb574c1abee0fab64abbe5b72
2016-01-22 16:27:37 +08:00
Andreas Pehrson
e899edc733
Bug 1208371 - Ensure a media element's ImageContainer is protected when playing a stream. r=mt,jesup
...
HTMLMediaElement needs special protection when playing a stream since its
ImageContainer can outlive the video track of a stream.
Consider for instance when a (cross-origin) video track is removed from a
DOMMediaStream by a user and the remaining video track (non-CORS) does not yet
contain any actual video frames. The HTMLMediaElement will display a frame from
the removed track but the DOMMediaStream's principal has been updated to not
include the principal from the removed track.
With this patch we handle this by letting VideoFrameContainer notify
HTMLMediaElement when it has flushed out all video frames belonging to a
certain PrincipalHandle. I.e., when a new PrincipalHandle has been applied to the
underlying ImageContainer.
MozReview-Commit-ID: LvIZPl6Rdgj
--HG--
extra : rebase_source : cfbad5e5e7f43af4da4bfc213494b7b8e22cde17
2016-02-04 09:27:09 +08:00
Andreas Pehrson
705ec66ce8
Bug 1208371 - Remove ref counting from DOMMediaStream::TrackListener. r=roc
...
This makes it consistent with PrincipalChangeObserver.
MozReview-Commit-ID: 91PtqFZRcW6
--HG--
extra : rebase_source : e39abb668be7fbd0dae0a701ec17b048c8761879
2016-01-05 10:16:28 +08:00
Andreas Pehrson
c742b9dadf
Bug 1208371 - Change HTMLMediaElement video sinks to check principal for video only tracks. r=mt
...
MozReview-Commit-ID: KGbyJDgpBOn
--HG--
extra : rebase_source : 526556a2174417ec68cb0a84acb1f3fe704ebaf0
2016-01-26 15:36:52 +08:00
Andreas Pehrson
00a36d0421
Bug 1208371 - Move HTMLMediaElement::CaptureStream to forward CORSMode changes through MediaStreamTrackSource. r=mt
...
MozReview-Commit-ID: 6bMpKO6ccjd
--HG--
extra : rebase_source : 86e9eb25c3401f566a07549d068336c0a6bdcd73
2016-01-05 10:16:27 +08:00
Andreas Pehrson
a47ce20618
Bug 1208371 - Rename CreateOwnDOMTrack/CreateClonedDOMTrack to CreateDOMTrack/CloneDOMTrack. r=jib
...
MozReview-Commit-ID: DOGiwcYycJY
--HG--
extra : rebase_source : 197fc7a7c5d36200f987c38f26ab77ec8ea2d290
2016-01-05 10:16:26 +08:00
Andreas Pehrson
0396985d77
Bug 1208371 - Route ApplyConstraints through MediaStreamTrackSource. r=jib
...
MozReview-Commit-ID: CnJnxszKU4o
--HG--
extra : rebase_source : f5ef65897108b3feadd51b8b11a47f65a7a71ff1
2016-02-01 22:43:38 +08:00
Andreas Pehrson
70707f7c85
Bug 1208371 - Make HTMLMediaElement::CaptureStream pass its principal to MediaStreamTrack. r=mt
...
MozReview-Commit-ID: 7ERLRSM8fz6
--HG--
extra : rebase_source : 99504bb19ac35eea6889a507589710c3575e8b0f
2016-01-14 18:34:39 +08:00
Andreas Pehrson
ba233fd622
Bug 1208371 - Add an interface DecoderPrincipalChangeObserver to HTMLMediaElement. r=roc
...
MozReview-Commit-ID: DwDHDE7SLxY
--HG--
extra : rebase_source : 73f74260d8b62bb4838ab5a5c4b2153a251c5d95
2016-01-14 11:38:08 +08:00
Andreas Pehrson
5401608e6c
Bug 1208371 - Add MediaStreamTrackSourceGetter interface. r=roc
...
This allows DOMMediaStream to assign MediaStreamTrackSources to
dynamically created MediaStreamTracks.
MozReview-Commit-ID: 3v91zLiqfl7
--HG--
extra : rebase_source : 4fe67e92b9c833fe5ba964fc5f3b11ba21447f36
2016-01-05 10:16:21 +08:00
Andreas Pehrson
9899305f28
Bug 1208371 - Add a MediaStreamTrackSource interface. r=roc
...
This lets a MediaStreamTrack communicate with its source/producer on the
main thread. It's for now used for stopping a track at the source and
retrieving some metadata, but it could also be a link between actual
sinks of a track and the source, to for instance let the source optimize
by scaling down the resolution when all sinks want lowres-video.
MozReview-Commit-ID: D4SJLr0aqhJ
--HG--
extra : rebase_source : ea511b5c86ca4836bfa980825f04617fef498261
2016-04-06 14:46:56 +02:00
Andreas Pehrson
88628853b2
Bug 1208371 - Move OnTracksAvailableCallback out of DOMMediaStream. r=roc
...
So it can be forward declared.
MozReview-Commit-ID: 4RH7p8AzO84
--HG--
extra : rebase_source : e9c4ef72029de4ed09dca3b51ba2b46829f41d14
2016-01-05 10:16:21 +08:00
ctai
61b8bad2ea
Bug 1260950 - Set mInitialSizeFound to true when the initial size id found. r=jesup, r=pehrsons a=kwierso
...
MozReview-Commit-ID: Ch3jCR4pFYN
--HG--
extra : histedit_source : d00a90ec1e574db721fe71672ee7f83be01d646b
2016-03-31 10:13:04 +08:00
Bryce Van Dyk
939ab2b661
Bug 657791 - Update seekable range handling for cueless WebMs. r=kinetik
...
MediaDecoder previously had 3 states within GetSeekable(), media is either
seekable, seekable but not supported by transport, or not seekable. Due to
changes to make cueless webms playable, a 4th option is needed: a file that is
not fully seekable, but may support seeking from the transport, such as these
webms, should only be seekable in the buffered range.
MozReview-Commit-ID: ISeFkngtrGU
2016-02-04 17:31:21 +13:00
Louis Christie
7ed38d2a0c
Bug 1238433 - Added telemetry for the proportion of dropped frames. r=cpearce, f=bsmedberg
...
--HG--
extra : rebase_source : 91c250240b61435f6d9f1a757ec27446be31301b
2016-02-18 15:22:13 +13:00
Carsten "Tomcat" Book
474154ff85
Backed out changeset c7be30a5321e (bug 1238433) for bustage
2016-02-18 10:52:03 +01:00
Louis Christie
9bc9dd2c5c
Bug 1238433: Added telemtry for the proportion of frames dropped during playback. r=cpearce
2016-02-12 10:02:00 +13:00
Louis Christie
4c838427c5
Bug 1245982 - Added telemetry for the number of uses of HTMLMediaElement.fastSeek(). r=cpearce
2016-02-05 16:32:41 +13:00
Jean-Yves Avenard
722e4fee21
Bug 1246521: P1. Add MediaDecoderOwner::HasError method. r=gerald
2016-02-08 16:31:42 +11:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Andreas Pehrson
25fa1d3d1f
Bug 1240478 - Have MediaStreamSizeListener active immediately, until the initial size is known. r=jesup
...
--HG--
extra : commitid : LOVuNvHmDD6
extra : rebase_source : 720470f0f836b216430af294f2826e6812818ac3
2016-01-29 11:10:19 +08:00
Andreas Pehrson
48118bd9fb
Bug 1240478 - Assert that we know the video size on 'loadedmetadata'. r=jesup
...
--HG--
extra : commitid : IDLThD8QqJ5
extra : rebase_source : 2b2b43c31f52480e2f95f0942c39774029c31d49
2016-01-21 19:42:55 +08:00
Andreas Pehrson
6d413b9548
Bug 1240478 - Remove Mutex from MediaStreamSizeListener. r=jesup
...
--HG--
extra : commitid : 2B5R4zAz8ne
extra : rebase_source : 4c9009c95163fa8892fd052467e12da44432697a
2016-01-21 19:42:54 +08:00
Sebastian Hengst
fc1563722d
Backed out changeset c8013b27a0fa (bug 1239899) for failing W(2). r=backout
2016-01-29 00:32:51 +01:00
Chris Pearce
223831a376
Bug 1239899 - Pause media elements removed from document via calling pause(). r=roc
...
The spec requires us to await a stable state and pause when a media element is removed from a document.
Additionally, before this change we would pause in UnbindFromTree only if HTMLMediaElement::mPaused is false.
However if the media element is set to autoplay, and we unbind before autoplay has had a chance to activate,
we will still continue loading and activate autoplay later. Calling pause, as required by the spec, means
we'll cancel autoplaying.
--HG--
extra : amend_source : 47f89e1a1e855f9304fbd12959f636c973ddf356
2016-01-15 15:54:54 +13:00
Andrea Marchesini
43bdbe1143
Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc
2016-01-25 16:03:42 +00:00
JW Wang
82d61b385d
Bug 1241405 - reset mCurrentPlayRangeStart in AbortExistingLoads(). r=jya.
2016-01-25 10:52:54 +08:00
Phil Ringnalda
fefdfab323
Back out 4 changesets (bug 1240478) for somehow causing bug 1242085
...
Backed out changeset 31629671c71c (bug 1240478)
Backed out changeset bc9a56a067b5 (bug 1240478)
Backed out changeset 485bd08acb96 (bug 1240478)
Backed out changeset 38ef99bddd74 (bug 1240478)
2016-01-22 23:26:45 -08:00
Andreas Pehrson
a8d30ac647
Bug 1240478 - Have MediaStreamSizeListener active at all times, not only when playing. r=jesup
...
--HG--
extra : rebase_source : d5f0e7be0aabd6a78e6ed92a33dc80d442813c84
2016-01-21 19:42:55 +08:00
Andreas Pehrson
9f79834068
Bug 1240478 - Assert that we know the video size on 'loadedmetadata'. r=jesup
...
--HG--
extra : rebase_source : 3808a82751b5471c9cd8f6e179d4742598f43806
2016-01-21 19:42:55 +08:00
Andreas Pehrson
8ee887650b
Bug 1240478 - Remove Mutex from MediaStreamSizeListener. r=jesup
...
--HG--
extra : rebase_source : 3bd448b8a74b5e5962f4767421a29bbf9d89c7eb
2016-01-21 19:42:54 +08:00
Alastor Wu
abde274a94
Bug 1238906 - part2 : notify audible state from MDSM to ME. r=jwwang
...
--HG--
extra : rebase_source : 74629c314b3d828a5d9b514bf6cca87f7c1f57de
2016-01-21 10:27:38 +08:00
Jean-Yves Avenard
f80d48caac
Bug 1236703: P3. Add moz specific method to retrieve debug data to media object IDL. r=bz
2016-01-20 09:50:26 +11:00
Sebastian Hengst
9249e58bdf
Backed out 2 changesets (bug 1238906) for bustage in M(2) on OSX and Windows. r=bustage
...
Backed out changeset e729b30ba7b4 (bug 1238906)
Backed out changeset 1857bca40ac4 (bug 1238906)
2016-01-18 13:11:43 +01:00
Emilio Cobos Álvarez
b5364082de
Bug 866513 - Non-empty MediaStreamTrack labels. r=jib
2016-01-16 13:39:00 +01:00
Alastor Wu
bbcb84cc7b
Bug 1238906 - part2 : notify audible state from MDSM to ME. r=jwwang
...
--HG--
extra : transplant_source : %A6I%CA%AC%95%AD%0C%7D%40K%8C_%8B%3D%15%BC%F7%FB%86%27
2016-01-18 10:50:47 +08:00
JW Wang
4627500b49
Bug 1237616 - Remove the aForceBuffering arugment from MediaDecoder::Resume(). r=cpearce.
2016-01-12 08:04:32 +08:00
Chris Pearce
967b559ecc
Bug 1233274 - Don't shutdown detached MediaKeys. r=gerald
2016-01-06 13:28:43 +13:00
JW Wang
9e2d0d9fab
Bug 1230483 - Part 2 - LoadFromSourceChildren() should be queued at most once in an event cycle. r=roc
2015-12-21 19:55:43 +08:00
Sotaro Ikeda
6247e12af2
Bug 1205713 - Merge ImageHostOverlay/ImageClientOverlay to ImageHost/ImageClient r=nical
2015-12-29 01:07:33 -08:00
Bobby Holley
fe24a17559
Bug 1235411 - Remove IsCallerChrome check in HTMLMediaElement::Observe. r=khuey
2015-12-28 10:46:33 -08:00
Kartikaya Gupta
923650a36e
Bug 1228564 - Follow-up to fix static analysis build bustage. r=me
2015-12-27 10:27:15 -05:00
Alastor Wu
f0d62419f0
Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku.
2015-12-24 17:28:45 +08:00
Alastor Wu
6a38526a4d
Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
2015-12-24 17:17:30 +08:00
Sebastian Hengst
3c1eb47e3a
Backed out changesets 961f205d340d, 14a4637e9d96 and 14a4637e9d96 (bug 1228564) for failing Android M(4) test_browserElement_inproc_AudioChannel.html. r=backout
2015-12-27 22:28:08 +01:00
Kartikaya Gupta
a99ad5c222
Bug 1228564 - Follow-up to fix static analysis build bustage. r=me
...
--HG--
extra : commitid : BazDeeUXc8U
2015-12-27 10:27:15 -05:00
Alastor Wu
7ff9329b36
Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku.
...
--HG--
extra : commitid : B7NcXGTFGrv
2015-12-24 17:28:45 +08:00
Alastor Wu
b4cb129af1
Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
...
--HG--
extra : commitid : JZF4VU0qxpg
2015-12-24 17:17:30 +08:00
Karl Tomlinson
63528b5b3f
bug 1228484 throw instead of capturing a second stream to a different graph r=roc
...
--HG--
extra : rebase_source : d1795f2afc413612666a5eee62d27d68e2337407
2015-12-04 01:30:46 +13:00
Francois Marier
d63cc41a00
Bug 1231557 - Use the URL Classifier in Media elements. r=cpearce,r=gcp
...
--HG--
rename : dom/media/test/vp9.webm => toolkit/components/url-classifier/tests/mochitest/vp9.webm
2015-12-16 13:24:40 -08:00
Alastor Wu
4b8677c514
Bug 1228559 - get MSG by audio channel type. r=roc
...
--HG--
extra : transplant_source : %0Fe%B6%D5%BA6%88%A0Y%8A%5D%9C%9E%B5%A9%20%EC%A1%24n
2015-12-02 07:36:42 -05:00
Jonas Sicking
0bb4231605
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-06 18:33:15 -05:00
Sebastian Hengst
774236075d
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
993136c2c9
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-05 01:46:21 -08:00
Jean-Yves Avenard
dc75044746
Bug 1229256: P2. Use buffered range to determine next frame availability. r=jwwang
...
To avoid potential regression with some of our tests expecting our old particular behaviour, we only use the buffered range to determine the next frame status if the old method determined that the next frame was unavailable due to the MediaDecodeStateMachine not having decoded the next frame yet.
2015-12-03 12:38:10 +11:00
Robert O'Callahan
6f11ea45c0
Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang
...
--HG--
extra : commitid : 9SdyuwXVlRD
extra : rebase_source : 7143bc6c346bf1c1259a83321d26a653adb70705
2015-11-17 16:34:28 +13:00
Alastor Wu
026c271021
Bug 1224475 - Start agent after seeking. r=baku
...
--HG--
extra : rebase_source : 70fe070940ffa16cb4638df0f1ec5d62830c9a32
2015-11-23 14:52:28 +08:00
sajitk
5fb2c53074
Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini
2015-11-23 11:09:25 -08:00
Andrea Marchesini
f44bf80ff9
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
2015-11-23 11:35:14 +00:00
Carsten "Tomcat" Book
694a81aba1
Backed out changeset 162ded2e49c8 (bug 1223696) for failing on own test on a CLOSED TREE
2015-11-23 09:48:56 +01:00
Robert O'Callahan
f537754554
Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang
...
--HG--
extra : commitid : 1b7GXS454NK
extra : rebase_source : cd2e35e1dc3be39945d00bfd2648f104258955c8
2015-11-17 16:34:28 +13:00
Wes Kocher
30cc866544
Backed out changeset 24c0074052e6 (bug 1224936) for incoming mulet bustage
...
--HG--
extra : commitid : CTB4L0oz2Q5
2015-11-20 17:09:44 -08:00
Andrea Marchesini
78387921a4
Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc
2015-11-21 01:04:24 +00:00
Andrea Marchesini
c1df69ea87
Bug 1207546 - Integrate WebRTC with audio channels, r=roc
...
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-11-21 01:03:20 +00:00
Boris Zbarsky
1fec018fcb
Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv
2015-11-20 16:29:41 -05:00
Jean-Yves Avenard
b4a62f49f9
Bug 1222387: P1. Properly handle negative seeks when readyState is HAVE_NOTHING. r=jwwang
2015-11-20 19:43:38 +11:00
JW Wang
666cb757aa
Bug 1221881 - HTMLMediaElement::NetworkError() should clear mDecoder. See bug 1221881 comment 2 for the root cause. r=cpearce.
2015-11-11 15:18:11 +08:00
James Cheng
436307225a
Bug 1224991 - Log format string mismatch the number of parameters. r=cpearce.
2015-11-16 19:11:00 +01:00
Phil Ringnalda
a0dfb7b514
Back out changeset a9ca2bcc8633 (bug 1224936) for Mulet Gij bustage in Player_test.js
...
CLOSED TREE
2015-11-16 19:33:26 -08:00
Andrea Marchesini
96905fb6e8
Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc
2015-11-17 01:28:07 +00:00
JW Wang
c87926273d
Bug 1221009. Part 1 - add a class to forward notifications from MediaResource to MediaDecoder. r=roc.
2015-11-16 07:50:55 +08:00
Chris Pearce
0b254631ce
Bug 1224080 - Ensure attaching MediaKeys before MediaSource doesn't cause load failure. r=gerald
2015-11-14 08:57:52 +13:00
Jean-Yves Avenard
dd6214577c
Bug 1188887: P3. Never throw an exception when seeking. r=jwwang
...
Per spec, no exception can ever be thrown when seeking.
Only leaving cases indicating a failure in one of the component (which other than a second to usec conversion overflow will never happen anyway).
2015-10-28 10:46:01 +11:00
Jean-Yves Avenard
fb6bbafe09
Bug 1188887: P1. Allow seeking when readyState is HAVE_NOTHING. r=jwwang
2015-10-28 10:45:58 +11:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Bobby Holley
5e5b7d3713
Bug 1216308 - Followup for incomplete fix. r=me
2015-10-26 11:22:29 -07:00
Jean-Yves Avenard
4b03031ba2
Bug 1217304: P2. Do not transition to HAVE_ENOUGH_DATA readyState until we do have data. r=jwwang
...
We must have at least a decoded frame available to transition to HAVE_ENOUGH_DATA, as otherwise canplay/canplaythrough will always be fired even if the data was invalid so long that it was small.
2015-10-23 23:34:05 +11:00
Jean-Yves Avenard
38486b8704
Bug 1217304: P1. Only fire loadeddata once the first frame has been decoded. r=jwwang
...
We can't determine otherwise if data is actually playable at the current position
2015-10-23 23:34:05 +11:00
Alastor Wu
5a7dd93588
Bug 1215447 - move flag setting from SeekStarted() to Seek(). r=roc.
...
--HG--
extra : transplant_source : f94M3%13%FA%B1%C3t%94%3B%E29%9A%19%07%FC%F4%3E
2015-10-22 11:37:16 +08:00
Guang-De Lin
5fc8c948b4
Bug 1150305 - sourcebuffer.buffered returns the same object if not changed. r=roc, r=bz, r=jya
...
--HG--
extra : rebase_source : ffacfcb39b567a6cd034b081f4330d88aacb98f4
2015-10-19 14:10:47 +08:00
Carsten "Tomcat" Book
43610824f0
Backed out changeset 780061f96448 (bug 1213154)
...
--HG--
extra : rebase_source : 0d1ba1ee2f11faeedf93fa0baa4c06348deffdc4
2015-10-20 16:08:51 +02:00
Andrea Marchesini
ca59daf031
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
...
--HG--
extra : rebase_source : f9ee2ae4ea973b4c69633368cb5e0c5e6afa6540
2015-10-20 01:33:00 +02:00
Bobby Holley
3b14342481
Bug 1216308 - Hoist IsCallerChrome check in HTMLMediaElement::Play to API entry point. r=bz
2015-10-19 17:54:46 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Carsten "Tomcat" Book
5207756269
Backed out changeset 97e9ac5785f5 (bug 1213154) for bc7 test failures
...
--HG--
extra : rebase_source : 5989b1677b925c6503290637e4c0fd4597d6f4e9
2015-10-16 12:03:40 +02:00
Andrea Marchesini
bc1b4affc1
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
...
--HG--
extra : rebase_source : c75b227254aa5701eb728afef09a803e2698e600
2015-10-15 05:00:00 +02:00
Andrea Marchesini
d92668f3a0
Bug 1214659 - HTMLMediaElement::UpdateAudioChannelPlayingState() should be easy to read, r=roc
2015-10-15 00:59:00 +02:00
JW Wang
5147e1f0af
Bug 1214989. Part 3 - remove MediaDecoder::Init() and its callers. r=gerald.
2015-10-15 11:39:45 +08:00
JW Wang
e868f91ff6
Bug 1214989. Part 2 - add MediaDecoderOwner to Clone() and overrides. r=gerald.
2015-10-15 11:37:47 +08:00
JW Wang
1cc6677a90
Bug 1214065 - Remove unused arguments from MediaDecoder::Load() and its friends. r=kinetik.
2015-10-14 11:46:27 +08:00
Nigel Babu
a2f3106ede
Backed out changeset e184609e1d13 (bug 1207546) for bustage ON A CLOSED TREE
...
--HG--
extra : amend_source : 2ba50d75927848525041bea8ab3bbf371c72342d
2015-10-14 13:29:03 +05:30
Andrea Marchesini
94c0ba5263
Bug 1207546 - Integrate WebRTC with audio channels, r=roc
...
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
extra : histedit_source : 194f9f7d34be735e8359d0e769dd4783d46b304c
2015-10-14 11:32:23 +05:30
Andrea Marchesini
c53e405b13
Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc
2015-10-07 20:06:47 +01:00
Nicholas Nethercote
77d38112ab
Bug 1209351 (part 2) - Optimize nsTHashTable::RemoveEntry() usage in dom/. r=bz.
...
--HG--
extra : rebase_source : 8550f181356550b6c0e540c12f61f2d1148d2050
2015-09-24 19:05:16 -07:00
Wes Kocher
27c21e540a
Backed out changeset 4f43cdaedec3 (bug 1207546) for webgl-capturestream-test.html failures
...
--HG--
extra : rebase_source : c009c44dd54148ee19769f470987b786e14a8b53
2015-10-01 10:10:47 -07:00
Andrea Marchesini
022d787457
Bug 1207546 - Integrate WebRTC with audio channels, r=roc
...
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-10-01 16:22:25 +03:00