Commit Graph

4121 Commits

Author SHA1 Message Date
Wes Kocher
e94aeb34ae Backed out 2 changesets (bug 1285541) for causing a frequent mda failure
Backed out changeset 53ac5a12a19b (bug 1285541)
Backed out changeset aea13acdf417 (bug 1285541)

--HG--
rename : media/libcubeb/src/cubeb_audiounit.cpp => media/libcubeb/src/cubeb_audiounit.c
2016-07-08 15:21:43 -07:00
Paul Adenot
43d6b652f1 Bug 1285541 - Update cubeb to revision b8aebef3. r=padenot
Patches by achronop.

MozReview-Commit-ID: 2RurT5Y3CHo

--HG--
rename : media/libcubeb/src/cubeb_audiounit.c => media/libcubeb/src/cubeb_audiounit.cpp
2016-07-08 15:56:56 +02:00
Carsten "Tomcat" Book
838f21f656 merge mozilla-inbound to mozilla-central a=merge 2016-07-08 11:58:46 +02:00
Nils Ohlmeier [:drno]
61aaacaf56 Bug 1285318: turn of WebRTC TCP packet filtering. r=mjf
MozReview-Commit-ID: 7kmAJlscG9a

--HG--
extra : rebase_source : c8d6a741fbde3f514ee49be5ee97291ba58831d3
2016-07-07 11:32:04 -07:00
Carsten "Tomcat" Book
e9a4666c05 Merge mozilla-central to autoland 2016-07-07 11:44:49 +02:00
Nils Ohlmeier [:drno]
8f07aa3df1 Bug 1279146 - Clean up streams on shutdown. r=bwc
--HG--
extra : amend_source : db42e64bafec58bfef42a0fc7aad2cc1a761e137
2016-07-07 21:33:23 -04:00
Nils Ohlmeier [:drno]
aee07d68e0 Bug 1283619: enable far end REMB support for sending conduits depending on signaling. r=mjf
MozReview-Commit-ID: BBuhSHw2Wyb

--HG--
extra : rebase_source : fc512ea95644cc1b62e53a4f88df589f4912dffc
2016-06-30 14:22:38 -07:00
Ralph Giles
705dbc4fe9 Bug 1284589 - Result of running the update script. r=kinetik
Implement the changes by running the new update script.

MozReview-Commit-ID: 2gbmdq4Mlri

--HG--
rename : media/libstagefright/binding/mp4parse/boxes.rs => media/libstagefright/binding/mp4parse/src/boxes.rs
rename : media/libstagefright/binding/mp4parse/byteorder/mod.rs => media/libstagefright/binding/mp4parse/src/byteorder/mod.rs
rename : media/libstagefright/binding/mp4parse/byteorder/new.rs => media/libstagefright/binding/mp4parse/src/byteorder/new.rs
rename : media/libstagefright/binding/mp4parse/capi.rs => media/libstagefright/binding/mp4parse/src/capi.rs
rename : media/libstagefright/binding/mp4parse/lib.rs => media/libstagefright/binding/mp4parse/src/lib.rs
rename : media/libstagefright/binding/mp4parse/tests.rs => media/libstagefright/binding/mp4parse/src/tests.rs
extra : rebase_source : dee1bc8dc923d4d8edc060a2ef14161d78c5e4dc
2016-07-05 11:10:15 -07:00
Ralph Giles
df3f69672e Bug 1284589 - Move mp4parse source to match upstream. r=kinetik
Make Cargo.toml, build.rs and standard cargo source package
layout available in-tree to facilitate testing cargo-driven
builds of rust code.

Update the moz.build script to build using plain rustc as
before, but referencing the new source location.

MozReview-Commit-ID: 11zuebic9tU

--HG--
extra : rebase_source : 1cb71896ae5dd33d1237ca04ec27da60b2256dad
2016-07-05 11:08:37 -07:00
Chris Peterson
13e1939d07 Bug 1277155 - Part 2: Remove snprintf() polyfills in media code imported from libav. r=jya 2016-06-27 20:44:30 -07:00
Chris Peterson
2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
Gregory Szorc
f21ec324a6 Merge mozilla-central to mozilla-inbound 2016-07-06 18:30:58 -07:00
ctai
fd36b32d94 Bug 1266646 - Move group of MediaStreamListener to a new header file. r=pehrsons
This can reduce the include header dependency. MediaStreamVideoSink will inherit from DirectMediaStreamTrackListener. But we can't use forward declaration on MediaStreamListener because the usage of nsTArray<RefPtr<MediaStreamVideoSink>>.

MozReview-Commit-ID: 328s4Kw9NvW

--HG--
extra : transplant_source : %D2%18%E3%3B%0C%D8%F04%F3%EB%EB%A0%A7%8B%B1%A9%AB%97rY
2016-06-30 15:07:48 +08:00
ctai
533acf2e59 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : transplant_source : %5C%1C%23%AC%D7%0D%97%24%CB%ED%8E%D5%60/%5E%07%F2%85Z%DA
2016-04-29 11:45:25 +08:00
Nils Ohlmeier [:drno]
ccfaf882c5 Bug 1275119: remove mRecvCodecList from VideoConduit. r=jesup
MozReview-Commit-ID: 5Wgc0NDkyps

