Commit Graph

4974 Commits

Author SHA1 Message Date
Wes Kocher
dac8dc0c7b Merge inbound to central, a=merge
MozReview-Commit-ID: 96co4Bbby7W
2017-03-07 16:40:44 -08:00
Michael Layzell
1957fbfa92 Bug 1331434 - Part 3: Return early after throwing an error in PeerConnectionImpl::Initialize, r=bwc
MozReview-Commit-ID: AU2V0dtmcLO
2017-03-07 19:06:48 -05:00
Joel Maher
43d997b5a3 Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot
MozReview-Commit-ID: C7xWOE0OwIK
2017-03-07 13:06:45 -05:00
Randell Jesup
bd828a2434 Bug 1337810: use sender SSRC for receivers r=drno
MozReview-Commit-ID: 1ErpaFbU6pZ
2017-03-07 16:24:00 -05:00
Carsten "Tomcat" Book
087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Alfredo.Yang
c178f4e8ec Bug 1343793 - update rust mp4parser. r=kinetik
MozReview-Commit-ID: GGfv911o5Rb

--HG--
rename : third_party/rust/bitreader/LICENSE => third_party/rust/bitreader/LICENSE-APACHE
extra : rebase_source : a60a623af8465fe2220c5294f60f43f75a8513ec
2017-03-07 09:30:48 +08:00
Alfredo.Yang
b2fd41c814 Bug 1343793 - use i64 instead of u64 in presentation time. r=kinetik
MozReview-Commit-ID: ECngVxPiYEl

--HG--
extra : rebase_source : e9b428e04910a36dfaf5f19c48eb453a9b6e9898
2017-03-03 11:09:47 +08:00
Byron Campen [:bwc]
408ae2fda0 Bug 1342523 - Part 3: Remove old Telemetry probes. r=drno
MozReview-Commit-ID: CkwIMn9Y6sJ

--HG--
extra : rebase_source : 9a6eb6f9d720392de352c6df8c68a17b40dade40
2017-02-24 15:07:08 -06:00
Byron Campen [:bwc]
3be4ec69b5 Bug 1342523 - Part 2: Add some better ICE duration telemetry. r=bsmedberg,drno
MozReview-Commit-ID: 7qRd1v6rUHl

--HG--
extra : rebase_source : 0c5bbdd47f719226b29660d59bb283c530118a8a
2017-02-24 15:03:49 -06:00
Byron Campen [:bwc]
42465ae6db Bug 1342523 - Part 1: Clean up how controlling/offerer is specified. r=drno
MozReview-Commit-ID: D8qPAPUZC1J

--HG--
extra : rebase_source : dec5598ee2edd9168bd5c93be222cc409a7db096
2017-02-24 14:05:27 -06:00
Wes Kocher
bfc6ee87c5 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7cTf6LvHTEo
2017-03-07 16:44:35 -08:00
Daniel Holbert
538d0a5aad Bug 1345186: Suppress -Wunused-function build warnings in third-party libstagefright C code. r=mshal
MozReview-Commit-ID: EO0XTMTdyoG

--HG--
extra : rebase_source : f5e309f28a9b6358d78668172fcf2d71bd130f17
2017-03-07 15:02:45 -08:00
Tim Huang
fc6e097c7a Bug 1337893 - Part 4: Updating whole gecko to make all callers of DNS using correct originAttributes. r=baku
MozReview-Commit-ID: D6Vp8ANSzLI

--HG--
extra : rebase_source : f3608b09835040e4a4f8e7675aa53d003f298d32
2017-02-15 10:39:40 +08:00
Daniel Holbert
a6c2851e3e Bug 1344812: Remove variable "sessionId" from lambda-captures where it's not used, in ClearKeySessionManager.cpp. r=cpearce
MozReview-Commit-ID: IMdIBFmgwmv

--HG--
extra : rebase_source : c71f7910dcea9dbd9a16ef463c5983069c90f0b7
2017-03-06 10:52:09 -08:00
Nico Grunbaum
f587b4fa3f Bug 1325173 - read full RtpStreamId when parsing RTP header extensions. r=drno
MozReview-Commit-ID: CHkqA0MM3fx

--HG--
extra : rebase_source : 84c0e85c9f214f1bc7403256d8c2d80809305e13
2017-03-05 23:37:51 -08:00
Chris Pearce
756932ea4e Bug 1341894 - Correct encryption subsamples in AVCC -> AnnexB conversion. r=jya
This menas we can have GMPVideoDecoder's AVCC -> AnnexB conversion done by the H264Converter, and
simplify the code in WidevineVideoDecoder.

MozReview-Commit-ID: 3HT5VXth6LL

--HG--
extra : rebase_source : b840489edafa5dc981ba44f722d92083a40e34cd
2017-02-23 11:00:28 +13:00
Nils Ohlmeier [:drno]
41b62a7872 Bug 1341374: ensure mtransport refcounting is happening on the same thread r=jesup
MozReview-Commit-ID: 6Q3Wc1dIfnR

--HG--
extra : rebase_source : 29c73b5ac8b23d60df7946b993efa3542316bb5e
2017-02-23 21:57:50 -08:00
Wes Kocher
bd0bfddf8e Merge m-c to inbound, a=merge
MozReview-Commit-ID: Fypud50dqYw
2017-03-02 15:03:11 -08:00
Wes Kocher
e447319b94 Merge inbound to central, a=merge
MozReview-Commit-ID: DuLPg9KE8Ci

--HG--
rename : browser/components/extensions/ext-theme.js => toolkit/components/extensions/ext-theme.js
rename : browser/components/extensions/schemas/theme.json => toolkit/components/extensions/schemas/theme.json
rename : browser/components/extensions/test/browser/browser_ext_themes_chromeparity.js => toolkit/components/extensions/test/browser/browser_ext_themes_chromeparity.js
rename : browser/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js => toolkit/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js
rename : browser/components/extensions/test/browser/browser_ext_themes_lwtsupport.js => toolkit/components/extensions/test/browser/browser_ext_themes_lwtsupport.js
2017-03-02 14:57:41 -08:00
Randell Jesup
c5f6a79a17 Bug 1337777: ensure mSend/RecvStream access is locked r=bwc
MozReview-Commit-ID: 5wBkKheve2K
2017-03-02 15:11:28 -05:00
Randell Jesup
f709468851 Bug 1337777: if no receive-SSRC was signaled for video, on the first packet reset the VideoReceiveStream r=bwc
Note that this stumbles over the use of the PCHandle as a global when
initializing the OpenH264 gmp plugin.

MozReview-Commit-ID: 7GEvIwwsitk
2017-03-02 15:11:22 -05:00
Randell Jesup
1ce411e0e1 Bug 1342727: Handle all bitrates in VideoConduit as bps, instead of mix of kbps and bps r=drno
MozReview-Commit-ID: CQrvswMkh7G
2017-03-02 15:10:13 -05:00
Carsten "Tomcat" Book
614b0dd569 Merge mozilla-central to mozilla-inbound 2017-03-02 14:06:01 +01:00
Alex Chronopoulos
b232ff8649 Bug 1343780 - Update cubeb from upstream to 0753297. r=kinetik
MozReview-Commit-ID: Byuw5tH6wjs
2017-03-02 13:45:08 +02:00
Jean-Yves Avenard
c3a4683804 Bug 1342808: Ignore user data track. r=gerald
That's the 'udta' box. They serve no purpose as far as we're concerned and stagefright handling of it is buggy.

MozReview-Commit-ID: Af6wCpq2vZr

--HG--
extra : rebase_source : 880fe00c7b51700a8b9272063cedc4e9c44d9007
2017-02-27 18:41:55 +01:00
Alfredo.Yang
e95865db72 Bug 1342852 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: 5GzgpfPqMD8

