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

3785 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Kaspari adef18c336 Bug 1216529 - WebRTC: Request camera permission before accessing camera APIs. r=gcp
--HG--
extra : commitid : IefMhGbeKW0
extra : rebase_source : 1966ce69c4f7c7147dbea0e7cb2080ed42a5a442
2016-01-15 19:16:02 +01:00
Matthew Gregan 5b692e3491 Bug 1238420 - Report mp4parse-rust errors via Telemetry. r=rillian,vladan 2016-01-10 20:54:00 +13:00
Matthew Gregan ce8ce06139 Bug 1238420 - Update mp4parse-rust invocations in MP4Metadata to match CAPI changes. r=rillian 2016-01-10 20:54:00 +13:00
Ralph Giles 66f8ae8fac Bug 1238420 - Update MP4Rust gtest for CAPI changes. r=kinetik.
mp4parse_read() returns a variety of error codes now.

Call mp4parse_get_track_count() to verify the number
of parsed tracks.
2016-01-11 11:26:00 +13:00
Ralph Giles 43e659e3cc Bug 1238420 - Update byteorder to v0.4.2. r=kinetik
Rebase patches against the new upstream release.
No changes on the client side are necessary.
2016-01-11 11:01:00 +13:00
Matthew Gregan 483076eb11 Bug 1238420 - Update mp4parse-rust to 0.1.6. r=kinetik
Bump default version in the update script and run it against
the tagged v0.1.6 upstream repo.
2016-01-11 11:02:00 +13:00
Michael Froman 13a82c11bf Bug 1166832 - Add test to verify video (using capture stream) after renegotiation. r=bwc
--HG--
extra : transplant_source : I%AB%28%AA%D6%91%8F%CA5%8A%D9%0C%F2%8A%CD%B8m%DE%D7%05
extra : histedit_source : 1d30b92a3c6d128c24cfbb1f8778c665a6bb9eca
2016-01-13 20:59:52 -06:00
Jan-Ivar Bruaroey 0d8258e908 Bug 1232082 - fix removal of remote tracks to update receivers. r=jesup
--HG--
extra : transplant_source : %A5%E4%8BSEujxc7%7B%9D%C0%FFhb%1F%CC9%80
2016-01-05 19:51:52 -05:00
Jan-Ivar Bruaroey ddcdf769db Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : transplant_source : %BA%B7%0B%AD%EA%24%19R%93-%9F%CF%82%10%CE%8B%DC4%FB%15
2016-01-12 15:09:01 -05:00
Randell Jesup 366f31666c Bug 1226387: Add sanity check to RTCP header parser r=pkerr 2016-01-15 23:26:47 -05:00
Eric Rahm 4863f3e5ec Bug 1239866 - Remove signaling standalone tests. r=bwc 2016-01-15 12:18:39 -08:00
Nils Ohlmeier [:drno] 84c3a1de83 Bug 1237299: addedd missing address family to DNS lookup for proxies r=bwc
--HG--
extra : rebase_source : 3c699136033854c779e418f22d38cd11b784d2ef
2016-01-11 13:39:11 -08:00
Ryan VanderMeulen 330ca20363 Merge m-c to inbound. a=merge 2016-01-14 11:29:29 -05:00
Ryan VanderMeulen 974ce4c9cc Backed out changeset fbb19b60d24a (bug 1219339) for Windows XP crashtest permafail. a=backout 2016-01-14 11:27:40 -05:00
Randell Jesup 3a110e2974 Bug 1219339: switch GetStaticInstance to use IPC's Singleton<T> impl r=froyd 2016-01-14 00:16:49 -05:00
Nathan Froyd b83566b4a1 Bug 1222166 - use gcc/clang warning flags for clang-cl in moz.build files; r=glandium
This patch turns off a number of gcc/clang-specific warnings for
clang-cl as well, as clang-cl understands all the warning flags that
clang understands.  We currently don't turn on all the gcc/clang
warnings for clang-cl in configure, but that can be done separately, and
this patch addresses some pain points (particularly for cairo).
2015-11-05 16:05:26 -05:00
Phil Ringnalda 39b2d1946d Back out 3 changesets (bug 1232082) for causing a variety of Android webrtc failures including causing bug 1239200
CLOSED TREE

Backed out changeset 1c8afc8ea1c1 (bug 1232082)
Backed out changeset d8ec4008871e (bug 1232082)
Backed out changeset fa3363702d51 (bug 1232082)
2016-01-12 22:33:17 -08:00
Ralph Giles cb77a8b5fe Bug 1239078 - Update libopus to 1.1.2 release. r=kinetik
This release fixes two bugs:

- Resetting the encoder or decoder state with OPUS_RESET_STATE would
  disable some run-time selected architecture-specific optimizations.

- In hybrid mode discontinuous transmission (DTX) operation, the
  comfort noise above 8 kHz was incorrectly estimated and could
  oscillate in time.
