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

4869 Коммитов

Автор SHA1 Сообщение Дата
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
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
Randell Jesup 6286ec73d4 Bug 1339244: add minimum bandwidth estimate support back in; lost in bug 1250356 r=ng
MozReview-Commit-ID: HCBsaoClerh
2017-02-13 18:45:31 -05:00
Randell Jesup 8e94f85a7d Bug 1339270: Add rtp 'padding' packets into rtp history for handling NACKs r=ng
Webrtc.org issue 7143:
https://bugs.chromium.org/p/webrtc/issues/detail?id=7143

MozReview-Commit-ID: 9pGj63gWSC6
2017-02-13 18:44:15 -05:00
Sylvestre Ledru 6a796d5276 Bug 1333002 - Fix a misleading indentation in PeerConnectionCtx.cpp r=drno
MozReview-Commit-ID: 1iSHCgsfW0a

--HG--
extra : rebase_source : 825e33bb860f8c8a6eb63f3733fa50272c186475
2017-01-23 10:04:58 +01:00
Phil Ringnalda ef758dcbf4 Backed out changeset 95d09880ddf6 (bug 1325536) for nsVariant::Release crashes 2017-01-20 22:05:26 -08:00
Michael Froman 007f4afe98 Bug 1325536 - ice telemetry. r=bsmedberg,chutten,drno
MozReview-Commit-ID: 8pZBXA8Pjea

--HG--
extra : rebase_source : 37efe5b463098ff1489d317b1f78206cac4963b3
2017-01-11 19:57:03 -06:00