--HG--
extra : rebase_source : b796d12ae0a87533df30372ee6da232fdefaff80
2016-06-06 23:40:37 -07:00
Carsten "Tomcat" Book
eec8b2656e Merge mozilla-central to autoland 2016-07-02 11:16:11 +02:00
Paul Adenot
df4b0d9571 Bug 1283850 - Uplift cubeb to revision b8aebef. r=padenot,kinetik,achronop
MozReview-Commit-ID: IjlWPClDuFg
2016-07-01 15:43:16 +02:00
Chris Pearce
e0a9078a6f Bug 1267918 - Add GMPCrashHelper to GMPService::GetGMP* functions. r=gerald
This enables callers to specify a way to determine the correct window to
dispatch the PluginCrashed event to should the GMP actor crash.

We need a way to determine the correct window at crash time, as the GMP's
window can change at runtime. For example, if the GMP is being used for
unencrypted decoding, the <video> element can be moved to a new browser window
at runtime.

Note: I don't handle disconnecting the GMPCrashHandlers in this patch; we do
delete the GMPCrashHandlers in this patch when their associated GMP crashes, and
in the next patch we handle disconnecting GMPCrashHandlers in the case where
we don't crash.

MozReview-Commit-ID: DrwcZAB6Ys0

--HG--
extra : rebase_source : 8da188b68456914773e6adae8cbccd6bf6a6e7a7
2016-06-29 11:41:56 +12:00
Carsten "Tomcat" Book
fcff88e7a8 Merge mozilla-central to autoland 2016-07-01 11:20:25 +02:00
Alexandre Lissy
a09dfe4799 Bug 1283439 - Include OpusDecoder.h only for Rust MP4 parsing r=kinetik
MozReview-Commit-ID: 9zzhvYowlkX

--HG--
extra : rebase_source : d10ddb0632a6bf35d4f92080438a5f01f6466b72
2016-06-30 19:13:53 +02:00
EKR
0a7e8ae834 Bug 1283085 - Handle new ALPN value r=abr 2016-06-29 10:24:48 -07:00
Ralph Giles
b9106558db Bug 1282963 - Share CodecDelay prepend code. r=kinetik
Both the WebM and mp4 demuxers need to pack this value into
the the CodecSpecificConfig, so move the shared implementation
to the OpusDecoder, near where it is unpacked so the two can
be kept in sync.

MozReview-Commit-ID: 2pQaruJoAWr
2016-06-29 15:49:04 -07:00
Ralph Giles
160fca741c Bug 1267887 - Add algorithm.h for std::min on msvc. r=kinetik
Fixes a compile error on Windows.

MozReview-Commit-ID: 6FOl7fn5xMq
2016-06-29 09:13:19 -07:00
Ralph Giles
af27dceab2 Bug 1267887 - Document MP4AudioInfo::IsValid(). r=jya
Jean-Yves and I both found this logic confusing.

MozReview-Commit-ID: C5phemRPDQZ
2016-06-29 09:13:15 -07:00
Ralph Giles
f3eb2d75ba Bug 1267887 - Update source for mp4parse v0.4.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: AE6jXz8IMU7
2016-06-29 09:13:04 -07:00
Ralph Giles
8c0fe7a521 Bug 1267887 - Update script for mp4parse v0.4.0. r=kinetik
Remove patches for issues which are fixed upstream.

Update the script to generate the C api header file by running
`cargo build` before copying it.

Update byteorder mod-ification patch to apply to 0.5.3.

MozReview-Commit-ID: 8FDpbcSWt1o
2016-06-29 09:12:45 -07:00
Ralph Giles
72ecfe6999 Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-29 09:12:45 -07:00
Ralph Giles
c1c627c22a Bug 1267887 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2
2016-06-29 09:12:45 -07:00
Carsten "Tomcat" Book
5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Nils Ohlmeier [:drno]
8a525ec4ae Bug 1282792: start transmitting OR receiving if track is active r=bwc
MozReview-Commit-ID: GaT5v9UN6ox

--HG--
extra : rebase_source : d7140ffe87f9ea42cc29cc96c3a92270c34d88a8
2016-06-28 01:16:08 +02:00
Gerald Squelart
23c839e07f Bug 1274637 - Detect OOB copy attempts in clearkey decryptor - r=cpearce
MozReview-Commit-ID: LgXe8xrQvzs
2016-05-26 19:46:40 +02:00
Ryan VanderMeulen
02d34ad572 Bug 1278648 - Update libjpeg-turbo to version 1.5.0. r=jrmuizel
--HG--
rename : media/libjpeg/README => media/libjpeg/README.ijg
rename : media/libjpeg/README-turbo.txt => media/libjpeg/README.md
2016-06-26 15:41:09 -04:00
Byron Campen [:bwc]
577b657567 Bug 1280215 - Stop using the nsresult in OnProxyAvailable to determine whether the PCM is still interested. r=drno
MozReview-Commit-ID: AIZm4VNZJtV
2016-06-15 13:38:26 +01:00
Byron Campen [:bwc]
208469617b Bug 1280443 - Make a timer assert more aggressive. r=drno 2016-06-20 11:47:10 -05:00
Phil Ringnalda
0c749ef583 Back out 2 changesets (bug 1195477) on suspicion of breaking Mac clobbers in libffi
CLOSED TREE