--HG--
extra : rebase_source : 716bb6df434acc245721d15a7ee14c5bfae0f44a
2017-03-01 16:52:46 +08:00
Wes Kocher
9746f81e53 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FzykkWPQCrq

--HG--
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
2017-03-01 17:48:44 -08:00
Alfredo.Yang
69731f92d5 Bug 1341967 - remove MOZ_RUST_MP4PARSE. r=kinetik
MozReview-Commit-ID: SgTlIo8wEi

--HG--
extra : rebase_source : 263a6cfcf50ee3582f3dc1bfc43d4fa0dcc00800
2017-03-01 14:44:42 +08:00
Carsten "Tomcat" Book
b43c07a10c Merge mozilla-central to mozilla-inbound 2017-03-01 16:39:27 +01:00
Carsten "Tomcat" Book
3b3f4c17a2 merge mozilla-inbound to mozilla-central a=merge 2017-03-01 11:40:59 +01:00
Randell Jesup
6f01cb08c1 Bug 1342732: Adjust ANY11P16 r=sotaro
MozReview-Commit-ID: ARnj1K5o2LM
2017-02-28 23:31:47 -05:00
Randell Jesup
b4b1d2146e Bug 1342730: clean up MipsCpuCaps r=sotaro
MozReview-Commit-ID: 2EwQHcN8gfF
2017-02-28 23:20:50 -05:00
Benjamin Smedberg
b0dd6ff594 Bug 1332639 - Stop building the media/mtransport/testlib library which isn't used, r=dminor
MozReview-Commit-ID: 2tM8ftLBDpi

--HG--
extra : rebase_source : 0730f464b5cbd63d0a4e2b3d7c56b55212db7466
2017-02-27 13:07:55 -05:00
Gerald Squelart
bcdfea341d Bug 1343156 - Remove unnecessary MP4Metadata::HasCompleteMetadata - r=jya
MP4Metadata::Metadata() contains the same code at the beginning, so calling
HasCompleteMetadata() is unnecessary, so we should just remove it completely.

(Except to get a better error message, but this will be reinstated in an
upcoming bug.)

MozReview-Commit-ID: 2C3GI5fE0Ja

--HG--
extra : rebase_source : 2bdb6199222dcb0ca4012121a3fd4694b440be3e
2017-02-27 10:06:45 +11:00
Nils Ohlmeier [:drno]
e4c43ec7d3 Bug 1343640: dump RT(C)P as raw hex into log files. r=bwc
MozReview-Commit-ID: 5vNitjQJmih

--HG--
extra : rebase_source : ff49349423419cf8a568fd3dcd96f2421a880fad
2017-03-01 23:22:36 -08:00
Nils Ohlmeier [:drno]
62d88014e0 Bug 1335966: skip refreshing ICE cosent for streams with no consent context. r=bwc
MozReview-Commit-ID: 91aZIMdGBAQ

--HG--
extra : rebase_source : 4cf76f2344fe74ed026e1029753a45a3203f072a
2017-02-01 16:54:59 -08:00
Tom Ritter
e275b0a019 Bug 1342212 - Add the commit date to the cubeb README_MOZILLA file to allow automated tooling to detect too-old libraries. r=kinetik
MozReview-Commit-ID: CbBlmy1jZU

--HG--
extra : rebase_source : 5c61711a1ad9c60f6180f67f6c8f1c49df91ff69
2017-02-27 13:53:41 -06:00
Wes Kocher
e84fc624ff Merge inbound to central, a=merge
MozReview-Commit-ID: DpCZgRV1csS
2017-02-24 16:46:12 -08:00
Randell Jesup
8ad25a673c Bug 1284800: Fix build fallout from moving libyuv into a subdirectory r=ted
MozReview-Commit-ID: CDMDXqpGueS
2017-02-24 14:01:56 -05:00
Randell Jesup
444c7b0939 Bug 1284800: Create new update script for libyuv r=sotaro,rillian
MozReview-Commit-ID: 3MK84gHSrLg
2017-02-24 14:01:40 -05:00
Randell Jesup
c204717db3 Bug 1341543: Import libyuv rev 054ec37f8e31e6131c8f19eb74395d29009d6604 from upstream rs=jesup,sotaro
https://chromium.googlesource.com/libyuv/libyuv

MozReview-Commit-ID: 8RTYSNenvVH