2016-01-12 17:10:53 -08:00
Ralph Giles 7095f1cc1d Bug 1239078 - Bump libopus update script for 1.1.2. r=kinetik
New upstream release.

This fixes a unified build issue with MAX_PULSES and
incorporates our TonalityAnalysisState initializer patch.

Issues remain in the unified build with QA and
opus_custom_*coder_get_size declarations, so we still
need to build those separately.
2016-01-12 17:10:53 -08:00
Jan-Ivar Bruaroey d52f44ef17 Bug 1232082 - fix removal of remote tracks to update receivers. r=bwc
--HG--
extra : rebase_source : 5bbf19d6843654f6402e2779845729a1bec62de9
2016-01-05 19:51:52 -05:00
Jan-Ivar Bruaroey b3526e95e1 Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : rebase_source : fea25f937aca628960e665d9655c60806dd7e7f5
2016-01-12 15:09:01 -05:00
Wes Kocher cadac86336 Backed out 3 changesets (bug 1232082) for wpt bustage in rtcpeerconnection-idl.html
Backed out changeset ec89afa7163c (bug 1232082)
Backed out changeset 47de4d036349 (bug 1232082)
Backed out changeset a595577a8247 (bug 1232082)

--HG--
extra : commitid : 6KuHiKS94jA
2016-01-12 11:07:51 -08:00
Jan-Ivar Bruaroey 35b62a4704 Bug 1232082 - fix removal of remote tracks to update receivers. r=bwc
--HG--
extra : rebase_source : 79d2a719cf9bd19ef908330438c2cdfe4eb6a80e
2016-01-05 19:51:52 -05:00
Jan-Ivar Bruaroey 4a7de0b9d5 Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : rebase_source : ce468d0972aa79dc4abb3669d46d7e62f9128693
2016-01-04 12:46:21 -05:00
Tony Mechelynck [:tonymec] 8849dc24b6 Bug 1236937 - Use correct value for Pi in AAFilter.cpp. r=padenot
--HG--
extra : commitid : 4VN9ybE7dd3
2016-01-12 12:10:17 +01:00
Eric Rahm 1828042c1f Bug 1174972 - Add basic mozilla logging backend. r=froydnj,r=bwc,r=jduell 2016-01-05 13:05:19 -08:00
Phil Ringnalda 52aade6b43 Back out 3e168e5a04bf (bug 1174972) for build bustage
CLOSED TREE
2016-01-11 20:04:40 -08:00
Eric Rahm f8d0e8949c Bug 1174972 - Add basic mozilla logging backend. r=froydnj,r=bwc,r=jduell 2016-01-05 13:05:19 -08:00
Jean-Yves Avenard abeea93b9e Bug 1237907: [ffvpx] Enable AVX2 optimizations on Windows. r=kentuckyfriedtakahe 2016-01-11 17:55:50 +11:00
Jean-Yves Avenard 6040488a59 Bug 1237540: [ffvpx] P2. update ffvpx build config. r=kentuckyfriedtakahe 2016-01-11 17:55:49 +11:00
Jean-Yves Avenard e5202a3389 Bug 1237540: [ffvpx] P1. upgrade to FFmpeg n2.9-dev-2841-g369b161. r=kentuckfriedtakahe 2016-01-11 17:55:46 +11:00
Nils Ohlmeier [:drno] cc0ba97a71 Bug 895793: added interface type and link speed detection for Windows. r=bwc
--HG--
extra : rebase_source : 98293e939ff2f2c0c670c377d194fd93371f6c9b
2016-01-08 14:37:18 -08:00
Nicholas Nethercote 71ba19f700 Bug 1237151 (part 2) - Remove ignored qualifiers in WebRTC-relate code. r=jesup.
--HG--
extra : rebase_source : d61bf03c677bf90cc235168a5e6b82fb073a1598
2016-01-07 15:43:38 -08:00
Jean-Yves Avenard 54b9d64503 Bug 1237471. Fix VS2015 compilation. rpending=glandium 2016-01-07 16:08:35 +11:00
Matthew Gregan 1527ec8a56 Bug 1236977 - Default initialize IMMDevice temporary to avoid potential garbage CloseHandle on error. r=padenot 2016-01-07 17:53:55 +13:00
Jean-Yves Avenard 9f898cf704 Bug 1214462: P6. Fix ffvpx compilation on android x86 and FreeBSD. r=glandium 2016-01-06 23:03:53 +11:00
Jean-Yves Avenard 73fe68cab6 Bug 1214462: P2. Add mozilla build files to build ffvpx. r=glandium 2016-01-06 23:03:51 +11:00
Jean-Yves Avenard d330f1eaa6 Bug 1214462: P1. Add ffvpx source code. r=kentuckyfriedtakahe
Code was extracted from FFmpeg n2.8.2

