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

240 Коммитов

Автор SHA1 Сообщение Дата
Kilik Kuo b5261ea942 Bug 1365505 - [P2][Fennec] Only include exoplayer & HLSDecoder related components when building --with-gradle. r=maliu
MozReview-Commit-ID: 7Y0bZynN66i

--HG--
extra : rebase_source : 6730f4e09c559074387b3fcf9dd2fb038628d448
2017-11-30 17:53:00 +08:00
Gerald Squelart 6db84a17f3 Bug 1259293 - Remove -wd4312 which was needed with VS2015 - r=jwwang
MozReview-Commit-ID: 3xOa8BmEYbk

--HG--
extra : rebase_source : b48ea525890a31b0c16c80c5fbbc215737760a42
2017-11-29 12:18:09 +11:00
Alastor Wu 5acb978a09 Bug 1382574 - part1 : create new class AutoplayPolicy to handle autoplay logic. r=jwwang
AutoplayPolicy is used to manage autoplay logic for all kinds of media,
including MediaElement, Web Audio and Web Speech.

MozReview-Commit-ID: R1TxMkarIw

--HG--
extra : rebase_source : 8c608a1d12c8e205391a91f22e1532bc4f2c8f16
2017-11-22 00:33:16 +08:00
Alfredo.Yang a2cd247c8f Bug 1417795 - remove mp4_demuxer namespace part1. r=kinetik
MozReview-Commit-ID: 6YrURoOq2wk

--HG--
extra : rebase_source : 3ea026780b210b42bd41163c654580a920d30181
2017-11-16 15:57:15 +08:00
Alfredo.Yang 23ba3bcec8 Bug 1417011 - move BufferReader, BitReader and ByteWriter to dom/media. r=kinetik
MozReview-Commit-ID: KqmSM3RlD1V

--HG--
rename : media/libstagefright/binding/BitReader.cpp => dom/media/BitReader.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/BitReader.h => dom/media/BitReader.h
rename : media/libstagefright/binding/include/mp4_demuxer/BufferReader.h => dom/media/BufferReader.h
rename : media/libstagefright/binding/include/mp4_demuxer/ByteWriter.h => dom/media/ByteWriter.h
extra : rebase_source : 6ed0bcba4c2336bb7e532b3a5c3abce73ccdc5f5
2017-11-15 11:15:20 +08:00
Alfredo.Yang a60c99b535 Bug 1417011 - rename fmp4 to mp4. r=kinetik
MozReview-Commit-ID: JH20pUNstwx

--HG--
rename : dom/media/fmp4/MP4Decoder.cpp => dom/media/mp4/MP4Decoder.cpp
rename : dom/media/fmp4/MP4Decoder.h => dom/media/mp4/MP4Decoder.h
rename : dom/media/fmp4/MP4Demuxer.cpp => dom/media/mp4/MP4Demuxer.cpp
rename : dom/media/fmp4/MP4Demuxer.h => dom/media/mp4/MP4Demuxer.h
rename : dom/media/fmp4/moz.build => dom/media/mp4/moz.build
extra : rebase_source : b157e5589bd5296c56d505a5d27a768004bd7202
2017-11-15 09:22:13 +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
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
Kilik Kuo 23f6932509 Bug 1395922 - [P2] Make MediaFormatReader::SetCDMProxy asynchronously with a promise. r=cpearce,jya
MozReview-Commit-ID: 7RarmmlA0lo

--HG--
extra : rebase_source : 195f64f405aa19920ccf09ffeddb087877d653a4
2017-11-03 20:12:39 +08:00
Jean-Yves Avenard 858f178676 Bug 1410090 - Remove remnant of FFOS OMX code. r=cpearce
For webrtc, the most important part of the code had already been removed in bug 1355048 and could no longer be called

MozReview-Commit-ID: Fx9XI0zR1gn

--HG--
extra : rebase_source : 360996760abab650684440fbeea258b43dccfd83
2017-10-19 16:51:04 +02:00
Andrew McCreight a56b23fc5f Bug 1408459, part 1 - Work around compiler problem on Android 4.2 x86 opt. r=erahm,kamidphish
Removing an ununused declaration in nsTraceRefcnt.h causes a compiler
error on Android 4.2 x86 op when CubebUtils.cpp is compiled unified,
for some reason. Work around this by compiling it by itself.

MozReview-Commit-ID: F73D47TU32B