--HG--
rename : media/libyuv/AUTHORS => media/libyuv/libyuv/AUTHORS
rename : media/libyuv/Android.mk => media/libyuv/libyuv/Android.mk
rename : media/libyuv/BUILD.gn => media/libyuv/libyuv/BUILD.gn
rename : media/libyuv/LICENSE => media/libyuv/libyuv/LICENSE
rename : media/libyuv/LICENSE_THIRD_PARTY => media/libyuv/libyuv/LICENSE_THIRD_PARTY
rename : media/libyuv/OWNERS => media/libyuv/libyuv/OWNERS
rename : media/libyuv/PATENTS => media/libyuv/libyuv/PATENTS
rename : media/libyuv/README.chromium => media/libyuv/libyuv/README.chromium
rename : media/libyuv/README.md => media/libyuv/libyuv/README.md
rename : media/libyuv/all.gyp => media/libyuv/libyuv/all.gyp
rename : media/libyuv/docs/getting_started.md => media/libyuv/libyuv/docs/deprecated_builds.md
rename : media/libyuv/docs/environment_variables.md => media/libyuv/libyuv/docs/environment_variables.md
rename : media/libyuv/docs/filtering.md => media/libyuv/libyuv/docs/filtering.md
rename : media/libyuv/docs/formats.md => media/libyuv/libyuv/docs/formats.md
rename : media/libyuv/docs/rotation.md => media/libyuv/libyuv/docs/rotation.md
rename : media/libyuv/download_vs_toolchain.py => media/libyuv/libyuv/download_vs_toolchain.py
rename : media/libyuv/gyp_libyuv => media/libyuv/libyuv/gyp_libyuv
rename : media/libyuv/gyp_libyuv.py => media/libyuv/libyuv/gyp_libyuv.py
rename : media/libyuv/include/libyuv.h => media/libyuv/libyuv/include/libyuv.h
rename : media/libyuv/include/libyuv/basic_types.h => media/libyuv/libyuv/include/libyuv/basic_types.h
rename : media/libyuv/include/libyuv/compare.h => media/libyuv/libyuv/include/libyuv/compare.h
rename : media/libyuv/include/libyuv/compare_row.h => media/libyuv/libyuv/include/libyuv/compare_row.h
rename : media/libyuv/include/libyuv/cpu_id.h => media/libyuv/libyuv/include/libyuv/cpu_id.h
rename : media/libyuv/include/libyuv/mjpeg_decoder.h => media/libyuv/libyuv/include/libyuv/mjpeg_decoder.h
rename : media/libyuv/include/libyuv/rotate_argb.h => media/libyuv/libyuv/include/libyuv/rotate_argb.h
rename : media/libyuv/include/libyuv/row.h => media/libyuv/libyuv/include/libyuv/row.h
rename : media/libyuv/include/libyuv/scale.h => media/libyuv/libyuv/include/libyuv/scale.h
rename : media/libyuv/include/libyuv/scale_argb.h => media/libyuv/libyuv/include/libyuv/scale_argb.h
rename : media/libyuv/include/libyuv/version.h => media/libyuv/libyuv/include/libyuv/version.h
rename : media/libyuv/include/libyuv/video_common.h => media/libyuv/libyuv/include/libyuv/video_common.h
rename : media/libyuv/tools/OWNERS => media/libyuv/libyuv/infra/config/OWNERS
rename : media/libyuv/libyuv.gyp => media/libyuv/libyuv/libyuv.gyp
rename : media/libyuv/libyuv.gypi => media/libyuv/libyuv/libyuv.gypi
rename : media/libyuv/libyuv_nacl.gyp => media/libyuv/libyuv/libyuv_nacl.gyp
rename : media/libyuv/libyuv_test.gyp => media/libyuv/libyuv/libyuv_test.gyp
rename : media/libyuv/linux.mk => media/libyuv/libyuv/linux.mk
rename : media/libyuv/public.mk => media/libyuv/libyuv/public.mk
rename : media/libyuv/source/compare.cc => media/libyuv/libyuv/source/compare.cc
rename : media/libyuv/source/compare_common.cc => media/libyuv/libyuv/source/compare_common.cc
rename : media/libyuv/source/compare_gcc.cc => media/libyuv/libyuv/source/compare_gcc.cc
rename : media/libyuv/source/compare_neon.cc => media/libyuv/libyuv/source/compare_neon.cc
rename : media/libyuv/source/compare_neon64.cc => media/libyuv/libyuv/source/compare_neon64.cc
rename : media/libyuv/source/compare_win.cc => media/libyuv/libyuv/source/compare_win.cc
rename : media/libyuv/source/convert.cc => media/libyuv/libyuv/source/convert.cc
rename : media/libyuv/source/convert_argb.cc => media/libyuv/libyuv/source/convert_argb.cc
rename : media/libyuv/source/convert_from.cc => media/libyuv/libyuv/source/convert_from.cc
rename : media/libyuv/source/convert_from_argb.cc => media/libyuv/libyuv/source/convert_from_argb.cc
rename : media/libyuv/source/convert_jpeg.cc => media/libyuv/libyuv/source/convert_jpeg.cc
rename : media/libyuv/source/convert_to_argb.cc => media/libyuv/libyuv/source/convert_to_argb.cc
rename : media/libyuv/source/convert_to_i420.cc => media/libyuv/libyuv/source/convert_to_i420.cc
rename : media/libyuv/source/cpu_id.cc => media/libyuv/libyuv/source/cpu_id.cc
rename : media/libyuv/source/mjpeg_decoder.cc => media/libyuv/libyuv/source/mjpeg_decoder.cc
rename : media/libyuv/source/mjpeg_validate.cc => media/libyuv/libyuv/source/mjpeg_validate.cc
rename : media/libyuv/source/planar_functions.cc => media/libyuv/libyuv/source/planar_functions.cc
rename : media/libyuv/source/rotate.cc => media/libyuv/libyuv/source/rotate.cc
rename : media/libyuv/source/rotate_any.cc => media/libyuv/libyuv/source/rotate_any.cc
rename : media/libyuv/source/rotate_argb.cc => media/libyuv/libyuv/source/rotate_argb.cc
rename : media/libyuv/source/rotate_common.cc => media/libyuv/libyuv/source/rotate_common.cc
rename : media/libyuv/source/rotate_mips.cc => media/libyuv/libyuv/source/rotate_dspr2.cc
rename : media/libyuv/source/rotate_neon.cc => media/libyuv/libyuv/source/rotate_neon.cc
rename : media/libyuv/source/rotate_neon64.cc => media/libyuv/libyuv/source/rotate_neon64.cc
rename : media/libyuv/source/rotate_win.cc => media/libyuv/libyuv/source/rotate_win.cc
rename : media/libyuv/source/row_any.cc => media/libyuv/libyuv/source/row_any.cc
rename : media/libyuv/source/row_common.cc => media/libyuv/libyuv/source/row_common.cc
rename : media/libyuv/source/row_gcc.cc => media/libyuv/libyuv/source/row_gcc.cc
rename : media/libyuv/source/row_neon.cc => media/libyuv/libyuv/source/row_neon.cc
rename : media/libyuv/source/row_neon64.cc => media/libyuv/libyuv/source/row_neon64.cc
rename : media/libyuv/source/row_win.cc => media/libyuv/libyuv/source/row_win.cc
rename : media/libyuv/source/scale.cc => media/libyuv/libyuv/source/scale.cc
rename : media/libyuv/source/scale_argb.cc => media/libyuv/libyuv/source/scale_argb.cc
rename : media/libyuv/source/scale_common.cc => media/libyuv/libyuv/source/scale_common.cc
rename : media/libyuv/source/scale_mips.cc => media/libyuv/libyuv/source/scale_dspr2.cc
rename : media/libyuv/source/scale_gcc.cc => media/libyuv/libyuv/source/scale_gcc.cc
rename : media/libyuv/source/scale_neon.cc => media/libyuv/libyuv/source/scale_neon.cc
rename : media/libyuv/source/scale_neon64.cc => media/libyuv/libyuv/source/scale_neon64.cc
rename : media/libyuv/source/scale_win.cc => media/libyuv/libyuv/source/scale_win.cc
rename : media/libyuv/source/video_common.cc => media/libyuv/libyuv/source/video_common.cc
rename : media/libyuv/tools/OWNERS => media/libyuv/libyuv/tools_libyuv/OWNERS
rename : media/libyuv/tools/msan/OWNERS => media/libyuv/libyuv/tools_libyuv/msan/OWNERS
rename : media/libyuv/tools/msan/blacklist.txt => media/libyuv/libyuv/tools_libyuv/msan/blacklist.txt
rename : media/libyuv/tools/ubsan/OWNERS => media/libyuv/libyuv/tools_libyuv/ubsan/OWNERS
rename : media/libyuv/tools/ubsan/blacklist.txt => media/libyuv/libyuv/tools_libyuv/ubsan/blacklist.txt
rename : media/libyuv/tools/ubsan/vptr_blacklist.txt => media/libyuv/libyuv/tools_libyuv/ubsan/vptr_blacklist.txt
rename : media/libyuv/tools/valgrind-libyuv/libyuv_tests.bat => media/libyuv/libyuv/tools_libyuv/valgrind/libyuv_tests.bat
rename : media/libyuv/tools/valgrind-libyuv/libyuv_tests.py => media/libyuv/libyuv/tools_libyuv/valgrind/libyuv_tests.py
rename : media/libyuv/tools/valgrind-libyuv/libyuv_tests.sh => media/libyuv/libyuv/tools_libyuv/valgrind/libyuv_tests.sh
rename : media/libyuv/tools/valgrind-libyuv/tsan/OWNERS => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/OWNERS
rename : media/libyuv/tools/valgrind-libyuv/memcheck/PRESUBMIT.py => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/PRESUBMIT.py
rename : media/libyuv/tools/valgrind-libyuv/memcheck/suppressions_win32.txt => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/suppressions.txt
rename : media/libyuv/tools/valgrind-libyuv/memcheck/suppressions_win32.txt => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/suppressions_mac.txt
rename : media/libyuv/tools/valgrind-libyuv/memcheck/suppressions_win32.txt => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/suppressions_win32.txt
rename : media/libyuv/unit_test/basictypes_test.cc => media/libyuv/libyuv/unit_test/basictypes_test.cc
rename : media/libyuv/unit_test/color_test.cc => media/libyuv/libyuv/unit_test/color_test.cc
rename : media/libyuv/unit_test/compare_test.cc => media/libyuv/libyuv/unit_test/compare_test.cc
rename : media/libyuv/unit_test/cpu_test.cc => media/libyuv/libyuv/unit_test/cpu_test.cc
rename : media/libyuv/unit_test/math_test.cc => media/libyuv/libyuv/unit_test/math_test.cc
rename : media/libyuv/unit_test/planar_test.cc => media/libyuv/libyuv/unit_test/planar_test.cc
rename : media/libyuv/unit_test/rotate_argb_test.cc => media/libyuv/libyuv/unit_test/rotate_argb_test.cc
rename : media/libyuv/unit_test/rotate_test.cc => media/libyuv/libyuv/unit_test/rotate_test.cc
rename : media/libyuv/unit_test/scale_argb_test.cc => media/libyuv/libyuv/unit_test/scale_argb_test.cc
rename : media/libyuv/unit_test/scale_test.cc => media/libyuv/libyuv/unit_test/scale_test.cc
rename : media/libyuv/unit_test/testdata/arm_v7.txt => media/libyuv/libyuv/unit_test/testdata/arm_v7.txt
rename : media/libyuv/unit_test/testdata/juno.txt => media/libyuv/libyuv/unit_test/testdata/juno.txt
rename : media/libyuv/unit_test/testdata/tegra3.txt => media/libyuv/libyuv/unit_test/testdata/tegra3.txt
rename : media/libyuv/unit_test/unit_test.cc => media/libyuv/libyuv/unit_test/unit_test.cc
rename : media/libyuv/unit_test/unit_test.h => media/libyuv/libyuv/unit_test/unit_test.h
rename : media/libyuv/unit_test/video_common_test.cc => media/libyuv/libyuv/unit_test/video_common_test.cc
rename : media/libyuv/util/Makefile => media/libyuv/libyuv/util/Makefile
rename : media/libyuv/util/compare.cc => media/libyuv/libyuv/util/compare.cc
rename : media/libyuv/util/convert.cc => media/libyuv/libyuv/util/convert.cc
rename : media/libyuv/util/cpuid.c => media/libyuv/libyuv/util/cpuid.c
rename : media/libyuv/util/psnr.cc => media/libyuv/libyuv/util/psnr.cc
rename : media/libyuv/util/psnr.h => media/libyuv/libyuv/util/psnr.h
rename : media/libyuv/util/psnr_main.cc => media/libyuv/libyuv/util/psnr_main.cc
rename : media/libyuv/util/ssim.cc => media/libyuv/libyuv/util/ssim.cc
rename : media/libyuv/util/ssim.h => media/libyuv/libyuv/util/ssim.h
rename : media/libyuv/winarm.mk => media/libyuv/libyuv/winarm.mk
2017-02-24 13:45:02 -05:00
Alfredo.Yang
1f16c44c38 Bug 1340446 - check the rounding error smaller or euqal to one. r=kinetik
MozReview-Commit-ID: 5LYzYlZzmEB

