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

4766 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
Phil Ringnalda 68b37a46e8 Merge m-i to m-c, a=merge 2017-01-20 19:00:04 -08:00
Wes Kocher eff114e84c Backed out 4 changesets (bug 1325299) for frequent Win7VM failures in browser_addonPerformanceAlerts.js a=backout
Backed out changeset cac5baad14a1 (bug 1325299)
Backed out changeset 933d06e4b567 (bug 1325299)
Backed out changeset c168221313d6 (bug 1325299)
Backed out changeset dcf71e5e5fc3 (bug 1325299)

MozReview-Commit-ID: DLAtTjf0iPB
2017-01-20 12:46:34 -08:00
Alex Chronopoulos 538d575a01 Bug 1331869 - Update cubeb from upstream to d96e35f02d. r=kinetik,padenot
MozReview-Commit-ID: 9H3cKh82Jwv

--HG--
extra : rebase_source : fc8f877e627aced0ff0fcc2d18766ba05560d6af
2017-01-19 18:02:42 +02:00