Backed out changeset 45a6a74c46ea (bug 1195477)
Backed out changeset 4f607b7635fd (bug 1195477)
2016-06-23 19:29:22 -07:00
Phil Ringnalda
3f1ee7a2b6 Backed out 7 changesets (bug 1267887) for gtest failures and crashes and Marionette crashes on Windows 8
CLOSED TREE

Backed out changeset e7e34b315a0a (bug 1267887)
Backed out changeset 9128f4f94032 (bug 1267887)
Backed out changeset c697af8c555a (bug 1267887)
Backed out changeset 8f1c1957ce80 (bug 1267997)
Backed out changeset 3b1177fd30cb (bug 1267887)
Backed out changeset 72ea61f4f820 (bug 1267887)
Backed out changeset e19c4c4eac51 (bug 1267887)
2016-06-28 21:40:09 -07:00
Ralph Giles
a91a784d90 Bug 1267887 - Add algorithm.h for std::min on msvc. r=kinetik
Fixes a compile error on Windows.

MozReview-Commit-ID: 6FOl7fn5xMq
2016-06-28 20:33:42 -07:00
Ralph Giles
c0393ce78f Bug 1267887 - Document MP4AudioInfo::IsValid(). r=jya
Jean-Yves and I both found this logic confusing.

MozReview-Commit-ID: C5phemRPDQZ
2016-06-28 20:33:38 -07:00
Ralph Giles
64dfe2c489 Bug 1267997 - Update source for mp4parse v0.4.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: AE6jXz8IMU7
2016-06-28 20:33:36 -07:00
Ralph Giles
1382abe1f6 Bug 1267887 - Update script for mp4parse v0.4.0. r=kinetik
Remove patches for issues which are fixed upstream.

Update the script to generate the C api header file by running
`cargo build` before copying it.

Update byteorder mod-ification patch to apply to 0.5.3.

MozReview-Commit-ID: 8FDpbcSWt1o
2016-06-28 20:33:34 -07:00
Ralph Giles
711f285ffd Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-28 20:33:32 -07:00
Ralph Giles
bcd27ae276 Bug 1267887 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2
2016-06-28 20:33:30 -07:00
Nathan Froyd
b86f050662 Bug 1195477 - part 1 - use -no-integrated-as for clang builds on ARM, moz.build changes; r=glandium
We have a lot of assembly written assuming gas's conventions, which
clang's integrated assembler doesn't support.  Disable the integrated
assembler for those pieces of code.
2016-06-28 23:48:49 -04:00
Nils Ohlmeier [:drno]
cb71d8fa20 Bug 1281708: remove assert for unknown stun server transports. r=mjf
MozReview-Commit-ID: BNNM12fBV4I

--HG--
extra : rebase_source : a6b01e24d942940ff12fe3d6fd05e03c7bb9b6a6
2016-06-23 12:00:31 +02:00
Nathan Froyd
31c615bd95 Bug 1195477 - part 1 - use -no-integrated-as for clang builds on ARM, moz.build changes; r=glandium
We have a lot of assembly written assuming gas's conventions, which
clang's integrated assembler doesn't support.  Disable the integrated
assembler for those pieces of code.
2016-06-23 17:46:59 -04:00
Paul Adenot
378278ea83 Bug 1281402 - Uplift cubeb to revision 9a1d6ccd2. r=kinetik
MozReview-Commit-ID: 36jF493k7XW

--HG--
extra : rebase_source : ce0e2bf4c0a8ae671e0633b17a4339b9bea2e3b8
2016-06-22 15:12:58 +02:00
Glenn Randers-Pehrson
885a243e81 Bug 1275901 - Update in-tree libpng to version 1.6.23. r=seth 2016-06-09 12:05:00 -04:00
Paul Adenot
279fbfd34c Bug 1280280 - Update cubeb to 073c9f011114. r=kinetik
MozReview-Commit-ID: 8mARVNKAG7P
2016-06-16 14:52:51 +01:00
Paul Adenot
6145a952fe Bug 1280280 - Update media/libcube/update.sh to add cubeb_jack.cpp, and sort the list of files. r=kinetik
MozReview-Commit-ID: 5gwM71sotV2
2016-06-15 17:26:54 +01:00
Nils Ohlmeier [:drno]
1f4ba9256c Bug 1280259: clear the remote SSRC vector on a track. r=bwc
MozReview-Commit-ID: 9LtaqeiIQoY

--HG--
extra : rebase_source : e063a7965c9daabd7191cdbcadaaf7838032feb5
2016-06-15 16:33:43 +01:00