Граф коммитов

12355 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 92922351ff merge mozilla-central to autoland. r=merge a=merge 2017-11-09 11:59:49 +02:00
JW Wang 1e7878c69a Bug 1415069 - Add a member to ChannelMediaResource to remember seekability of the channel. r=bechen,gerald
So it doesn't need to call mCacheStream.IsTransportSeekable() which needs to
take the lock and might block the main thread.

MozReview-Commit-ID: 99QVcSxzjCz

--HG--
extra : rebase_source : be71b065ce0334987efbfb67a5cf010ab0373d80
extra : source : 2de3f0baf1475e8ae3228a33cf4cf139cf923c37
2017-11-07 14:26:10 +08:00
Andrea Marchesini 3f760d8258 Bug 1415564 - TaskQueue::Dispatch should return an error if failed, r=smaug 2017-11-09 01:43:40 +01:00
JW Wang c51610e0e4 Bug 1415766. P2 - move Seek() to private and tighten up some assertions. r=bechen,gerald
MozReview-Commit-ID: BBsXqKUrOi1

--HG--
extra : rebase_source : 1b785f50254ba824037b983896fc40e91eff801a
extra : intermediate-source : 6971ed66e78c4e1956bf0e382a04c1c8816dbaf8
extra : source : 6590c3f4691e9730858689839a5eb7b7143ceafb
2017-11-02 14:46:24 +08:00
JW Wang cd5164d38d Bug 1415766. P1 - we never pass anything other than NS_SEEK_SET to Seek(). r=bechen,gerald
MozReview-Commit-ID: AgvapCwwSpr

--HG--
extra : rebase_source : 2ba05b44f228c3d9a9440202c024abbd5487282f
extra : intermediate-source : f2ec0fec7c544171e7567beed322349dfb8e59a8
extra : source : 8e34a87b250f800897a761d2ccd408959007d02b
2017-11-02 14:26:24 +08:00
JW Wang f9f14101f3 Bug 1415397 - use Span<> to replace low level pointer arithmetic in ReadFromCache(). r=bechen,gerald
MozReview-Commit-ID: HH6KXtMfSIJ

--HG--
extra : rebase_source : 4d08fa14e2e218ad3e6b45ef240f3ced75321bd4
extra : intermediate-source : 6c2577bd71024ad031a86836c9c604bfef726b5a
extra : source : 1f0e76b45b7d89bcc10d59e302fe4b08e87cc96c
2017-11-02 11:36:56 +08:00
James Cheng 0b728954aa Bug 1413427 - Part1 - Make Mochitest runs EME with https. r=cpearce,kikuo
MozReview-Commit-ID: 8EfJTXdQkZG

--HG--
extra : rebase_source : 74999a928db7651e370fc44a551b723c401ef9f5
2017-11-03 12:30:58 +08:00
James Cheng 66e09cf477 Bug 1413480 - Check mCDM in ChromiumCDMChild::RecvXXX before dereferencing it. r=cpearce,kikuo
MozReview-Commit-ID: Dp4FOtZ8Yok

