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

4752 Коммитов

Автор SHA1 Сообщение Дата
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
Carsten "Tomcat" Book 8ec9e87587 Merge mozilla-central to autoland 2017-01-20 15:44:30 +01:00
Carsten "Tomcat" Book 0cbb58ed4f merge mozilla-inbound to mozilla-central a=merge 2017-01-20 15:25:25 +01:00
Randell Jesup b1bdc1c66d Bug 1326442: Use reconfigure whenever possible on video renegotiation r=ng 2016-12-30 10:09:00 -08:00
John Paul Adrian Glaubitz 85ae466ed9 Bug 1329194 - media:webrtc: Add platform defines for SH. r=jesup 2017-01-20 09:12:03 +09:00
Carsten "Tomcat" Book 3b3ce27e84 Merge mozilla-central to mozilla-inbound 2017-01-19 16:35:21 +01:00
Carsten "Tomcat" Book 709bd29d0a merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00
Alastor Wu 4d3816d9e0 Bug 1332199 - remove always-true assertion. r=gerald
Because we read 8 bits from extradata, it won't exceed MAX_SPS/PPS_COUNT (256).

MozReview-Commit-ID: 5qr1pDLrmvt

--HG--
extra : rebase_source : 4a7269a7430ea913650298ad06a2132297dad85d
2017-01-19 17:37:29 +08:00
Johann a5afbf270c Bug 1328330 - Remove vp8 error concealment. r=jesup, r=jya
This feature is unused by WebRTC.

--HG--
extra : rebase_source : 6888ec8ef4ebd1fe8529132ac110d9f991f2abc7
2017-01-18 07:37:00 -05:00
Masatoshi Kimura 9929e7d3d2 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 : 932c67a3cae063fe4b0c5fec9048e67ce6286ad3
2016-12-30 01:29:52 +09:00
Alfredo.Yang 568c90bf22 Bug 1302027 - enable rust log when MP4Metadata prlog is set. r=kinetik
MozReview-Commit-ID: 7avZ5T4XKDY

--HG--
extra : rebase_source : 779e66adbb8fbcf5800bf31f555ce2db00afdd45
2016-12-29 14:56:34 +08:00
Wes Kocher 95949a3432 Merge m-c to inbound, a=merge
MozReview-Commit-ID: EMipuOLERUq
2017-01-18 15:39:49 -08:00
Wes Kocher 54c460dbd6 Merge inbound to m-c a=merge
MozReview-Commit-ID: 3cGydlfeaPN
2017-01-18 14:17:10 -08:00
Ryan VanderMeulen 3aad788019 Merge m-c to inbound. a=merge 2017-01-18 09:54:06 -05:00
Ryan VanderMeulen 4eacb032f5 Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00