--HG--
extra : rebase_source : 23b76e55e27ab7501f1303a015f67e8be4603283
2017-10-15 09:19:31 -07:00
Gerald Squelart 00c6bbf432 Bug 1394995 - Moved DecoderDoctor files to dom/media/doctor/ - r=jwwang
MozReview-Commit-ID: 9fEmeizzAAw

--HG--
rename : dom/media/DecoderDoctorDiagnostics.cpp => dom/media/doctor/DecoderDoctorDiagnostics.cpp
rename : dom/media/DecoderDoctorDiagnostics.h => dom/media/doctor/DecoderDoctorDiagnostics.h
extra : rebase_source : 38d149815101f222bd42aec7c2f481768c7ab335
2017-08-28 10:37:44 +12:00
Sebastian Hengst b834f0d177 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
Chris Pearce c16ed38cc5 Bug 1405697 - Move BaseMediaResource implementation into cpp file. r=jwwang
This means MediaResource.cpp now only contains the stuff for the MediaResource
super class, and MediaResourceIndex.

MozReview-Commit-ID: 5xFxibn0aJ4

--HG--
extra : rebase_source : 4cb940008abb62c43759689cdc9e034d25b7e36f
2017-10-04 20:34:07 +02:00
James Cheng d88213c50f Bug 1396493 - Part7 - Rename dom/media/gmp-plugin to dom/media/fake-cdm r=cpearce
MozReview-Commit-ID: JswVNPW3SXS

--HG--
rename : dom/media/gmp-plugin/cdm-fake.cpp => dom/media/fake-cdm/cdm-fake.cpp
rename : dom/media/gmp-plugin/cdm-test-decryptor.cpp => dom/media/fake-cdm/cdm-test-decryptor.cpp
rename : dom/media/gmp-plugin/cdm-test-decryptor.h => dom/media/fake-cdm/cdm-test-decryptor.h
rename : dom/media/gmp-plugin/cdm-test-output-protection.h => dom/media/fake-cdm/cdm-test-output-protection.h
rename : dom/media/gmp-plugin/cdm-test-storage.cpp => dom/media/fake-cdm/cdm-test-storage.cpp
rename : dom/media/gmp-plugin/cdm-test-storage.h => dom/media/fake-cdm/cdm-test-storage.h
rename : dom/media/gmp-plugin/manifest.json => dom/media/fake-cdm/manifest.json
rename : dom/media/gmp-plugin/moz.build => dom/media/fake-cdm/moz.build
extra : rebase_source : 7af2ee71047d6fa85f692fa0132d2a04533027b0
2017-09-27 02:27:29 +08:00
Andrea Marchesini 970f42c82a Bug 1403706 - Remove race conditions in temporary blob - part 2 - MediaRecorder should use MutableBlobStorage, r=pehrsons, r=smaug 2017-10-05 07:41:41 +02:00
Dan Minor 30d76b125c Bug 1382182 - Build jsep using moz.build; r=ted,jesup
MozReview-Commit-ID: 9UhlBZi0yO0

--HG--
extra : rebase_source : 7ad69af2dfb61ad88fc5f87f4d17a09abbf23edc
2017-07-20 11:24:08 -04:00
Andrea Marchesini b0b73ddd29 Bug 1388125 - CloneableWithRangeMediaResource for streams implementing nsICloneableInputStreamWithRange, r=jya 2017-09-18 13:34:43 +02:00
Andrea Marchesini 5f79fe9d48 Bug 1388125 - Move ChannelMediaResource to separate files, r=jya 2017-09-18 13:33:49 +02:00
Andrea Marchesini 3ad3aaae76 Bug 1388125 - Move FileMediaResource to separate files, r=jya 2017-09-18 13:31:08 +02:00
Chris Pearce e4e1189f9a Bug 1395021 - Move TrackID definition from StreamTracks.h into TrackID.h. r=jwwang
This means that MediaInfo.h doesn't need to include StreamTracks.h, which pulls
in MediaSegment.h and the MSG and a bunch of DOM bindings stuff.

MozReview-Commit-ID: 6JSO1dxJq8k

