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

4792 Коммитов

Автор SHA1 Сообщение Дата
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
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
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