--HG--
extra : rebase_source : c8a831212ea4d06da4105ff1186a67ffb5d9d96d
2017-02-22 11:38:16 +08:00
Alex Chronopoulos
6b65c12c74 Bug 1342363 - Update cubeb from upstream to 25b593f. r=padenot
MozReview-Commit-ID: BAwQSDLJoMx

--HG--
extra : rebase_source : 01c1c72c3b287f6e6608b84fc00cd80177ae65cc
2017-02-24 13:24:32 +02:00
Dan Minor
71b7ced622 Bug 1332622 - Remove MOZILLA_INTERNAL_API macro from webrtc; r=jesup
I've also cleaned up a few leftover references to USE_FAKE_MEDIA_STREAMS,
MOZILLA_EXTERNAL_LINKAGE and MOZ_WIDGET_GONK where I noticed them.

MozReview-Commit-ID: Cdo1Y4IrFqp

--HG--
extra : rebase_source : 4f7debb5ebc3e024410ec6456fae0d3463ca1d10
2017-02-22 09:07:32 -05:00
Wes Kocher
47dc9207cd Backed out changeset 20a81b2adf80 (bug 1330240) under suspicion of turning android mda1 nearly permafail a=backout
MozReview-Commit-ID: LUKhxorIzwU
2017-02-23 16:25:18 -08:00
Carsten "Tomcat" Book
e6b82618f4 merge mozilla-inbound to mozilla-central a=merge 2017-02-23 14:59:37 +01:00
Jeff Walden
a457461dd8 Bug 1287006 - Followup bustage fix. r=bustage in a CLOSED TREE 2017-02-22 20:41:37 -08:00
Jeff Walden
c7aace8b67 Bug 1287006 - Make JsepTrackPair::mBundleLevel size_t instead of Maybe<size_t>, with SIZE_MAX encoding the previous not-size_t state. (mBundleLevel counts things in memory, so SIZE_MAX is excluded from the typical semantics.) r=bwc
--HG--
extra : rebase_source : 580a13b93cbec088c8937172948b30b4881d31ec
2017-02-21 23:57:56 -08:00
Jeff Walden
d73ce21741 Bug 1287006 - Adjust media/ code to not pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer. r=jw_wang, r=rjesup
--HG--
extra : rebase_source : 176a2afde5772bbdf43f0f6dc8082201acadcf4f
2017-02-13 09:07:40 -08:00
Carsten "Tomcat" Book
9d982b9508 merge mozilla-inbound to mozilla-central a=merge 2017-02-22 14:33:38 +01:00
Wes Kocher
5295bd9f91 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AoD5GpFatBw
2017-02-21 17:41:05 -08:00
Boris Zbarsky
aed0bcf617 Bug 1340760. Link sdp_file_parser against mozglue, since it uses the PrintfTarget stuff from there. r=froydnj
MozReview-Commit-ID: K3nkeLd3oCs
2017-02-21 19:50:22 -05:00
Iris Hsiao
28ba840815 Backed out changeset 47b318d87004 (bug 1331330) for bustage 2017-02-22 15:31:37 +08:00
Alfredo.Yang
daf25d9711 Bug 1340980 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: HrRkz8Sk0v7

--HG--
extra : rebase_source : d4ea066eb6acbaa648851fd2827e145b84004a14
2017-02-20 10:58:10 +08:00
Alfredo.Yang
652691c720 Bug 1331330 - compare rust parser and stagefright sample table. r=kinetik
MozReview-Commit-ID: G6ZqSNNo00J

--HG--
extra : rebase_source : ea6df10e95042cf14f65f81850e2a95f4a2ba2b0
2017-02-21 15:30:03 +08:00
Chris Peterson
436fefadc2 Bug 1341162 - Fix -Wunreachable-code-return warning in webrtc/signaling. r=bwc
The WebrtcVideoConduit::GetRTCPSenderReport() member function has an unnecessary scope block and unreachable `return false`.

media/webrtc/signaling/src/media-conduit/VideoConduit.cpp:847:10 [-Wunreachable-code-return] 'return' will never be executed

MozReview-Commit-ID: 1GFcupqcA9k

--HG--
extra : rebase_source : c46a012a99c66b3953262ba5f86810d62a5b48cf
extra : source : 6ca7c167f10cb234f67c89fb8b64c67f87ca5453
2017-02-20 14:45:30 -08:00
Byron Campen [:bwc]
05f117a2ad Bug 1338696: Don't deref null when nr_stun_message_create2 fails. r=drno
MozReview-Commit-ID: 6yo1NtElboR

--HG--
extra : rebase_source : ea9ea0868e6d806db07ec0f3509f3588bd433395
2017-02-13 16:22:54 -06:00
Byron Campen [:bwc]
bcf0706eb7 Bug 1340734: Move the TLS detection logic to TestNrSocket::create, to keep up with changes from bug 1336507. r=drno
MozReview-Commit-ID: A0wYXBmvhyh

--HG--
extra : rebase_source : af80ae36fe7e2777d66a51a6f879c8e48bf7fb35
2017-02-17 17:31:55 -06:00
Jan Beich
b2013667fb Bug 1330240 - Limit -Wthread-safety to WebRTC due to lack of annotations. r=cpeterson,froydnj,jesup
MozReview-Commit-ID: HuoXFwZkdYo

--HG--
extra : rebase_source : 8f07a7a6de6d794b26b0f2b18eb95452d65c8f40
2017-01-11 16:50:18 +00:00
Jan Beich
959d5215d6 Bug 1330240 - Limit -Wthread-safety to WebRTC due to lack of annotations. r=cpeterson,froydnj,jesup
MozReview-Commit-ID: HuoXFwZkdYo