Files needed found using the command ./configure --disable-everything --disable-protocols --disable-demuxers --disable-muxers --disable-filters --disable-programs --disable-doc --disable-parsers --enable-parser=vp8 --enable-parser=vp9 --enable-decoder=vp8 --enable-decoder=vp9 --disable-static --enable-shared --disable-debug --disable-sdl --disable-libxcb --disable-securetransport --disable-iconv --disable-swresample --disable-swscale --disable-avdevice --disable-avfilter --disable-avformat --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-videotoolbox --enable-asm --enable-yasm
2016-01-06 23:03:50 +11:00
Ralph Giles 87046baee5 Bug 1229475 - Fix unified build. r=cpearce
This was hacked in without fixing the update script to propagate it.

Put it back manually for now, and add two new conflicting files.
2016-01-05 09:11:21 -08:00
Ralph Giles 009523db50 Bug 1229475 - webrtc: Call opus tonality_analysis_init. r=jesup
This activates the asm optimizations in libopus 1.1.1 and later.
2016-01-05 09:11:19 -08:00
Ralph Giles 3510632385 Bug 1229475 - libopus: Patch out asm flags for run_analysis. r=jmspeex
Patch from upstream.

This still requires that the webrtc client code call the new
tonality_analysis_init() function before first use of the
TonalityAnalysisState struct.
2016-01-05 09:11:18 -08:00
Ralph Giles fec56dfc59 Bug 1229475 - Update libopus to 1.1.1 release. r=jmspeex
Result of running the update script against a checkout of
the opus v1.1.1 release tag.
2016-01-05 09:11:16 -08:00
Ralph Giles ea12cb1278 Bug 1229475 - Fix gen-sources for libopus 1.1.1. r=cpearce
The source makefiles now have variables containing numerals,
mostly for simd versioning.
2016-01-05 09:11:14 -08:00
Nicholas Nethercote a9f31c44eb Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium.
--HG--
extra : rebase_source : febc9aac7ec5e3699742e728065c370dcee4f0f3
2015-12-16 22:59:42 -08:00
Nicholas Nethercote 57bef6b196 Bug 1232219 (part 3) - Fix remaining -Wunused warnings. r=glandium.
--HG--
extra : rebase_source : 357474b4c7729b78a3030dfefd720aad4e1b2576
2015-12-16 22:57:51 -08:00
Gerald Squelart afb8874b81 Bug 1224371 - Upstream update patch. r=jya 2016-01-04 09:06:08 +01:00
Gerald Squelart f3bb18f40b Bug 1224371 - Cast uint8_t to uint32_t before shift. r=jya
Note: C-style cast because it is C code.
2016-01-04 09:05:47 +01:00
Jan-Ivar Bruaroey 38ee4c5f0c Bug 1230184 - add input parameter validation to setParameters. r=bwc
--HG--
extra : rebase_source : 184f1d2870e97d06706ea2e50520de39320b73b8
2015-12-31 10:32:25 -06:00
Jan-Ivar Bruaroey 5855c2732e Bug 1230184 - plumb setParameters down to JsepTrack. r=bwc, r=mrbkap
--HG--
extra : commitid : 4IT4rENtDxn
extra : rebase_source : 72aef2d743c0afe6be8031226c11d9891b2a4ef7
extra : amend_source : 567f1abc770a0fcf04748b251ef43aaed9f0d99f
2015-12-31 10:32:24 -06:00
Byron Campen [:bwc] 56058a104b Bug 1230197: Plumb negotiated simulcast down to webrtc.org. r=jesup
--HG--
extra : commitid : 4QvkDnISm1r
extra : rebase_source : 829d3123679b5d0c6d4e0bc0c8704086aabff4b0
2015-11-11 10:11:55 -06:00
Randell Jesup e527489ee4 Bug 1234571: unregister encoded-frame callback when releasing codec databases r=pkerr 2015-12-31 16:36:39 -05:00
Phil Ringnalda 33c7af5cab Back out 6 changesets (bug 1214462) for Win PGO build bustage, reftest failures and mochitest failures
CLOSED TREE

Backed out changeset 803dba2adb27 (bug 1214462)
Backed out changeset e1b318c9c1db (bug 1214462)
Backed out changeset 3a421412b161 (bug 1214462)
Backed out changeset 2b388a17f4be (bug 1214462)
Backed out changeset 6a290f27f9bc (bug 1214462)
Backed out changeset 3dbf22bf17a4 (bug 1214462)
2015-12-30 20:37:08 -08:00
Jean-Yves Avenard 95d58839d3 Bug 1214462: P6. Fix ffvpx compilation on android x86 and FreeBSD. r=glandium 2015-12-31 13:17:26 +11:00
Jean-Yves Avenard f266d7b432 Bug 1214462: P2. Add mozilla build files to build ffvpx. r=glandium 2015-12-31 13:17:21 +11:00
Jean-Yves Avenard 7f036e4994 Bug 1214462: P1. Add ffvpx source code. r=kentuckyfriedtakahe
Code was extracted from FFmpeg n2.8.2