--HG--
extra : rebase_source : c5ca38a6e0b297e4e05db3b23c7c2ead49e9f8bc
2017-08-30 15:24:54 +12:00
Eric Rahm 9732475fe0 Bug 1389598 - Part 3: Remove gonk references from dom/ r=bkelly
--HG--
extra : rebase_source : 94a2b34b21cfde0c0ebda1045e9d30c6b88a1557
2017-08-11 17:42:11 -07:00
Chun-Min Chang fcac71b722 Bug 1361336 - part4: Create AudioNotificationSender/Receiver to pass the device-changed notification; r=cpearce
--HG--
extra : rebase_source : 698c735d3fe7fc6b47b47416a205dc51e77c9358
2017-07-26 17:00:44 +08:00
JW Wang b9cda6f285 Bug 1384836 - rename MediaDecoderReaderWrapper to ReaderProxy. r=kaku
MozReview-Commit-ID: 7WeNblTnTCG

--HG--
rename : dom/media/MediaDecoderReaderWrapper.cpp => dom/media/ReaderProxy.cpp
rename : dom/media/MediaDecoderReaderWrapper.h => dom/media/ReaderProxy.h
extra : rebase_source : a03573610a8d375fa30b89d90cdf4dc9a4ea3441
2017-07-27 14:49:57 +08:00
Chun-Min Chang f4b2f0809e Bug 1197045 - part1: Create an AudioDeviceInfo to expose the native device information; r=kinetik
MozReview-Commit-ID: 2N2BkZUVOca

--HG--
extra : rebase_source : 499d069251f3231a2fd5ddbd55aaa5b5f4124723
2017-07-13 14:01:36 +08:00
Sebastian Hengst 9fc62e5079 Backed out changeset a4ea1d5fcb4e (bug 1197045) for eslint failure at Troubleshoot.jsm:401: 'winUtils' is assigned a value but never used. r=backout 2017-07-24 13:24:28 +02:00
Chun-Min Chang 13ab7bac64 Bug 1197045 - part1: Create an AudioDeviceInfo to expose the native device information; r=kinetik
MozReview-Commit-ID: 2N2BkZUVOca

--HG--
extra : rebase_source : 499d069251f3231a2fd5ddbd55aaa5b5f4124723
2017-07-13 14:01:36 +08:00
JW Wang 30093548fb Bug 1378295. P6 - remove AbstractMediaDecoder and fix includes. r=jya
MozReview-Commit-ID: xN1Ywo9VDY

--HG--
extra : rebase_source : 9aee1697b5299e43eb35450a20015c08a11bdea6
extra : intermediate-source : 3095884f04356d0d2c3c34843098a0a8b23211b8
extra : source : ef0f7e5300060b7888b961596a32a8fbf483ebd2
2017-07-13 17:39:42 +08:00
JW Wang 87a7705558 Bug 1316211. P16 - remove MediaDecoderReader completely and fix includes. r=gerald
MozReview-Commit-ID: AGNyyh4kt3e

--HG--
extra : rebase_source : 48bfd7c681693a965848078c19ac81707ac19540
extra : source : 093ff5fe2ab6dd7551453b10b480fa3553ec135d
2017-07-20 09:56:08 +08:00
Wes Kocher 8117ff8bd3 Backed out 3 changesets (bug 1197045) for failures in browser_Troubleshoot.js a=backout CLOSED TREE
Backed out changeset 78b66a4c6b7c (bug 1197045)
Backed out changeset feea60a002a7 (bug 1197045)
Backed out changeset 57842092a282 (bug 1197045)

MozReview-Commit-ID: J0KZDSSw4XQ
2017-07-18 22:54:15 -07:00
Chun-Min Chang d6c1dd180f Bug 1197045 - part1: Create an AudioDeviceInfo to expose the native device information; r=kinetik
MozReview-Commit-ID: 2N2BkZUVOca

--HG--
extra : rebase_source : 499d069251f3231a2fd5ddbd55aaa5b5f4124723
2017-07-13 14:01:36 +08:00
Jean-Yves Avenard f50943d4cc Bug 1379190: P1. Remove AndroidMediaDecoder and relatives. r=cpearce
They are no longer supported and can't work with API >= 16

MozReview-Commit-ID: JkftKxW5OtY

--HG--
extra : rebase_source : 6ed4032141add293d21354640c96fc75adc565d9
2017-07-13 12:54:03 +02:00
JW Wang 5c00111ef1 Bug 1374930. P1 - add ChannelMediaDecoder to be the base class which uses channel-based MediaResource. r=cpearce
MozReview-Commit-ID: 6L4me2BQkgi