--HG--
extra : rebase_source : 8f07a7a6de6d794b26b0f2b18eb95452d65c8f40
2017-01-11 16:50:18 +00:00
Phil Ringnalda
806e31d5b2 Backed out changeset 437ff32b12ea (bug 1340446) for Mac and Windows build bustage
CLOSED TREE
2017-02-22 20:27:17 -08:00
Alfredo.Yang
698b618177 Bug 1340446 - check the rounding error smaller or euqal to one. r=kinetik
MozReview-Commit-ID: 4JvuY1yHGRk

--HG--
extra : rebase_source : 7274abd9a3e9fba1d7a3daa15fc33b054a6ddded
2017-02-22 11:38:16 +08:00
Alfredo.Yang
e4420d1268 Bug 1331330 - compare rust parser and stagefright sample table. r=kinetik
MozReview-Commit-ID: G6ZqSNNo00J

--HG--
extra : rebase_source : 858fe82da9f92417c843e2292519a58afa2f82e2
2017-02-21 15:30:03 +08:00
Dan Minor
f41633e415 Bug 1319489 - Make it possible for "fake" media streams to inherit from real streams; r=jesup
MozReview-Commit-ID: 8sBzMmTVhQU

--HG--
extra : rebase_source : 4aeb46774df76b170abbd47b239457519b81615c
2017-01-10 09:57:16 -05:00
Dan Minor
3c06acab52 Bug 1319489 - Remove MOZILLA_EXTERNAL_LINKAGE; r=jesup
MozReview-Commit-ID: G98qrMnJ0lK

--HG--
extra : rebase_source : f6f9e7bee64c6863c6aab951221c259800782e27
2017-01-02 08:09:03 -05:00
Dan Minor
68972c13d0 Bug 1319489 - Remove USE_FAKE_MEDIA_STREAMS; r=jesup
MozReview-Commit-ID: 4CdECHBNmDs

--HG--
extra : rebase_source : 78a8b4534e561afe31383ec8fd21200e96f7f5ef
2017-01-02 11:52:48 -05:00
Dan Minor
267e335e87 Bug 1319489 - Stop building signalingtest libraries; r=jesup
MozReview-Commit-ID: 80UZqfsgnKj

--HG--
extra : rebase_source : d729a8e2fa215178ce526ac9aefc933731e59784
2016-12-22 14:59:54 -05:00
Tom Ritter
3c810e8f62 Bug 1344316 Add Commit Date to libyuv README r=jesup
MozReview-Commit-ID: 6EVZR6ZilH1

--HG--
extra : rebase_source : 02c1b5486f9d14180954bcff9cfbd6848b1bf4fe
2017-03-03 13:02:04 -06:00
Carsten "Tomcat" Book
2e16434a2f Merge mozilla-central to mozilla-inbound 2017-03-06 11:09:33 +01:00
Alex Chronopoulos
c4f0fcd254 Bug 1344653 - Update cubeb from upstream to a3c012f. r=kinetik
MozReview-Commit-ID: 3jQt8zdukUm
2017-03-06 11:34:52 +02:00
Carsten "Tomcat" Book
19b6ae43dc Merge mozilla-central to autoland 2017-03-01 16:43:23 +01:00
Dan Minor
fdcc85b73e Bug 1341995 - Use negotiated values for RED and ULPFEC payload types; r=bwc
MozReview-Commit-ID: 33jkKWThcL2

--HG--
extra : rebase_source : 60a2c467bea46aec48fe2a1f73d260cb68b1a61d
2017-02-27 09:37:30 -05:00
Dan Minor
ed2ee4c67e Bug 1341995 - Make ULPFEC and RED payload types configurable in VideoCodecConfig; r=jesup
MozReview-Commit-ID: 74ncVSIYWzS

--HG--
extra : rebase_source : 588ae3dc4a2475f683e248cb60cda7c3fa7e81de
2017-02-24 13:45:07 -05:00
Alfredo.Yang
bc9447f328 Bug 1342339 - remove compile warning from bug 1340446. r=kinetik
MozReview-Commit-ID: yCAZvJRZCC

--HG--
extra : rebase_source : 21aa6c5cb0548c080a6fc2d1980b807f14237743
2017-03-01 11:37:30 +08:00
Wes Kocher
8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Wes Kocher
700ed47352 Merge autoland to central, a=merge
MozReview-Commit-ID: 3ZIZ9QEVArE
2017-02-17 12:45:42 -08:00
Alex Chronopoulos
3d4c312be6 Bug 1339816 - Update cubeb from upstream to 8977c13b. r=padenot a=needmacnightlyrespin
MozReview-Commit-ID: 942LCa6dOzJ

--HG--
extra : source : 9416a107fa60f31c745acf7821b52cd5a8ef8e98
2017-02-17 19:20:34 +02:00
Alex Chronopoulos
c6c623b8a3 Bug 1339816 - Update cubeb from upstream to 8977c13b. r=padenot
MozReview-Commit-ID: 942LCa6dOzJ
2017-02-17 19:20:34 +02:00
Vedant Sareen
7d4bd52fae Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Randell Jesup
76acc650ab Bug 1301286: backout accidental logging change rs=backout
MozReview-Commit-ID: C2V6McYpfh0
2017-02-16 21:29:28 -05:00
Randell Jesup
282d60d01e Bug 1301286: accidental qref pulled in some half-writtne debug code rs=bustage
on a CLOSED TREE

MozReview-Commit-ID: GaekL7jr309
2017-02-16 16:00:31 -05:00
Randell Jesup
39cdece7fe Bug 1300665: Add abs-send-time and toffset header extension usage and negotiation r=bwc
MozReview-Commit-ID: 3h9C8XziNky
2017-02-09 20:56:29 -05:00
Randell Jesup
729ec22dc5 Bug 1301286: At least in the webrtc49 update, 100Kbps isn't enough for simulcast tests r=abr
MozReview-Commit-ID: kQHNnr7rAg
2017-02-16 15:37:03 -05:00
Ryan VanderMeulen
6cf0d69f8c Bug 1339612 - Update libogg to version 1.3.2. r=rillian
--HG--
extra : rebase_source : 86ce7739f158dd58885462e02cf50a598dc16cd4
2017-02-15 19:39:47 -05:00
Sylvestre Ledru
d0d9f70792 Bug 1338086 - Remove useless else blocks in order to reduce complexity in media/webrtc/signaling/ r=jesup
MozReview-Commit-ID: EU5B0cUYp6c

--HG--
extra : rebase_source : 82aa967f8abfceb785ef7392b915c992ebc5d9a0
2017-02-14 16:28:38 +01:00
Sylvestre Ledru
364ecfb0c7 Bug 1338086 - Remove useless else blocks in order to reduce complexity in media/mtransport/ r=drno
MozReview-Commit-ID: 9Hvf7kGOi2s

--HG--
extra : rebase_source : d7a182a4b6fc02030f3e8d0eb5cbd75c0f5ff117
2017-02-14 15:08:29 +01:00
Carsten "Tomcat" Book
ed3d8d8286 merge mozilla-inbound to mozilla-central a=merge 2017-02-15 12:21:44 +01:00
Jay Harris
2e8437ff89 Bug 1339204 - Adds support in StageFright for VP9.0 FourCCs r=cpearce
MozReview-Commit-ID: 3YcMOCVT7DY

--HG--
extra : rebase_source : 26a994212dbd0576c4037732c03c2fe3660d8196
2017-02-14 10:29:46 +13:00
Ralph Giles
0ffd3075b9 Bug 1332953 - Update libopus to 1.1.4. r=kinetik
This fixes a wrap-around issue in SILK LSF stabilization code,
addressing CVE-2017-0381.