Files needed found using the command ./configure --disable-everything --disable-protocols --disable-demuxers --disable-muxers --disable-filters --disable-programs --disable-doc --disable-parsers --enable-parser=vp8 --enable-parser=vp9 --enable-decoder=vp8 --enable-decoder=vp9 --disable-static --enable-shared --disable-debug --disable-sdl --disable-libxcb --disable-securetransport --disable-iconv --disable-swresample --disable-swscale --disable-avdevice --disable-avfilter --disable-avformat --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-videotoolbox --enable-asm --enable-yasm
2015-12-31 13:17:20 +11:00
Ehsan Akhgari 557cbedf75 Bug 1233983 - Make libvpx build with clang-cl; r=rillian
This has been submitted upstream:
https://chromium-review.googlesource.com/#/c/319392/
2015-12-30 18:33:41 -05:00
Mike Hommey ef2eee800c Bug 1235675 - Add the source directory to the -include directive in media/libsoundtouch/src/moz.build. r=mshal
This currently works in the recursive make backend because make readjusts with
the vpath to the source directory, but for other backends (like CompileDB),
the lack of clear path hurts. In fact, CompileDB currently reports the path as
being in the objdir.
2015-12-31 07:46:04 +09:00
Randell Jesup 913ef0d5c0 Bug 1210170: Add RID header extension send/receive/query support r=pkerr 2015-12-10 15:42:24 -05:00
Gerald Squelart 91033abdfe Bug 1232069 - Check box sizes before alloc&copy. r=jya 2015-12-29 13:12:14 -05:00
Chris Peterson f3abb8a9e8 Bug 1235235 - Fix -Wimplicit-fallthrough warning in media/mtransport/. r=ekr
media/mtransport/transportlayerdtls.cpp:872:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 22:03:13 -08:00
Andreas Pehrson bb96f012d0 Bug 1232046 - Do not set a too low send bitrate in VideoConduit. r=jesup
--HG--
extra : commitid : JQgdklGkMRD
2015-12-11 16:27:33 -05:00
Nils Ohlmeier [:drno] c69876f082 Bug 1229633: hash interface names on Windows. r=ekr
--HG--
extra : rebase_source : e76fc7866c70242ba957bd2c84c42c2f4fc2f592
2015-12-21 23:13:44 -08:00
Jean-Yves Avenard b919d97460 Bug 1234778: Mark all audio frames as keyframes. r=kentuckyfriedtakahe 2015-12-24 09:05:50 +11:00
[:ng] 95eabf5454 Bug 1196542 - share only windows with non-zero area. r=pkerr 2015-12-11 09:02:00 -08:00
Jan Beich b9ba40cc6b Bug 1231117 - Use xlocale on DragonFly as well. r=jesup
--HG--
extra : transplant_source : %7F%8D%B37%8B%0B%22%99%8F%A5%81%ECS%C5%ED%24%94%21%1F%8B
2015-12-03 12:32:52 +00:00
Jan Beich 59274cab04 Bug 1231109 - Drop FreeBSD checks for unsupported versions. r=jld r=jesup
--HG--
extra : transplant_source : P%FC%E3%29%07%05%D4%8DA%A7%89%90%26%B4%D5%E2%60%89%0C%B0
2015-12-03 12:28:22 +00:00
Ralph Giles 51a6651735 Bug 1231169 - report rust mp4parse track status in telemetry. r=kinetik,vladan 2015-12-11 12:51:00 -08:00
Chris Pearce 966cf53003 Bug 1232527 - Call into WMF PDM to determine if WMF can decode instead of using GMPVideoDecoderTrialCreator. r=jwwang
Resurrect WMFDecoderModule::HasAAC() and HasH264(), and use those in
MediaKeySystemAccess.cpp to figure out whether we gmp-clearkey can decode,
rather than assuming Vista and later is always able to decode, as that's not
a valid assumption; Vista may not have the required Platfor Update installed,
or we may be on Windows N or KN without the Media Feature Pack.