--HG--
extra : rebase_source : d78de302d0551b9754569885d79ed3aba6571f61
extra : intermediate-source : d32948c3c5110b663d4ac61a1f483c8f8db00707
extra : source : cfd7941b933671dcb83c1131463b39f58fec627d
2017-06-19 15:50:09 +08:00
Jean-Yves Avenard f6c116ae1a Bug 1374596: P1. Fix MediaStream* headers. r=padenot
We had a cycle reference between MediaStreamGraph.h and MediaStreamListener.h so we extract those parts and move them into its own header.

MozReview-Commit-ID: FeLFFBglD0Y

--HG--
extra : rebase_source : 257cb3dc8cb3fee6ecc5e03daed7724670c25471
2017-06-20 17:18:53 +02:00
Jean-Yves Avenard 6b527f66fb Bug 1374389: Prevent compilation error due to object size being too big. r=glandium
Prevent on Windows the error:
fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

MozReview-Commit-ID: 8j0fT38gkAZ

--HG--
extra : rebase_source : fbd220a208d09023f5ff6f115404349a9d97a7f8
2017-06-19 21:47:34 +02:00
Carsten "Tomcat" Book 420b1ef9fc Backed out changeset 370492d1bc69 (bug 1374389) for bustage 2017-06-20 10:05:11 +02:00
Jean-Yves Avenard 8bd24729ea Bug 1374389: Prevent compilation error due to object size being too big. r=glandium
Prevent on Windows the error:
fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

MozReview-Commit-ID: 8j0fT38gkAZ

--HG--
extra : rebase_source : fbd220a208d09023f5ff6f115404349a9d97a7f8
2017-06-19 21:47:34 +02:00
Jan Henning c723881c4e Bug 1168435 - Part 2 - Refactor new MP3 frame parser out of the demuxer. r=jya
MozReview-Commit-ID: 7ZwjtMpuhRR

--HG--
rename : dom/media/MP3Decoder.cpp => dom/media/mp3/MP3Decoder.cpp
rename : dom/media/MP3Decoder.h => dom/media/mp3/MP3Decoder.h
rename : dom/media/MP3Demuxer.cpp => dom/media/mp3/MP3Demuxer.cpp
rename : dom/media/MP3Demuxer.h => dom/media/mp3/MP3Demuxer.h
rename : dom/media/MP3Demuxer.cpp => dom/media/mp3/MP3FrameParser.cpp
rename : dom/media/MP3Demuxer.h => dom/media/mp3/MP3FrameParser.h
extra : rebase_source : 6b4f7e9784e0d624ca7fef42958138c2a3e69b84
2017-06-10 20:43:14 +02:00
Jan Henning 5f07aa20bb Bug 1168435 - Part 1 - Remove old MP3FrameParser. r=jya
All former users of the old MP3 parsing code are gone, so we can now just remove the parser itself as well.

We also need to fix up an include issue in AutoTaskQueue.h that was previously masked by MP3FrameParser.cpp through unified builds.

MozReview-Commit-ID: CtvmfJKq5or

--HG--
extra : rebase_source : 73fe84244b4286c1eddce01c3001e3f985c8c568
2017-06-05 15:45:46 +02:00
Gerald Squelart b901a472b6 Bug 1371882 - Implement MemoryBlockCache - r=cpearce
Memory-backed block cache.
At initialization, allocates memory needed to store the expected content
length.
If MediaCache attempts to write/move beyond the expected size, we grow the
buffer accordingly, as we cannot fully trust HTTP headers. (Future patch will
ensure we put a limit to this growth.)

MozReview-Commit-ID: GHxYMGXYrwI

--HG--
rename : dom/media/MediaBlockCacheBase.h => dom/media/MemoryBlockCache.h
extra : rebase_source : 4fe263006839ba82a77d124f147adf5943cfa651
2017-06-09 15:37:23 +12:00
James Cheng 0fd72ba177 Bug 1350246 - [Part8] Add the native code implementation into source tree. r=jya
MozReview-Commit-ID: 6xS4QCrsfJa

--HG--
extra : rebase_source : fab6273caf785fcc09d0073a3f18d3b8fbddb022
2017-05-18 14:56:50 +08:00
James Cheng 19be56a7d1 Bug 1350246 - [Part0] Add a Util header for PR logging and define MOZ_ANDROID_HLS_SUPPORT macro. r=jya
MozReview-Commit-ID: J3koxu4F3kC