MozReview-Commit-ID: 7yCUoSKNOcl

--HG--
extra : rebase_source : da94105d911d7e15b09a549b4b67083a1c2acd93
2017-02-14 11:03:07 -08:00
Carsten "Tomcat" Book
68be0676b8 merge mozilla-inbound to mozilla-central a=merge 2017-02-14 13:38:00 +01:00
Phil Ringnalda
33173f619b Backed out changeset 2a2ffd6f443c (bug 1300665) for failures in test_peerConnection_simulcastOffer.html
CLOSED TREE
2017-02-13 18:55:31 -08:00
Wes Kocher
c8fa3242ab Merge m-c to inbound, a=merge
MozReview-Commit-ID: Lt0WpWkto4h
2017-02-13 17:07:33 -08:00
Ralph Giles
bbd48a5613 Bug 1338655 - Don't try to build mp4parse bindings. r=froydnj
We use the cheddar crate to generate a C header file
for our mp4parse_capi wrapper crate. Currently we
do this at code check-in time via update-rust.sh.

Cargo 0.18 and later will try to execute a build.rs
file in the crate source tree regardless of whether
it's specified in Cargo.toml so patching out that
line just results in 'crate cheddar not found'.

This change restores the old behaviour by substituting
a 'build = false' line instead.

We do have syntex vendored, but we don't currently build
it by default, so I prefer this solution to just vendoring
cheddar and generating the header at build time. The syntex
crate is quite large and adds significantly to our compile
time.

MozReview-Commit-ID: InJRRODWAdP

--HG--
extra : rebase_source : 29378fcbc86015ce6cc22dc66d38a43ddbac204e
2017-02-10 12:58:18 -08:00
Jay Harris
f1bbbab7e0 Bug 1306477 - Updates an assert in Clearkey to deal with unencrypted samples. r=cpearce
MozReview-Commit-ID: 42VfekHccjK

--HG--
extra : rebase_source : 34c52ed975e56c5f691c334efd3e43bcaf21364e
2017-02-08 12:18:13 +13:00
Jay Harris
f04c7b9716 Bug 1306477 - Updates to latest upstream version of nestegg. r=kinetik
MozReview-Commit-ID: D2vrjB3wOjh

--HG--
extra : rebase_source : 7c5e6588dfd857433bff801ad8aece0971641c7a
2017-02-08 15:17:24 +13:00
Michael Froman
d4be0d3431 Bug 1338273 - initialize NrIceStats vars to zero. r=drno
MozReview-Commit-ID: 1Yir1vQAvhX

--HG--
extra : rebase_source : b6ee2a80bffd55cb08ce094e06affd90e305edb4
2017-02-13 11:58:57 -06:00
Byron Campen [:bwc]
e59a5f112e Bug 1336182 - Part 2: Use "override" keyword to silence some warnings about inconsistency. r=drno
MozReview-Commit-ID: 1mVXvIGNBdr

--HG--
extra : rebase_source : 671fd46798807b72ee390cc37f0beae18be3d222
2017-02-06 16:44:14 -06:00
Byron Campen [:bwc]
3781dd7683 Bug 1336182 - Part 1: Add DTLS handshake time telemetry. r=bsmedberg,drno
MozReview-Commit-ID: JczL8eFuzMg

--HG--
extra : rebase_source : 4344125a9605bfa39696bac445231e35b05e9b1f
2017-02-03 17:01:05 -06:00
Nils Ohlmeier [:drno]
30a3f082fd Bug 1337468: pass RID values via RTP configuration r=ng
MozReview-Commit-ID: Gl5TdZkJIZ8

--HG--
extra : rebase_source : 296d74fcfee7535b052e8f97ba65f0c67afbb129
2017-02-08 21:37:13 -08:00
Nils Ohlmeier [:drno]
d03b7e603e Bug 1337468: removed unused RID code and variables r=ng
MozReview-Commit-ID: JWBRVC7WQsl

--HG--
extra : rebase_source : 0846deda23642804dcbdfcf078e5d7e0e0ee4bd1
2017-02-08 21:27:32 -08:00
Nils Ohlmeier [:drno]
0471e40bef Bug 1337468: Don't offer RID extension for audio streams r=ng
MozReview-Commit-ID: LicY2Ok0V60

--HG--
extra : rebase_source : db27711ab5bdb7b667b54e644341641d21c512bd
2017-02-06 16:41:53 -08:00
Sylvestre Ledru
24eaa6aa67 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in media/mtransport/ r=bwc=jesup
MozReview-Commit-ID: 1ALL9rdhk24

--HG--
extra : rebase_source : c1899accbe87f6d226f8bbd5922b5899362f2e26
2017-02-13 14:42:00 +01:00
Sylvestre Ledru
40d3ba24b6 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in media/webrtc/signaling/ r=jesup=jesup
MozReview-Commit-ID: 7VFZqMB9B3s

--HG--
extra : rebase_source : 9c0db63ec91370a820237e4a928de209d6f8bbce
2017-02-08 14:25:01 +01:00
Tom Tromey
5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Tom Tromey
b6eaee7842 Bug 1060419 - add -Werror=format to the warnings.configure, r=froydnj
MozReview-Commit-ID: 9pvECUzAjF1

--HG--
extra : rebase_source : 4a1e1d8b243128e62359c32b3d7c5ad01d3cefac
2016-12-15 09:57:59 -07:00
Randell Jesup
3d2997d55f Bug 1332402 - Part 2: just complain if SingletonThread is still active at shutdown r=bwc
MozReview-Commit-ID: B57cZnCuAdv

--HG--
extra : rebase_source : 87d10a7c546f6f85f8e2c769e20afcc63ea724ef
2017-01-19 15:07:47 -05:00
Byron Campen [:bwc]
56b7c03b51 Bug 1332402 - Part 1: Simplify shutdown of the IO thread. r=jesup
MozReview-Commit-ID: DsGcaQGxz7u

--HG--
extra : rebase_source : 388fac2352fc5a7e83b91e7b011358458171e9a7
2017-01-19 14:06:21 -06:00
Nils Ohlmeier [:drno]
8d98a3e4de Bug 1338384: added STUN bandwidth attribute. r=bwc
MozReview-Commit-ID: DiW32Zdmen8

--HG--
extra : rebase_source : 6509d924bc44fdd7dc65fe80ff714f5231550150
2017-02-10 12:33:26 -08:00
Paul Adenot
add4b47dc6 Bug 1332937 - Use MOZ_RELEASE_ASSERT behind cubeb's XASSERT so it's enabled in release. r=achronop
MozReview-Commit-ID: ISAb2ops8iq

--HG--
extra : rebase_source : be0b14e0edc823c847f72bacf7adf10d5e56ed9e
2017-02-10 15:15:06 +01:00
Alex Chronopoulos
c0634dbb84 Bug 1337805 - Update cubeb from upstream 21e96ac. r=padenot
MozReview-Commit-ID: 62VM613n915

--HG--
extra : rebase_source : 5a58866e8e3a0458eacabcdbb894bffcebe3467f
2017-02-10 13:20:15 +02:00
Sebastian Hengst
64e3711920 Backed out changeset a3faba8c3991 (bug 1337805) for frequently failing test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_byte.html. r=backout 2017-02-09 21:21:51 +01:00
Alex Chronopoulos
b90787dd1c Bug 1337805 - Update cubeb from upstream 21e96ac. r=padenot
MozReview-Commit-ID: 4WVSRHoUYAJ