--HG--
extra : commitid : 2QrVAGQ5OJa
extra : rebase_source : 8ad6e5c5f87cf2b2489f049543c021723927901a
2015-12-15 14:50:59 +13:00
Jan-Ivar Bruaroey 1eb7b6baab Bug 1198345 - Split moar Hello Telemetry values from general WebRTC. r=jesup
--HG--
extra : transplant_source : %D3%26W%10y%14%B1%2B%94%E2%AFQ%85C%C6%A2%7E%F8%C8v
2015-12-10 23:38:02 -05:00
Nils Ohlmeier [:drno] 2e19c2bfed Bug 1219557 - don't pair candidates from different reserved networks. r=mt r=bwc
--HG--
extra : transplant_source : %19xT%C2%94C%92%8C%F7%16%FA%5C%CE%3A%C5A%DB%D5%B1%29
2015-12-04 20:43:15 -08:00
Byron Campen [:bwc] ae07995683 Bug 1231196: Fix init of PeerConnectionImpl::mThread for unit-tests and similar. r+drno
--HG--
extra : commitid : 8k9GcSpg0VM
extra : rebase_source : 46e5e41f8fd8565f73177a39a2428acd28efc12c
2015-12-08 16:39:43 -05:00
Jan Beich b0cfac53cd Bug 1231106 - Make BSDs fall-through to ASSERT as well. r=jesup
--HG--
extra : transplant_source : %E9%AA%E9%B4D-%1FV%80%AF%EF%B0%A6%DEq%ADS%3B%FD%CB
2015-12-03 12:18:29 +00:00
Alfredo Yang 7cc22cdf3a Bug 1224887: add OpenMax IL headers. r=jya 2015-12-08 15:57:46 +05:30
Byron Campen [:bwc] bc30932b74 Bug 1192390 - Part 2: Simulcast and RID negotiation. r=mt
--HG--
extra : transplant_source : %D1%CAj%05%C7%7B%92%D9%CDV%24j%FF%CB%24B%D4%03%92%5E
2015-11-02 09:32:16 -06:00
Byron Campen [:bwc] dac8417d25 Bug 1192390 - Part 1: Lay architectural groundwork for simulcast negotiation. r=mt r=jesup
--HG--
extra : transplant_source : %CEG%9Fm%F3%20%9CH%F5%F5r%A2s%D7%C9%00%A2%B8G%25
2015-10-21 17:07:08 -05:00
Nils Ohlmeier [:drno] b912f1ee3a Bug 1006809 - update triggered check behavior to RFC 5245. r+bwc r=mjf
--HG--
extra : transplant_source : q%BDT%0A%29%7B%7C%A0%92%B1%AE%81%AA%EE%94%9B%A0b3%A7
2015-11-27 23:50:14 -08:00
Jacek Caban 317f57fccc Bug 1228947 - mingw fixup. 2015-12-07 12:21:45 +01:00
Chris Peterson 46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Chris Pearce 9654972991 Bug 1230026 - Support 'webm' initDataType format for MP4 ClearKey initData. r=gerald 2015-12-04 07:24:11 +13:00
Gian-Carlo Pascutto cb4e1a83eb Bug 1228788 - Force QT device release to happen on the main thread. r=jesup 2015-12-03 15:11:15 +01:00
Gerald Squelart 41cab4de4a Bug 1224361 - Upstream update patch - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart 6dbc202a8a Bug 1224361 - Clamp QIndex also in abs-value mode - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart 8267da9745 Bug 1224363 - Upstream update patch - r=rillian 2015-12-03 14:14:45 +11:00
Gerald Squelart 861f436e5e Bug 1224363 - Clamp seg_lvl also in abs-value mode - r=rillian
Even when the segment feature data is in absolute mode, it is still read as a
6-bit value with an added sign, so it could have values between -63 and +63.
Later, this signed value is used without checks as a filter level, which is
used to access an entry in an array of size MAX_LOOP_FILTER+1=64.

This patch just extends the existing clamping (that was done only to relative-
mode data) to absolute mode data, before it is blindly 'memset' in
lfi->lvl[seg][0], which was where the out-of-bound filter_value was read in
subsequent vp8_loop_filter_row_simple.
2015-12-03 14:14:45 +11:00
Ralph Giles a3ea7052ff Bug 1229615 - Catch panics in mp4parse_get_track_info. r=kinetik
Wrap calls in a thread the way we do for read_mp4().

Patch from upstream.
2015-12-02 17:22:01 -08:00
Ralph Giles 3c67e8b631 Bug 1229615 - Conditionalize mp4parse.h export. r=kinetik 2015-12-02 17:21:54 -08:00
Matthew Gregan dee904221c Bug 1229615 - Compare track counts between rust and stagefright. r=rillian
Use the new capi calls in rust mp4parse v0.1.5 to query
audio and video track counts and compare with what we
get from stagefright.
2015-12-02 17:21:49 -08:00
Ralph Giles be8ee9898b Bug 1229615 - Don't reject files without edit lists. r=kinetik
Patch from upstream.
2015-12-02 17:21:41 -08:00
Wes Kocher ef60ffb91e Backed out 3 changesets (bug 1229615) for crashtest crashes in 0-timescale.html CLOSED TREE
Backed out changeset aa313047a6de (bug 1229615)
Backed out changeset 80aa7ecf9456 (bug 1229615)
Backed out changeset d7bf9994e1b0 (bug 1229615)

