2209 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Boris Zbarsky
387da61c81 Bug 1335368 part 15. Remove the use of IsCallerChrome in ApplyConstraints. r=jib 2017-02-01 15:43:38 -05: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
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
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
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
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
Randell Jesup
4d6ebaaa07 Bug 1332139: make system changes to fix libvpx include paths (prefer media/libvpx) r=ted 2017-01-20 10:42:32 -05:00
Randell Jesup
33fe82dde6 Bug 1332139: Remove LIBVPX_SVC hack for vp9 needed to work with libvpx 1.4 from webrtc r=ng 2017-01-20 10:42:30 -05: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
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
Randell Jesup
c2ddab6158 Bug 1330318: Fix droppedFrames statistic in webrtc, and improve debugs r=pehrsons 2017-01-18 08:47:39 -05:00
Paul Kerr [:pkerr]
ca7b17b7b1 Bug 1328142 - fix bug in VideoConduit::SetRemoteSSRC handling r=jesup 2017-01-05 18:15:07 -08:00
Paul Kerr [:pkerr]
c63cea9af7 Bug 1328142 - enable switching between simulcast receive streams r=jesup 2017-01-05 18:15:56 -08:00
Ryan VanderMeulen
187beffa39 Merge m-c to autoland. a=merge
--HG--
extra : rebase_source : 0de29cc9f544d8882d3e8c13572d3c4b98ba3c26
2017-01-18 09:59:53 -05:00