--HG--
extra : rebase_source : 113cec5e8875fb3f4dfae6cdb9251a0831089069
2017-02-08 17:33:43 +02:00
Mike Hommey
eb37fd7ca3 Bug 1338000 - Fix webrtc build on non-Android ARM Linux. r=jesup
--HG--
extra : rebase_source : a6556bfa40a1b98506d61cb056dde3bb6313c559
2017-02-09 10:26:01 +09:00
Mike Hommey
d340c6b1f2 Bug 1337250 - Fix libvpx build on non-Android ARM. r=froydnj
--HG--
extra : rebase_source : 5c0c59e680a79714872bf970a35e028c2bebef7f
2017-02-07 13:55:08 +09:00
Paul Adenot
42b97bbf05 Bug 1337328 - Uplift cubeb to revision 927877. r=achronop
MozReview-Commit-ID: 1VxCdWZQtR4

--HG--
extra : rebase_source : 5430bd5c97d4cbd3854e0089bac324b5a4b134f7
2017-02-07 12:13:30 +01:00
Jean-Yves Avenard
c51aa799df Bug 1334971: P1. Properly handle invalid PPS. r=gerald
A PPS contains an id that is used as index inside an array. We must ensure that there's enough space in that array.

Also fix H264::DecodePPS which incorrectly always returned an error when parsing a valid PPS.

MozReview-Commit-ID: L1HUAdxWdu0

--HG--
extra : rebase_source : 5e32981d60398d37775573ea17ce54a345401b21
2017-02-07 07:55:19 +01:00
Byron Campen [:bwc]
07596f4b60 Bug 1336507 - Part 4: Stop using a magic constant here. r=drno
MozReview-Commit-ID: LgIUrzFFT8I

--HG--
extra : rebase_source : 7ab2848cb8510b24a27c3a2e444727b4105e4f23
2017-02-03 16:48:30 -06:00
Byron Campen [:bwc]
9699169e39 Bug 1336507 - Part 3: Make sure mozLocalTransport is set to "tls" where appropriate. r=drno
MozReview-Commit-ID: EQCKgaFlA3q

--HG--
extra : rebase_source : 35a7a337f0e02e3d1543035314e2c129d3fac7e5
2017-02-03 16:48:02 -06:00
Byron Campen [:bwc]
f55547b66e Bug 1336507 - Part 2: Move some TLS related stuff from |connect| to |create|, so it is better reflected in candidate labels/codeword. r=drno
MozReview-Commit-ID: GnaJa1EPw0j

--HG--
extra : rebase_source : 58b1b4e09e2ae61a9596ae94cf0a27dab3bfca31
2017-02-03 16:47:05 -06:00
Wes Kocher
b488ae9021 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GhBqmLvUpgQ
2017-02-03 17:04:18 -08:00
Nathan Froyd
168a1fcbdc Bug 1336086 - remove mozilla::services::_external_Get*Service; r=bsmedberg,jesup
Removing the exported symbols is straightforward enough.

The only wrinkle is that PeerConnectionCtx.cpp gets compiled with and
without MOZILLA_INTERNAL_API.  When compiling without
MOZILLA_INTERNAL_API, mozilla::services::Get*Service was redirected to
the _external_* symbol variants.  But as the _external_* symbols no
longer exist, PeerConnectionCtx.cpp's code no longer worked.

Fortunately, PeerConnectionCtx.cpp already contains a few #ifdef
MOZILLA_INTERNAL_API blocks to handle internal/external compilation;
fixing this newest issue was just a matter of extending existing blocks
and adding new ones.  The key observation is that we never added any
observers when compiling without MOZILLA_INTERNAL_API, so we can #ifdef
out the removals of observers, as those would have no effect, and simply
skip getting the observer service for the observer additions if we're
compiling without MOZILLA_INTERNAL_API.
2017-02-03 11:52:02 -05:00
Jan Beich
b5674a1a5d Bug 1336329 - Pass clang value from mozbuild to gyp. r=jesup
MozReview-Commit-ID: Kjp3R1TUelS

--HG--
extra : rebase_source : b9d5ac5ca9e52e2d3c1e891b0fa147d691b49731
2017-02-03 06:01:02 +00:00
Phil Ringnalda
abe2443efb Merge m-c to m-i 2017-02-02 21:26:26 -08:00
Jay Harris
efb83af7fa Bug 1318792 - Adds support for sbgp and sgpd boxes occuring in the sampletable r=jya
MozReview-Commit-ID: JaFGeZKFPRg

--HG--
extra : rebase_source : 07137a6923478b837794a1fa2cf617bfd08e41d6
2017-01-25 11:35:16 +13:00
Jay Harris
107910f23e Bug 1318792 - Adds support for sbgp and sgpd boxes in the traf box r=jya
MozReview-Commit-ID: 7aHEaCTJm22

--HG--
extra : rebase_source : d160d3d64f3848f697e648eae2dafa481800bedd
2017-01-25 12:10:35 +13:00
srivatsav
74183ba990 Bug 1334265 - Replace double quotation marks with single quotation marks in ice_unittest.cpp. r=jesup
--HG--
extra : rebase_source : 2d90c8cdb8c16455ddedd79a90e05627fa7e599e
2017-02-02 14:42:27 +05:30
Chris Peterson
4de97d4126 Bug 1333686 - Part 4: Enable warnings-as-errors in webrtc/signaling. r=bwc
... except when building with clang on Linux because gyp doesn't seem to recognize the clang static analysis or ASan builds as clang, thus ignoring the following warning suppressions in signaling.gyp. We must suppress the following -Winconsistent-missing-override clang warnings from an upstream webrtc header file to be able to compile webrtc/signaling as warnings-as-errors:

media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:29:15 [-Winconsistent-missing-override] 'SetExternalRecordingStatus' overrides a member function but is not marked 'override'
media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:31:15 [-Winconsistent-missing-override] 'SetExternalPlayoutStatus' overrides a member function but is not marked 'override'
media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:33:15 [-Winconsistent-missing-override] 'ExternalRecordingInsertData' overrides a member function but is not marked 'override'
media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:40:15 [-Winconsistent-missing-override] 'ExternalPlayoutData' overrides a member function but is not marked 'override'
media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:47:15 [-Winconsistent-missing-override] 'ExternalPlayoutGetData' overrides a member function but is not marked 'override'

MozReview-Commit-ID: 1k5rdAWNfhk

--HG--
extra : rebase_source : a94aa243ff66e3d6e67654f1066d5a22d2ef522b
extra : histedit_source : 6402128ae23768e213cf5426f0ffd3a8cd0f572c
2017-01-22 00:52:38 -08:00
Chris Peterson
c31456a8ed Bug 1333686 - Part 2: Fix "unary minus operator applied to unsigned type" MSVC warnings in webrtc/signaling. r=bwc
Replace -1UL with ULONG_MAX.

media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c(584): warning C4146: unary minus operator applied to unsigned type, result still unsigned
media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c(585): warning C4146: unary minus operator applied to unsigned type, result still unsigned
media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c(586): warning C4146: unary minus operator applied to unsigned type, result still unsigned

MozReview-Commit-ID: EepB2xf4MZr

--HG--
extra : rebase_source : 3db5f8c002cf732dbee6b7d56a38c54e0e26509a
extra : histedit_source : 3d0b4f4a816667db2946f34e1bed988346121be2
2017-01-15 23:06:40 -08:00
Wes Kocher
8d4bb91470 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Am6M5iHxmAr
2017-02-01 16:31:23 -08:00
Gerald Squelart
72081ad0b6 Bug 1334445 - Abort AnnexB parsing on ByteWriter failure - r=jya
All writes through a ByteWriter are now checked for success.
Possible failures could be in three classes:
A. Attempt to write a single unreasonably-large block of data. In this case we
just don't allocate more memory, so Firefox should keep functioning but simply
refuse to play this media.
B. Accumulation of a lot of data into a single vector. In this case we return
from the function, which should immediately free the large vector, and
hopefully allow Firefox to continue unscathed; but there is the possibility
that other memory allocations elsewhere will fail in the meantime.
C. OOM across all of Firefox, and this write is just the final drop. Like
previously we will still try to return and deallocate some memory, but this
may not be enough to recover.