--HG--
extra : commitid : 782ajuO9h9t
2015-12-02 15:00:42 -08:00
Ralph Giles fef6163774 Bug 1229615 - Conditionalize mp4parse.h export. r=kinetik 2015-12-02 12:22:09 -08:00
Matthew Gregan 6b03728600 Bug 1229615 - Compare track counts between rust and stagefright. r=rillian
Use the new capi calls in rust mp4parse v0.1.5 to query
audio and video track counts and compare with what we
get from stagefright.
2015-12-02 12:19:29 -08:00
Ralph Giles 8c0e42e151 Bug 1229615 - Don't reject files without edit lists. r=kinetik
Patch from upstream.
2015-12-02 12:25:00 -08:00
Bogdan Postelnicu 1bb9612250 Bug 1227481 - added a memset on aec. r=jesup 2015-12-02 05:05:00 +01:00
Nigel Babu 38aea49239 Backed out changeset df07a5d14903 (bug 1224887) for build bustage
Backed out changeset 0bc40a9a5804 (bug 1224887)
2015-12-02 14:51:20 +05:30
Alfredo Yang 0df87b95e9 Bug 1224887: add OpenMax IL headers. r=jya, with actual patch
CLOSED TREE

--HG--
extra : amend_source : 2daf9a39d8cdc1cc972d093faf5edd4ff1c14de6
2015-12-02 13:52:56 +05:30
Chris Pearce 373cfa1365 Bug 1229508 - Support current and previous GMP_API_DECRYPTORs. r=gerald
To allow GMPs time to update to new GMPDecryptor versions, we support the
latest GMPDecryptor version, and the previous.

In order to support a consistent interface to Gecko, we adapt the previous
GMPDecryptor version to the latest in the GMP child process.  So Gecko always
thinks it's talking to the latest version.

We also make gmp-fake deliberately support the previous GMPDecryptor version,
to ensure this code path remains tested.
2015-12-02 15:37:09 +13:00
Ralph Giles a0a2e12a73 Bug 1229612 - Update rust mp4parse to v0.1.5. r=kinetik
Adds query functions for track metadata.
2015-12-01 17:33:00 -08:00
Jean-Yves Avenard 87d0bbae43 Bug 1226842: Error rather than asserting when encountering error in sample table. r=gerald 2015-12-02 10:39:50 +11:00
Jean-Yves Avenard 9191c537d3 Bug 1229134: Check that memory allocation actually succeeded. r=gerald 2015-12-02 10:39:49 +11:00
Matthew Gregan 9a273aba8d Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Jan Beich 77930e373b Bug 1228230 - Rely more on top-level configure auto-detection. r=qdot
--HG--
extra : commitid : zmjwDqqQv6
2015-11-27 07:37:33 +00:00
Gerald Squelart a9a0ca3af0 Bug 1210319 - p3. Lowered useless log level - r=jya
--HG--
extra : commitid : 3l4NCSLhsWC
2015-12-01 13:46:07 -08:00
Gerald Squelart 23f5557d82 Bug 1210319 - p2. Minor intf clean-up, RIP trex - r=rillian
Made some class interfaces a bit more "C++11"-ish, to protect against some
possible issues.
Also removed 'trex', which was only used by code removed in previous patch.

--HG--
extra : commitid : FkTiMJ5sZLf
2015-12-01 13:45:55 -08:00
Gerald Squelart f8723d92f6 Bug 1210319 - p1. Removed unused code - r=rillian
--HG--
extra : commitid : 6LU02OBJDFK
2015-12-01 13:45:42 -08:00
Jean-Yves Avenard 7ae8605a51 Bug 1229339: Partial revert of commit c15c9f37f. r=cpearce
Replacement of nsTArray<MediaByteRange> by MediaByteRangeSet in the MoofParser was incorrect.
2015-12-02 08:35:57 +11:00
Alexandros Chronopoulos 6aab2674ce Bug 1202087 - Filter out non-shareable application for win8 or greater. r=jesup 2015-11-11 14:01:27 +02:00
Chris Pearce d6743b5aff Bug 1186406 - Copy input to ClearKey's decoder, so we can return its containing shmem earlier. r=gerald
We're failing in the "Very rough kill-switch" case in
GMPVideoDecoderParent::Decode() we find that too many shmems are in use when we
come to send a "Decode" message to the GMP, and that causes an error which
percolates up to cause the test failure.

This patch changes gmp-clearkey to copy the input encrypted and compressed
sample and immediately return the shmem to the parent process. We are
copying the data anyway when we decrypt, so we can rejigg things so that we
don't actually end up doing a second copy.
2015-12-01 18:13:58 +13:00
EKR 764814bceb Bug 1227781 - Fix crash with bogus STUN parameters. r=bwc 2015-11-30 12:15:19 -08:00
Jean-Yves Avenard 5b14282671 Bug 1227396: P14. Reduce memory usage of sample index for audio tracks. r=cpearce
All samples in an audio track are keyframes. As such, use block on 128 samples instead.
2015-11-30 11:36:39 +11:00
Jean-Yves Avenard bb0aacbf79 Bug 1227396: P13. Refactor how MP4 buffered range is calculated. r=cpearce
We now use an index of samples made of block of samples delimited by keyframes. The search is performed using a binary search. This allows to quickly find which blocks are found within the media cache.
On a 8 core mac pro, this leads to a 67% improvement on CPU time spent playing a long MP4 video (from 112s CPU to 45s CPU)

