Commit Graph

384 Commits

Author SHA1 Message Date
bechen
a475af3cfd Bug 1279865 - Don't run TimeMarchesOn if the MediaElement is not played. r=rillian
1. If mHasUserInteraction MediaElement is false, don't run the TimeMarchesOn because the element is not played. 2. Update the activeCueList only in TimeMarchesOn(). 3. Run TimeMarchesOn() at the beginning of play. r=rillian

MozReview-Commit-ID: BhwsIfRm3B2
2016-06-30 13:31:56 +08:00
Chris Pearce
e4650b598a Bug 1282585 - Ensure content process doesn't crash if CDM crashes before MediaKeys attaches to media element or media element loads. r=jwwang
MozReview-Commit-ID: 2CpiDv6u4RP
2016-06-29 16:09:24 +12:00
JW Wang
79988be1c2 Bug 1235183. Part 5 - per comment 35, cancel existing |mChannelLoader| in AbortExistingLoads(). r=cpearce
MozReview-Commit-ID: 27DZC8rwAJ5
2016-06-29 07:50:33 +08:00
JW Wang
d465242b80 Bug 1235183. Part 4 - create channel asynchronously. r=cpearce
MozReview-Commit-ID: 9JVuHhhMFoa
2016-06-24 13:45:01 +08:00
JW Wang
f053fac711 Bug 1235183. Part 3 - move mChannel to ChannelLoader so it will be easier to create the channel asynchronously. r=cpearce
MozReview-Commit-ID: 5n8P0L7m0Iw
2016-06-24 10:41:43 +08:00
JW Wang
63c6d8f422 Bug 1235183. Part 2 - remove unnecessary null-checks. r=cpearce
MozReview-Commit-ID: 6XZMrjw440L
2016-06-23 17:15:50 +08:00
JW Wang
9b87d5d7d2 Bug 1235183. Part 1 - fix coding styles. r=cpearce
MozReview-Commit-ID: EDUC3ZvIdim
2016-06-23 17:09:42 +08:00
JW Wang
8050804572 Bug 1274030 - clean VideoFrameContainer when "xpcom-shutdown" event received. r=cpearce
MozReview-Commit-ID: 92zeiNXSkjf
2016-05-22 21:39:55 +08:00
bechen
835da4b871 Bug 1280814 - Prevent the media::Interval crash due to the unexpected playback position. r=rillian
MozReview-Commit-ID: AZ9Gb2Y0wDF
2016-06-20 15:58:58 +08:00
Kaku Kuo
ae2ee4a539 Bug 1276272 - part 3 - implement promise-based HTMLMediaElement::seekToNextFrame(); r=jwwang
MozReview-Commit-ID: JaUQe5GK6bF
2016-06-09 20:27:39 +01:00
Sebastian Hengst
9f3dd85be4 Backed out changeset 2c235b056514 (bug 1266646) for frequently crashing in mda's test_streams_element_capture_createObjectURL.html. r=backout 2016-06-13 21:24:54 +02:00
Sebastian Hengst
0f229b854b Backed out changeset c89b8cc657b2 (bug 1266646) 2016-06-13 21:23:53 +02:00
ctai
836786922a Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=jesup,pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X
2016-04-29 11:45:25 +08:00
ctai
fc24eaafa6 Bug 1266646 - Change HTMLMediaElement::StreamSizeListerner to inherit MediaStreamTrackDirectListener. r=jesup, r=pehrsons
MozReview-Commit-ID: HnNv9BnlbDy
2016-05-10 17:02:15 +08:00
bechen
e0bae2d76b Bug 1275808 - Move the UpdateCueDisplay() into TimeMarchesOn() as step 18. r=rillian
MozReview-Commit-ID: GrcZCjstBy9
2016-06-01 17:37:26 +08:00
Jean-Yves Avenard
dbfe42c9c9 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
2016-06-03 11:46:36 +10:00
Rinat
17e83c767e Bug 1274622 - Add media.default_volume preference. r=kinetik 2016-05-24 20:55:45 +03:00
bechen
b3a670e7fd Bug 882718 - 1. Fix testcase crash/failed . 2. The cuechange event should be fired in TimeMarchesOn. r=rillian
MozReview-Commit-ID: EYi9iZ1mfjg
2016-06-01 15:13:43 +08:00
bechen
a7f31253c1 Bug 882718 - Implement ActiveFlag at TextTrackCue object. r=rillian
MozReview-Commit-ID: 4FksCKzB0Ep
2016-06-01 13:35:53 +08:00
Alastor Wu
db31adbf78 Bug 1240423 - part5 : stop_disposable should reset mSuspendState. r=baku
MozReview-Commit-ID: 1x1QdvJEw8J
2016-06-01 10:26:20 +08:00
Alastor Wu
e8e8300eb3 Bug 1240423 - part3 : add reason when media element notify audible changing. r=baku
MozReview-Commit-ID: C3DAZHhZOqH
2016-06-01 10:26:10 +08:00
Sebastian Hengst
a7c28401c3 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
780319fe94 Backed out changeset 883bfabfde46 (bug 882718) 2016-05-31 18:54:41 +02:00
bechen
6274ffece2 Bug 882718 - 1. Fix testcase crash/failed . 2. The cuechange event should be fired in TimeMarchesOn. r=rillian
MozReview-Commit-ID: EYi9iZ1mfjg
2016-05-26 11:45:43 +08:00
bechen
ede86a3047 Bug 882718 - Implement ActiveFlag at TextTrackCue object. r=rillian
MozReview-Commit-ID: 4FksCKzB0Ep
2016-05-24 11:30:22 +08:00
Kaku Kuo
e6f65531fd Bug 1235301 - part 3 - export HTMLMediaElement::seekToNextFrame(); r=jwwang
MozReview-Commit-ID: 8WMpwOwfqxz
2016-05-24 23:05:35 +08:00
Boris Zbarsky
da1b7b9d44 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
5663efb01e Bug 1270154: P1. Forget the media element's media-resource-specific tracks when error occurs. r=jwwang
MozReview-Commit-ID: BFpw2sS7aa7
2016-05-11 21:18:46 +10:00
Dan Glastonbury
d6c1e0a602 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
fa58173ec7 Bug 1266926 - Move CaptureStreamTrackSource cleanup to Destroy method. r=jesup 2016-05-09 11:52:53 +02:00
Ralph Giles
d206e3f28c 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
2016-05-05 12:48:45 -07:00
Ralph Giles
5881ac67a8 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
79670a92b1 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
a7325b2bcf 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
29b511614e 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
d823603707 Bug 1235612 - Part 5: Rename NotifyAudibleStateChanged. r=jwwang
MozReview-Commit-ID: LRikTbqoOch
2016-05-03 17:59:43 +08:00
Alastor Wu
fa581a0925 Bug 1235612 - Part 3: Implement the logic of audible state notification for agent owners. r=baku
MozReview-Commit-ID: 6CueLPpuXWm
2016-05-03 17:59:32 +08:00
Kyle Huey
b972c94d0f Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Alastor Wu
25bfd88496 Bug 1242874 - part5 : add test. r=baku, r=ehsan
MozReview-Commit-ID: 7xo6gMX0bR7
2016-05-03 09:52:53 +08:00
Alastor Wu
7b158c5b32 Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: 2FMfEVuODmu
2016-05-03 09:52:44 +08:00
Alastor Wu
5704a47317 Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
MozReview-Commit-ID: HHYX29gbLwk
2016-05-03 09:52:38 +08:00
Alastor Wu
f3f3aeec61 Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: FUAPZAdPVse
2016-05-03 09:50:24 +08:00
Aryeh Gregor
1c3d681cd3 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
aadd508ffe Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9 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
61cf2d65d9 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
e47f7c80c9 Backed out changeset d09b20eeb382 (bug 1242874) 2016-04-28 13:59:04 +02:00
Carsten "Tomcat" Book
30fc4c7852 Backed out changeset df13b449ffcc (bug 1242874) 2016-04-28 13:59:02 +02:00
Carsten "Tomcat" Book
55716aae6f Backed out changeset bd757c7d0bad (bug 1242874) 2016-04-28 13:59:01 +02:00
Alastor Wu
9f6316957f bug 1242874 - part5 : add test. r=baku, r=ehsan
MozReview-Commit-ID: 1X7xAbiKhC3
2016-04-28 00:23:52 +08:00