So even though this patch cannot fix all possible OOM causes, I think it is
worth adding, as it is simple enough, and will help in some cases where
corrupted data could sensibly be handled without making Firefox crash.

MozReview-Commit-ID: JPVC9hao4Uq

--HG--
extra : rebase_source : b4a8af61ec8f4129819d2e8d51a5b9adc449183c
2017-02-01 19:17:29 +11:00
Michael Froman
a7b3b8a6bb Bug 1325536 - ice telemetry. r=bsmedberg,chutten,drno
MozReview-Commit-ID: 8pZBXA8Pjea

--HG--
extra : rebase_source : 7ffca52f5eaccc0fad4b8cbc2104bbb57302190a
2017-01-11 19:57:03 -06:00
Nils Ohlmeier [:drno]
b17841ab7c Bug 1160558: add support to parse and respond to sctp-sdp-21. r=bwc
MozReview-Commit-ID: 5MYanM1GBNG

--HG--
extra : rebase_source : 9f0e6c7b49a13128dc47fa044a00551140a571a7
2017-01-19 16:52:47 -08:00
Carsten "Tomcat" Book
0745d54a39 merge mozilla-inbound to mozilla-central a=merge 2017-01-31 15:54:35 +01:00
Randell Jesup
81e923971d Bug 1334840: handle ReconfigureSendCodec before StartTransmitting r=ng
MozReview-Commit-ID: Aj9EH0sHkOS
2017-01-30 17:14:58 -05:00
Randell Jesup
e8948cb4f3 Bug 1219468: Remove the rest of the non-LazyLogModules in webrtc, except for cppunit tests r=erahm,ng
Also captures LOG(...) << .... uses in webrtc.org code when 'nspr' is the target

MozReview-Commit-ID: znvsArbS85
2017-01-27 23:35:17 -05:00
Raulie
4badadb786 Bug 1219468 - Replace PRLogModuleInfo usage with LazyLogModule in webrtc r=jesup
MozReview-Commit-ID: xWgNJ6u8aX
2017-01-27 23:35:10 -05:00
Randell Jesup
db244f7210 Bug 1332664: Cherry-pick upstream webrtc.org patch to not depend on 'experimental' includes for libvpx r=rillian 2017-01-27 21:10:58 -05:00
Andi-Bogdan Postelnicu
c3aa41c06b Bug 1334079 - prevent memory leak in CreateSession. r=cpearce
MozReview-Commit-ID: 7aaEkFcmiZF

--HG--
extra : rebase_source : e686021eabe8931105d3eae5e7f27f5a76ed21c1
2017-01-26 14:18:07 +02:00
Masatoshi Kimura
96cc4073b0 Bug 1325299 - Don't explicitly set PSAPI_VERSION. r=glandium
WINVER=0x0601 implies PSAPI_VERSION=2. We should not mix PSAPI_VERSION.

MozReview-Commit-ID: Ckxel4JNW2x

--HG--
extra : rebase_source : 3dc221ca67642ea810cb353869f76b82c40c7bf3
2016-12-30 01:29:52 +09:00
Kartikaya Gupta
1af1a82edf Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois

--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Byron Campen [:bwc]
b2a946a1d0 Bug 1322358: Don't disable m-sections in answer just because they're inactive. r=drno
MozReview-Commit-ID: 6YPwEk7bwIG

--HG--
extra : rebase_source : 30f843a0f73f0871b92e47de63f9c8a38588dd3c
2017-01-25 16:42:08 -06:00
Munro Mengjue Chiang
a50658a789 Bug 1331648 - detect device connection for the case /dev/v4l hasn't existed; r=jesup
MozReview-Commit-ID: 1erqrFScjr

--HG--
extra : rebase_source : ad4a4adde64f479a84a3f7fa093f71eef319436b
2017-01-25 14:52:19 +08:00
Phil Ringnalda
4711cdb9fd Backed out 4 changesets (bug 1333686) for ASan/static warnings-as-errors
CLOSED TREE

Backed out changeset 154ee971feb7 (bug 1333686)
Backed out changeset 514fdfd43d63 (bug 1333686)
Backed out changeset 313a9604211f (bug 1333686)
Backed out changeset 5c610ccf76de (bug 1333686)
2017-01-25 19:53:20 -08:00
Chris Peterson
0ffed7e59b Bug 1333686 - Part 4: Enable warnings-as-errors in webrtc/signaling. r=bwc
We must suppress the following -Winconsistent-missing-override clang warnings from an upstream webrtc header file to be able to compile webrtc/signaling as warnings-as-errors:

media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:29:15 [-Winconsistent-missing-override] 'SetExternalRecordingStatus' overrides a member function but is not marked 'override'
media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:31:15 [-Winconsistent-missing-override] 'SetExternalPlayoutStatus' overrides a member function but is not marked 'override'
media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:33:15 [-Winconsistent-missing-override] 'ExternalRecordingInsertData' overrides a member function but is not marked 'override'
media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:40:15 [-Winconsistent-missing-override] 'ExternalPlayoutData' overrides a member function but is not marked 'override'
media/webrtc/trunk/webrtc/voice_engine/voe_external_media_impl.h:47:15 [-Winconsistent-missing-override] 'ExternalPlayoutGetData' overrides a member function but is not marked 'override'

MozReview-Commit-ID: 1k5rdAWNfhk

--HG--
extra : rebase_source : cb95ceefe219c88679b3ab254bcb9447842de93c
2017-01-22 00:52:38 -08:00
Chris Peterson
7851892f9e Bug 1333686 - Part 2: Fix "unary minus operator applied to unsigned type" MSVC warnings in webrtc/signaling. r=bwc
Replace -1UL with ULONG_MAX.

media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c(584): warning C4146: unary minus operator applied to unsigned type, result still unsigned
media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c(585): warning C4146: unary minus operator applied to unsigned type, result still unsigned
media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c(586): warning C4146: unary minus operator applied to unsigned type, result still unsigned

MozReview-Commit-ID: EepB2xf4MZr

--HG--
extra : rebase_source : 3a86d6b58f1ed1a852de1038dbb7c6e0694b2714
2017-01-15 23:06:40 -08:00
Chris Peterson
37d44f94e8 Bug 1333686 - Part 1: Fix -Wswitch warning in webrtc/signaling. r=bwc
media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp:314:15 [-Wswitch] enumeration values 'kText', 'kApplication', and 'kMessage' not handled in switch

MozReview-Commit-ID: Jq8tPu0Qny8

--HG--
extra : rebase_source : 16c94c8bfe29c7b5d434d27d60979c4cfcb7b2dd
2017-01-15 14:06:50 -08:00
Boris Zbarsky
387da61c81 Bug 1335368 part 15. Remove the use of IsCallerChrome in ApplyConstraints. r=jib 2017-02-01 15:43:38 -05:00
Nils Ohlmeier [:drno]
a38f5b69d4 Bug 1334682: start trickle timeout only after we have received at least on candidate. r=bwc
MozReview-Commit-ID: DZ1oytW6Jof

--HG--
extra : rebase_source : f4e4b5f795471188581f3949f0a0abc9ad22a4e7
2017-01-27 14:34:42 -08:00
Randell Jesup
19cb0f9bd3 Bug 1333752: Fix memset sizes in rtt_filter.cc r=dminor
MozReview-Commit-ID: 3pnTseY4k2M
2017-01-25 13:28:13 -05:00
Randell Jesup
aee89e79af Bug 1300665: Add abs-send-time and toffset header extension usage and negotiation r=bwc
MozReview-Commit-ID: 3h9C8XziNky
2017-02-09 20:56:29 -05:00