The optimisation is only possible if all mp4 data chunks are continuous (which they almost always are)
2015-11-30 11:29:37 +11:00
Jean-Yves Avenard 219b4520a6 Bug 1227396: P10: Remove stray function definition. r=cpearce 2015-11-30 11:29:35 +11:00
Jean-Yves Avenard fdf27ff498 Bug 1227396: P9. Remove unnecessary monitor. r=cpearce
The Index and MoofParser are now only used via the MP4Demuxer which is guaranteed to always be called on the same taskqueue.
2015-11-30 11:29:35 +11:00
Jean-Yves Avenard a7975b198f Bug 1227396: P8. Replace MediaByteRange with Interval<int64_t> typedef. r=cpearce
It's now okay to simplify.
2015-11-30 11:29:34 +11:00
Jean-Yves Avenard c8c275cee2 Bug 1227396: P7. Replace nsTArray<MediaByteRange> with dedicated MediaByteRangeSet object. r=cpearce 2015-11-30 11:29:34 +11:00
Jean-Yves Avenard 70f2124283 Bug 1227396: P2. Rename some MediaByteRange methods. r=cpearce
Will facilitate the replacement of MediaByteRange by Interval<int64_t>
2015-11-30 11:29:30 +11:00
Nigel Babu 80fe8e107c Backed out changeset 8631caf756eb (bug 1225703) for Cpp bustage on OS X 10.10 debug
--HG--
extra : amend_source : 0bacde9a70f022e574c638e207d4786a0572ef7b
2015-11-27 12:20:58 +05:30
Chris Pearce efc8956d13 Bug 1228461 - Implement keyids initData type for ClearKey. r=gerald 2015-11-27 17:13:40 +13:00
Chris Pearce ad73151891 Bug 1228461 - Don't assert we must have keys for keyIds we've seen in ~ClearKeySession(). r=gerald 2015-11-27 17:13:35 +13:00
Matthew Gregan 44147bd7ac Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Carsten "Tomcat" Book b9c3b3b73f Backed out changeset 5ecd639be1a4 (bug 1202087) for bustage 2015-11-26 12:44:02 +01:00
Alexandros Chronopoulos aeef183f90 Bug 1202087 - Filter out non-shareable application for win8 or greater. r=jesup 2015-11-11 14:01:27 +02:00
Mike Hommey b5c0f9f920 Bug 1224452 - Quote passthru variables. r=gps
Ideally, we should properly make and shell quote everything we print out
in makefiles, but that's a can of worms I don't want to open just yet. So
I'll limit myself to just passthru variables.
2015-11-26 08:51:02 +09:00
Mike Hommey 6a40d83fb7 Bug 1224452 - Straighten up a couple things in some moz.builds. r=gps
We're going to change how e.g. CFLAGS are printed out in backend.mk, and
to fit that model, the data in the corresponding moz.build variables
need to be straightened up.
2015-11-26 08:50:52 +09:00
Paul Kerr [:pkerr] c4670b9125 Bug 1226347 - Part 2: Allow control of AEC via prefs. r=rjesup 2015-11-24 08:32:11 -08:00
Randell Jesup 7d22cc9c0c Bug 1226347: Import cherry-pick of AEC changes from 43->48 (delay-agnostic AEC). r=pkerr 2015-11-23 11:11:58 -05:00
Wes Kocher dba42704d1 Backed out 2 changesets (bug 1226347) for build bustage CLOSED TREE
Backed out changeset da34ad5d6957 (bug 1226347)
Backed out changeset 63d13b6b43ee (bug 1226347)