--HG--
extra : rebase_source : d22a854a9b883d008357ba6bbe5337f8eaf9fe8b
2017-11-08 15:44:34 +08:00
Sebastian Hengst a353221537 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
Sebastian Hengst c99d035f00 Backed out changeset 3e95c596ad5b (bug 1415397) because backed out (bug 1412737 depended on it. a=backout on a CLOSED TREE 2017-11-08 19:31:20 +02:00
Narcis Beleuzu b3eba51148 Backed out 4 changesets (bug 1412737)for frequent Windows talos-g4 timeouts. a=RyanVM
Backed out changeset 13b3569d56c4 (bug 1412737)
Backed out changeset b8ae4f1e89c9 (bug 1412737)
Backed out changeset dd35b8813ca1 (bug 1412737)
Backed out changeset 29e511fbcd62 (bug 1412737)
2017-11-08 18:52:15 +02:00
Ryan VanderMeulen 73bad38c3d Bug 1389304 - Add crashtest. r=me 2017-11-08 08:47:10 -05:00
Jesse Ruderman 1d8d8f698d Bug 1267263 - Add crashtest. r=me 2017-11-08 08:47:07 -05:00
JW Wang f53f02fb3e Bug 1415397 - use Span<> to replace low level pointer arithmetic in ReadFromCache(). r=bechen,gerald
MozReview-Commit-ID: HH6KXtMfSIJ

--HG--
extra : rebase_source : a6fe803e3e89a0f89c225e2415a233a945a6a716
extra : intermediate-source : 8c37409d77f675c89fd9b2fb276aa80c57d4eb7f
extra : source : 1f0e76b45b7d89bcc10d59e302fe4b08e87cc96c
2017-11-02 11:36:56 +08:00
JW Wang a3d7fa09ea Bug 1412737. P4 - wake up readers only when we have blocks committed to the cache. r=bechen,gerald
Per P2 changes, a reader will always read data from the cache or from the last
block in the memory. NotifyDataReceived() will be slightly more efficient
if we don't wake up readers unnecessarily when there are no new blocks committed
to the cache.

MozReview-Commit-ID: 3UWHbvtEUmu

--HG--
extra : rebase_source : d8c97d275ca5df7deb56447ef55092ac3d110e7f
extra : source : 8acc253fb322c4b6defb03bbc5489b5b1877f375
2017-11-06 14:17:35 +08:00
JW Wang 37050907e3 Bug 1412737. P3 - remove the while loops in the callers of MediaCacheStream::Read(). r=bechen,gerald
MozReview-Commit-ID: 7UvmenWQ0Ah

--HG--
extra : rebase_source : 825628aea7cca29ad23d4f76bf5db9b42fd08c9d
extra : intermediate-source : 89ec9a22733edb5636b4417ac62d55e1599b7511
extra : source : 0332f9b4c459e0b439a7a0ebc3423b4b849aa37f
2017-10-30 12:44:24 +08:00
JW Wang f851f90063 Bug 1412737. P2 - Read() should return only when enough bytes are read or EOS/error is encountered. r=bechen,gerald
This will remove the need to retry reading for the callers.

Note since data is usually downloaded faster than being consumed, we don't
benefit much in reading data from a partial block in the memory. Chances are
we still need to wait for the block to commit to the cache so the reader can
continue. So we change the code to always read data from the cache or from
the last block when it is completed (reaching EOS).

This change allows up to somewhat optimize NotifyDataReceived() which won't
have to wake up readers if no blocks are committed to the cache.

MozReview-Commit-ID: KwgNSOawuAE

--HG--
extra : rebase_source : dcf61b2c43a7c030a0265979d75d18c63a3c41d0
extra : intermediate-source : 62e5895d3684b6fd00df7703156af5ea1f08bef3
extra : source : 09683d9ffe477c27164769dc93e9eb9ee0af21bd
2017-11-01 16:53:29 +08:00
JW Wang 7b251a2f79 Bug 1412737. P1 - improve error handling. r=bechen,gerald
MozReview-Commit-ID: 776P80x63y8

--HG--
extra : rebase_source : f2384a13f09e3606a7ee705ad3400afd1de738ba
extra : intermediate-source : e57ec5337931951f45b8a922c603e96088cf6ef9
extra : source : 719772d4b77154b419e501eabbf466a679325720
2017-10-31 14:54:13 +08:00
Kilik Kuo 26b99cd496 Bug 1395922 - [P6][Test] Playback should resume after reattaching same MediaKeys with valid sessions. r=cpearce
MozReview-Commit-ID: CASXy2SN4fh

--HG--
extra : rebase_source : b347ffa33fac70e3fcea4aa14f208ae6c79b74b8
2017-11-03 20:15:48 +08:00
Kilik Kuo 0a35c8eaa1 Bug 1395922 - [P5][Test] Capture clear content with canvas 2d after remove MediaKeys from the same HTMLMediaElement. r=cpearce
MozReview-Commit-ID: CUnblsNOmcm

--HG--
extra : rebase_source : b21cf26dc6527c29f315b6f188f11a169b75cd28
2017-11-03 20:15:19 +08:00
Kilik Kuo f59b425307 Bug 1395922 - [P4] Make MDSM enter buffering state when MediaKeys is removed and resume the playback if setting same MediaKeys back. r=cpearce,jya
MozReview-Commit-ID: KdmeGqoVgak

--HG--
extra : rebase_source : 6c6d033db11a8d3808e08796f32ee72ffdd03aea
2017-11-03 20:14:49 +08:00
Kilik Kuo 3f546c6285 Bug 1395922 - [P3] Make HTMLMediaElement::SetMediaKeys asynchronously. r=cpearce
MozReview-Commit-ID: 5M8CTHMsmIh

--HG--
extra : rebase_source : daec666760097b73a7dfad2960881173127eb69e
2017-11-03 20:14:17 +08:00
Kilik Kuo e785f1055a Bug 1395922 - [P2] Make MediaFormatReader::SetCDMProxy asynchronously with a promise. r=cpearce,jya
MozReview-Commit-ID: 7RarmmlA0lo

--HG--
extra : rebase_source : b9c2aa4489b999b84b6367329d732936822e5dea
2017-11-03 20:12:39 +08:00
Margareta Eliza Balazs fe45ae3748 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-08 00:08:26 +02:00
Margareta Eliza Balazs 4164a3a53d Merge inbound to mozilla-central r=merge a=merge 2017-11-07 23:57:03 +02:00
Karl Tomlinson ab0cefe88a bug 1409622 initialize mTime even in Stream AudioTimelineEvents r=padenot
to avoid uninitialized read in WebAudioUtils::ConvertAudioTimelineEventToTicks()

MozReview-Commit-ID: GHPGIrc0T2h

--HG--
extra : rebase_source : 3b6e482cbab07b30a05c1156f95ab6965a59d545
2017-11-07 13:14:22 +13:00
bechen@mozilla.com 66624be395 Bug 1412180 - implement regionID on TextTrackRegion. r=rillian,smaug
MozReview-Commit-ID: 3uFAQuNfGjO

--HG--
extra : rebase_source : 4639ce0d2a1b52b6bbf0119f61a68a4eaaed7b22
2017-11-06 11:18:55 +08:00
Alfredo.Yang 4e9d007f90 Bug 1413076 - return other kind of error in addition to OOM. r=jya
MozReview-Commit-ID: CpRF1Kr5Z2c

--HG--
extra : rebase_source : 56dbc1926d5e051ad5261d4bd495c9fbe5c26833
2017-10-31 10:13:51 +08:00
Kilik Kuo 87bb5d8d3f Bug 1415028 - Remove unnecessary code which may lead to intermittent error. r=jwwang
The session update triggered from the second LoadEME may come later than the end of playback.

MozReview-Commit-ID: K1vOaztbx4v

--HG--
extra : rebase_source : 81cdda75a8b88cf8ef712a57a149733069d04af1
2017-11-07 14:35:52 +08:00
Alastor Wu 936e7147c4 Bug 1409946 - ensure we could always get keyframe while seeking. r=jya
Since MDSM won't treat EOS as an erorr now, so we could revert bug1359058 p2.

MozReview-Commit-ID: JqkIrOiBu8v

--HG--
extra : rebase_source : acaa7bff0f9c6ac86f5b1456eb72d95b4e2a1519
2017-11-06 18:35:49 +08:00
Chris Pearce f231fe980b Bug 1414991 - Unified build fixes in media. r=gerald
MozReview-Commit-ID: KjLeQMSxOfO

--HG--
extra : rebase_source : 37b7222bfbadc0836acdeee19ebd82676872b4ea
2017-11-07 12:57:34 +13:00
Jean-Yves Avenard 21218a8559 Bug 1414596 - P2. Bump VP9 benchmark version ID. r=gerald
This will force a re-run of the VP9 benchmark.

MozReview-Commit-ID: 533NpQWrHDS

--HG--
extra : rebase_source : ffdefc4600545a27e3188f81a53db5680f4c550f
2017-11-06 13:58:05 +01:00
Csoregi Natalia f51f922391 Merge mozilla-central to mozilla-autoland. r=merge a=merge on a CLOSED TREE 2017-11-06 12:49:03 +02:00
Csoregi Natalia a731ff981c Merge inbound to mozilla-central r=merge a=merge 2017-11-06 12:45:47 +02:00
Csoregi Natalia 978711ce7c Merge autoland to mozilla-central r=merge a=merge 2017-11-06 12:44:18 +02:00
Csoregi Natalia 6bf19d4921 Backed out 6 changesets (bug 1395922) for failing Media tests test_eme_sample_groups_playback.html and test_eme_sample_groups_playback.html r=backout a=backout
Backed out changeset f856af63682e (bug 1395922)
Backed out changeset f59a7e727f39 (bug 1395922)
Backed out changeset 9cd31c6a8e2c (bug 1395922)
Backed out changeset d46f952f94f8 (bug 1395922)
Backed out changeset f786d928b1e0 (bug 1395922)
Backed out changeset bacda0f99f71 (bug 1395922)
2017-11-06 12:34:02 +02:00
James Cheng 895569636e Bug 1414760 - Fix calling a function without resolving its declaration. r=jolin
MozReview-Commit-ID: 38lJgykKMT5

--HG--
extra : rebase_source : ca8eb0e013255e4259b246c35c262464711df8dd
2017-11-06 17:13:06 +08:00
JerryShih bc746b55a9 Bug 1409176 - handle decoder error in WMFMediaDataDecoder::ProcessDecode(). r=jya,mattwoodrow
The DXVA decoder might hit some error because of the hardware device status.
This patch try to pass the error code to the decoder promise object to
deal with the error.

MozReview-Commit-ID: IAj8gzKGF3j
2017-11-06 16:07:22 +08:00
Sebastian Hengst d61954557d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Ai6Y5GGfkfT
2017-11-04 10:58:24 +01:00
Bob Clary 1d8ba0f540 Bug 1365451 - disable Cdm1 dom/media/test/crashtests/691096-1.html, r=jmaher. 2017-11-05 16:59:19 -08:00
Bob Clary dcd73319bd Bug 1408241 - disable Mdm1 dom/media/test/test_mediarecorder_record_addtracked_stream, r=jmaher. 2017-11-05 16:58:48 -08:00
JW Wang 605a0bdc18 Bug 1414709 - use Span<> to replace low level pointer arithmetic in MediaCacheStream::NotifyDataReceived(). r=bechen,gerald
MozReview-Commit-ID: KIwws0qiCVK

--HG--
extra : rebase_source : 3e50c2047703b01f006cfec65c4b0667b47906af
extra : intermediate-source : fbb2cf22b5028b57762ce7e7e9f56526ad5e9727
extra : source : 4bfb8f2ed2afb6f74cae0caf34dd34b0a818a45a
2017-11-01 23:20:11 +08:00
Jon Coppeard fd86611724 Bug 1413993 - Remove unused USEC_PER_SEC constant r=jya
This constant is #defined in some MacOS system headers which causes compile errors.
2017-11-03 10:25:26 +00:00
JW Wang e7d1c35d12 Bug 1413858 - Resume() needs to reset mPendingSeekOffset before calling Seek(). r=gerald
MozReview-Commit-ID: GbZ3SvSTMvR

--HG--
extra : rebase_source : 4579ffa96a7d8117827b71e2f0fcb73e3bfc996a
2017-11-02 20:25:57 +08:00
Michael Froman 7eb5cd2f86 Bug 1413709 - add tests to detect improper ice restart by answer. r=bwc
Adding tests that would have shown the issue fixed in Bug 1405940.
If the answer during a renegotiation has modified ICE credentials,
it should cause an error.  These tests check for that error.

MozReview-Commit-ID: 9u8GGpslDdK

--HG--
extra : rebase_source : 6b204cefa96e95abd61d9a57ddd643dd81a41254
2017-11-01 11:56:35 -05:00
JW Wang 4e6da8890c Bug 1414706 - dump debug info immediately when a test times out. r=jya
For now we dump debug info when the whole test case finishes. However, it
would be harder to relate the debug info to the timed out test when there
are multiple test timeouts.

Note we don't call |this.finished(token)| until v.mozDumpDebugInfo() is done
because |this.finished(token)| might finish the whole test case and clean up
the page which might change the output of v.mozDumpDebugInfo().

MozReview-Commit-ID: BrdZ0EVpaBQ

--HG--
extra : rebase_source : ee5d20c3ab605568e7fe895f14b8e9468fffd5ab
extra : source : 1288e105a94ac05fc3a978b7287dd45ecdfb6e8d
2017-11-03 11:16:30 +08:00
Andreas Pehrson 368e21e1b1 Bug 1407542 - Remove back reference to consumer in MediaStreamTrack. r=jib,smaug
It doesn't matter that this is traversed by the cycle collector when the track is live and playing.
It prevents cycle collection of any number of MediaStreams that contain (thus consume) this track.

MozReview-Commit-ID: GvdLfWDTVQQ

--HG--
extra : rebase_source : 29e65d25bd7cdf03e32ff4aa736b0ff762ebf1c1
2017-10-10 20:48:58 +02:00
Andreas Pehrson a0b90be9da Bug 1407542 - Add mochitest checking that MediaStreams can be GCed. r=jib
MozReview-Commit-ID: Aypf1QAG7o8

--HG--
extra : rebase_source : bb0965bf510a429dfa38f4ced1dfb198d3bae016
2017-10-24 10:35:02 +02:00
Andreas Pehrson 83671598ea Bug 1407542 - Implement static chrome-only MediaStream method to get number of MSG-MediaStreams. r=jib,smaug
MozReview-Commit-ID: B0nDXzMBGlJ

--HG--
extra : rebase_source : 920fe77580a82f305e2604b89816b0bb3846c0e4
2017-10-23 19:09:47 +02:00
Andreas Pehrson e22e9cf471 Bug 1407542 - Implement MediaStreamGraph::GetInstanceIfExists. r=padenot
MozReview-Commit-ID: EAd0rIrZg43

--HG--
extra : rebase_source : 2fdfc1ce361b9f9d6c43ffa887c54c88e6157f11
2017-10-23 19:08:40 +02:00