--HG--
extra : rebase_source : aef0220cbec051c4d26bca0076589195c80f6cd8
2017-05-05 16:43:48 +08:00
Jean-Yves Avenard 484055c07b Bug 1370192: P2. Remove DirectShow's reader and relative. r=cpearce
MozReview-Commit-ID: ESYagjKpS5E

--HG--
extra : rebase_source : 6a267996f09deb11c8929cdb4f00f83a4bf02163
2017-06-05 13:04:27 +02:00
Chris Pearce 12f8d2203e Bug 1352556 - Validate output of MFGetAttributeSize. r=gerald
MozReview-Commit-ID: J1NirhKfTK6
2017-05-01 16:12:27 +12:00
JW Wang 57506c3907 Bug 1343787. Part 2 - move the Register() calls to Load(). r=gerald
MozReview-Commit-ID: 2jjZujE1qH8

--HG--
extra : rebase_source : f787346a5631acceb27d88e352d67f66e8053bf9
extra : source : 2d3a5e31f306ab2109f38e070a9881ef2affba60
2017-03-02 18:03:20 +08:00
Joel Maher 3f733d1afa Bug 1333180 - update bug_components in dom/media/* to be more accurate. r=jesup
MozReview-Commit-ID: In1UgaUu4bS
2017-01-25 06:16:14 -05:00
Benjamin Smedberg 4d15f5f134 Bug 1333110 - Remove dom/media/standalone, r=jesup
MozReview-Commit-ID: Iw3gIF1eQqB

--HG--
extra : rebase_source : 684710ccd50b01de74e6fa752796bd5d4c1f6f1b
extra : histedit_source : 359c13273384a11bf06321509894e87b49c3def1
2017-01-23 11:57:15 -05:00
Gerald Squelart 5745998021 Bug 1331770 - Rename 'MediaContentType' to 'MediaContainerType' - r=jya
MozReview-Commit-ID: F0BWai8vPyo

--HG--
rename : dom/media/MediaContentType.cpp => dom/media/MediaContainerType.cpp
rename : dom/media/MediaContentType.h => dom/media/MediaContainerType.h
extra : rebase_source : 640ada96750b4496055087e80ae3f600c9df31c9
2017-01-18 11:59:03 +11:00
Gerald Squelart 14cc7d114d Bug 1329568 - MediaExtendedMIMEType - r=jya
This patch factors out all data handling of MIME strings from MediaContentType
to MediaExtendedMIMEType.

MediaExtendedMIMEType is pretty much a copy of the old MediaContentType, as the
functionality was fine (but will be modified in upcoming patches).
MediaContentType then just delegates the work to its embedded
MediaExtendedMIMEType field.
The main difference is that the default constructor and Populate() method have
been replaced with a single constructor that takes all the arguments at once.

MozReview-Commit-ID: GBAgPDT2DUW

--HG--
rename : dom/media/MediaContentType.cpp => dom/media/MediaMIMETypes.cpp
rename : dom/media/MediaContentType.h => dom/media/MediaMIMETypes.h
extra : rebase_source : 1c925d8e049d9d349ec4c3dd1a079f570b809970
2016-12-01 13:05:45 +11:00
Wes Kocher 48f75e3c03 Backed out 13 changesets (bug 1329568) for wpt-11 failures in mediasource-addsourcebuffer.html a=backout CLOSED TREE
Backed out changeset 8f37ee96bd78 (bug 1329568)
Backed out changeset 706da9f85272 (bug 1329568)
Backed out changeset c316c8d24d32 (bug 1329568)
Backed out changeset 90a091e65db3 (bug 1329568)
Backed out changeset da855d6a78bb (bug 1329568)
Backed out changeset 3a49367220e3 (bug 1329568)
Backed out changeset 453851b40e3e (bug 1329568)
Backed out changeset 662529436cc4 (bug 1329568)
Backed out changeset 7c62078beb88 (bug 1329568)
Backed out changeset 99758b5f7918 (bug 1329568)
Backed out changeset 2ce9dcf0c274 (bug 1329568)
Backed out changeset 644f206d06d6 (bug 1329568)
Backed out changeset e1ed12f057c8 (bug 1329568)

MozReview-Commit-ID: FhJlySehxHi
2017-01-12 15:10:52 -08:00