--HG--
extra : commitid : 4yYcYyidto4
2015-11-24 09:02:03 -08:00
Paul Kerr [:pkerr] 46b05602ec Bug 1226347 - Part 2: Allow control of AEC via prefs. r=rjesup 2015-11-24 08:32:11 -08:00
Randell Jesup 05d80d2f86 Bug 1226347: Import cherry-pick of AEC changes from 43->48 (delay-agnostic AEC). r=pkerr 2015-11-23 11:11:58 -05:00
Gerald Squelart ed2eee2066 Bug 1227052 - Use delete[] for sinf->IPMPData. r=jya
--HG--
extra : rebase_source : d8197fdc08c009dedd25f83ef2a7fc68356043a7
2015-11-24 08:46:54 +01:00
Glenn Randers-Pehrson 60a6d95d13 Bug 1224244 - Update in-tree libpng to version 1.6.19. r=seth 2015-11-23 20:20:00 +01:00
Wes Kocher 6b785bc5a4 Backed out changeset 3f51676191a6 (bug 1225703) for cpp unittest failures on at least Windows CLOSED TREE
--HG--
extra : commitid : CP7XWRFUyfV
2015-11-22 23:00:58 -08:00
Matthew Gregan 43f3a0941b Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-23 15:12:05 +13:00
Chris Pearce f74bb6b010 Bug 1226430 - Remove alg from ClearKey license parser. r=gerald 2015-11-23 09:58:51 +13:00
Boris Zbarsky 35f1292e72 Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib 2015-11-21 12:15:11 -05:00
Randell Jesup 9cf12febe9 Bug 1220493: clean up validation of RTP headers r=pkerr 2015-11-19 11:49:25 -05:00
Landry Breuil f468ad9584 Bug 1226146: fix sndio audio_device backend after webrtc 43 landing in bug 1198458 r=jesup NPOTB 2015-11-19 09:48:26 -05:00
Byron Campen [:bwc] d43453c07e Bug 1175609 - Bring onnegotiationneeded in line with spec. r=mt
--HG--
extra : transplant_source : %D3Z%87AP%CC%BA%AA%0B%27z%A9bh%01%0A3%40%C7U
2015-11-16 17:05:39 -06:00
Randell Jesup d116f80e84 Bug 1198458: Fix typo in merges in OMX rs=bustage,kwierso
on a CLOSED TREE
2015-11-18 15:55:24 -05:00
Jan Beich 16d38a8bc6 Bug 1198458 Unbreak build on BSDs by fixing non-POSIX thread includes/usage. r=jesup
on a CLOSED TREE
2015-11-18 15:21:51 -05:00
Randell Jesup 9c83bc8f96 Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports.  Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Randell Jesup 1d652361f7 Bug 1198458: Webrtc updated to branch 43; pull made 2015-09-29 09:00AM PDT rs=jesup
https://chromium.googlesource.com/external/webrtc
git checkout -b my_branch refs/remotes/branch-heads/43
commit 6979b024d7cebfdcd1e8f66da59ea157bbc9e47e (I believe)

--HG--
rename : media/webrtc/trunk/webrtc/build/tsan_suppressions_webrtc.cc => media/webrtc/trunk/webrtc/build/sanitizers/tsan_suppressions_webrtc.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/fft4g.c => media/webrtc/trunk/webrtc/common_audio/fft4g.c
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/ring_buffer.c => media/webrtc/trunk/webrtc/common_audio/ring_buffer.c
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/ring_buffer.h => media/webrtc/trunk/webrtc/common_audio/ring_buffer.h
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/ring_buffer_unittest.cc => media/webrtc/trunk/webrtc/common_audio/ring_buffer_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_tests.isolate => media/webrtc/trunk/webrtc/modules/audio_coding/audio_codec_speed_tests.isolate
rename : media/webrtc/trunk/webrtc/modules/audio_coding/neteq/test/neteq_opus_fec_quality_test.cc => media/webrtc/trunk/webrtc/modules/audio_coding/neteq/test/neteq_opus_quality_test.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/analog_agc.c => media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/analog_agc.c
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/analog_agc.h => media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/analog_agc.h
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/digital_agc.c => media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/digital_agc.c
rename : media/webrtc/trunk/webrtc/system_wrappers/source/system_wrappers_unittests.isolate => media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_unittests.isolate
2015-11-18 15:03:22 -05:00
Ralph Giles e416737ae7 Bug 1225221 - vpx: allow 8k video. r=kinetik
Result of running update.sh with the new limit.
2015-11-16 11:10:00 -08:00
Ralph Giles 8f6696f4d2 Bug 1225221 - vpx: Allow 8k video in update.sh. r=kinetik
Raise the allowed frame size limit to allow 8k video
per gecko bug 1222145.
2015-11-16 11:09:00 -08:00
Ralph Giles e37a108abb Bug 1225217 - vpx: restore linux avx2 code in libvpx. r=kinetik
revert bug 1063356 part 5 now that all continuous integration
builds have sufficiently recent toolchains.
2015-11-16 10:58:00 -08:00
Landry Breuil 679a3084dd Bug 911450: followup, fix CriticalSectionScoped scope NPOTB r=jesup 2015-11-17 19:05:52 +01:00
Carsten "Tomcat" Book a22ff2640a Merge mozilla-central to mozilla-inbound 2015-11-17 12:33:46 +01:00
Carsten "Tomcat" Book 1cf9b8b2ab merge mozilla-inbound to mozilla-central a=merge 2015-11-17 12:26:16 +01:00
Landry Breuil 3f9b5a64be Bug 911450: webrtc sndio audio_device backend r=jesup
Most of the code originally from Alexandre Ratchov <alex@caoua.org>
2015-11-16 23:14:16 +01:00
Nils Ohlmeier [:drno] 1d8c0abcc0 Bug 1221837 - Accept hard coded codec numbers without rtpmaps. r=bwc
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudio.html => dom/media/tests/mochitest/test_peerConnection_basicAudioPcmaPcmuOnly.html
extra : rebase_source : ca8ab16272e2b3fc58019518d3d31e43430e7283
2015-11-15 23:26:46 -08:00
David Anderson 8e086a182c Remove Gonk usage of ImageContainer::CreateImage. (bug 1222910, r=sotaro) 2015-11-17 00:09:01 -08:00