Eric Rahm
2d1b7da05b
Bug 1354207 - Set webrtc build flags when building under valgrind, etc. r=jesup
...
The webrtc gyp files have a 'build_for_tool' flag that controls among other
things what defines are provided at build time. This meant that during a
firefox valgrind build webrtc would still specify NVALGRIND, thus disabling
some valgrind macros. Similarly there are flags for asan and tsan that we
should probably have been specifying as well. This patch sets the
'build_for_tool' flag to the appropriate value when building under valgrind,
asan, and tsan.
2017-04-07 09:20:37 -07:00
Carsten "Tomcat" Book
3a762886de
Merge mozilla-central to mozilla-inbound
2017-04-07 15:33:03 +02:00
Wes Kocher
7da1f4c235
Merge m-c to inbound a=merge
2017-04-06 15:30:43 -07:00
Nils Ohlmeier [:drno]
45a1983cc1
Bug 1354222: fix log level casting warnings. r=erahm
...
MozReview-Commit-ID: A6hnPD3NkYr
--HG--
extra : rebase_source : a59a3d5acfdc219dd3f21b6acf1179125c766f5b
2017-04-06 11:00:35 -07:00
James Willcox
224324d56d
Bug 1344347 - Move Android out-of-process decoder service into GeckoView r=jolin
...
MozReview-Commit-ID: QTnp95uhQV
--HG--
rename : mobile/android/base/aidl/org/mozilla/gecko/media/FormatParam.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/FormatParam.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/ICodec.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/ICodec.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/ICodecCallbacks.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/ICodecCallbacks.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/IMediaDrmBridge.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaDrmBridge.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/IMediaDrmBridgeCallbacks.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaDrmBridgeCallbacks.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/IMediaManager.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaManager.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/Sample.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/Sample.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/SessionKeyInfo.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/SessionKeyInfo.aidl
rename : mobile/android/base/java/org/mozilla/gecko/media/AsyncCodec.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/AsyncCodec.java
rename : mobile/android/base/java/org/mozilla/gecko/media/AsyncCodecFactory.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/AsyncCodecFactory.java
rename : mobile/android/base/java/org/mozilla/gecko/media/Codec.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/Codec.java
rename : mobile/android/base/java/org/mozilla/gecko/media/CodecProxy.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/CodecProxy.java
rename : mobile/android/base/java/org/mozilla/gecko/media/FormatParam.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/FormatParam.java
rename : mobile/android/base/java/org/mozilla/gecko/media/GeckoMediaDrm.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrm.java
rename : mobile/android/base/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV21.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV21.java
rename : mobile/android/base/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV23.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV23.java
rename : mobile/android/base/java/org/mozilla/gecko/media/JellyBeanAsyncCodec.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/JellyBeanAsyncCodec.java
rename : mobile/android/base/java/org/mozilla/gecko/media/MediaDrmProxy.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/MediaDrmProxy.java
rename : mobile/android/base/java/org/mozilla/gecko/media/MediaManager.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/MediaManager.java
rename : mobile/android/base/java/org/mozilla/gecko/media/RemoteMediaDrmBridge.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/RemoteMediaDrmBridge.java
rename : mobile/android/base/java/org/mozilla/gecko/media/RemoteMediaDrmBridgeStub.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/RemoteMediaDrmBridgeStub.java
rename : mobile/android/base/java/org/mozilla/gecko/media/SamplePool.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SamplePool.java
rename : mobile/android/base/java/org/mozilla/gecko/media/SessionKeyInfo.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SessionKeyInfo.java
rename : mobile/android/base/java/org/mozilla/gecko/mozglue/SharedMemory.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/mozglue/SharedMemory.java
2017-04-06 14:32:58 -05:00
Michael Froman
1a2153bf46
Bug 1353575 - Switch to google stun server instead of twilio for ice_unittest.cpp. r=bwc,drno
...
MozReview-Commit-ID: HrS3oKjg17Z
--HG--
extra : rebase_source : a4a40bb9a5694054d736cabc7ff22b57037f6487
2017-04-04 13:47:54 -05:00
Byron Campen [:bwc]
f93af701e0
Bug 1353028: Fix broken extmap validation logic. r=drno
...
MozReview-Commit-ID: Egvr4ppNZ5Q
--HG--
extra : rebase_source : f22da96ae9beb4b43338f84168e41bfa230700d1
2017-04-03 15:05:31 -05:00
Carsten "Tomcat" Book
7a670cdd01
merge mozilla-inbound to mozilla-central a=merge
2017-04-05 14:33:35 +02:00
Alfredo.Yang
348ae4d9df
Bug 1329126 - update rust mp4 parser for preventing buffer overflow. r=kinetik
...
MozReview-Commit-ID: Ih85J4nejLx
--HG--
extra : rebase_source : 033d42491bbaf556a1e5adc09406cf6fa2f81e18
2017-03-31 15:49:43 +08:00
Nico Grunbaum
deeb9fdcf9
Bug 1348657 - Part 2 - split send/recv packet counts r=jib
...
MozReview-Commit-ID: 2SENT4rGsLX
--HG--
extra : rebase_source : 8a6c960871ed7fffb28d5a7676d20c016daa3b58
2017-03-30 10:59:46 -07:00
Nico Grunbaum
af67a2fb4c
Bug 1348657 - implement framesEncoded, pliCount, nackCount and firCount for webrtc stats r=jib,smaug
...
MozReview-Commit-ID: E873mbcrlLL
--HG--
extra : rebase_source : ca6f5d7ab0490948aaed1ae793ed5906149b7236
2017-03-21 21:52:06 -07:00
Eric Rahm
83eba01284
Bug 1353143 - Part 1: Explicitly include prlog.h in mtransport/logging.h. r=drno
...
This updates mtransport logging to explicitly include prlog.h and defines
MOZ_MTLOG in terms of PR_LOG rather than MOZ_LOG when building outside of XUL.
2017-04-04 14:36:14 -07:00
Carsten "Tomcat" Book
5d99fc5820
Merge mozilla-central to autoland
2017-04-04 12:38:55 +02:00
Carsten "Tomcat" Book
14e0b51ace
merge mozilla-inbound to mozilla-central a=merge
2017-04-04 12:35:03 +02:00
Paul Adenot
8db2de79d7
Bug 1351803 - Statically link to avrt.lib on Windows, when compiling cubeb. r=glandium
...
We used to get the symbols we need using `LoadLibrary`, but now (since
661c653c86
),
we can statically link to avrt.lib, because we only support Windows OSes that
have this library. For now, this works because avrt.lib is linked in
webrtc-land somewhere with a #pragma, but:
- We're going to stop using this bit of webrtc in the near future (around
Firefox 54)
- Not linking this explicitely where it's used breaks --disable-webrtc, that is
a popular option
MozReview-Commit-ID: 7b16Kdl3VUu
--HG--
extra : rebase_source : b4159872427b4e9d912e1228e75563ca9a8e828d
2017-03-30 06:26:19 -07:00
Matthew Gregan
2174e12534
Bug 1352929 - Update libcubeb to 04826edb. r=padenot
2017-04-04 14:02:04 +12:00
Randell Jesup
d5d480e33d
Bug 1349581: defer nativeRegistration for android Jni to avoid thread issues r=gcp
...
MozReview-Commit-ID: Ep0ej5HkGE3
2017-04-03 16:58:44 -04:00
Michael Froman
5ffad762cd
Bug 1350568 - don't dispatch IPC call to StunAddrsRequestChild after content process IPC channel goes away. r=jesup
...
MozReview-Commit-ID: IoAWO9Frf1u
--HG--
extra : rebase_source : fc3a5d8d066dadb476ea965014553c99515b1547
2017-03-26 13:30:28 -05:00
Tom Ritter
fcb35c70f7
Bug 1331349 Fix printf formatting errors in MinGW compilation r=froydnj
...
MozReview-Commit-ID: A4PMABfxzez
--HG--
extra : rebase_source : d0c40a495ad390aeb71ddc81c33daa081f6e0ba7
2017-03-31 00:14:43 -05:00
Chris Pearce
f96fedca29
Bug 1351954 - Change ClearKey CDM to allocate its video frame buffers optimally. r=gerald
...
The WMF decoder gives us video frames in buffers with the planes 16 row-aligned
for some reason. If we allocate our video frames the same size we waste memory.
So let's have the ClearKey CDM not allocate its video frames with the extra
padding rows.
Excluding the padding in our copy of the decoded data also makes my work in bug
1351953 easier.
MozReview-Commit-ID: 9dD40P6ST68
--HG--
extra : rebase_source : a6c4fea01e8bf2deef8edc78d0a041e8fed0c0b8
extra : source : 433028f9a2055869cd98710f0871d040605c0535
2017-03-28 18:00:01 +13:00
Ralph Giles
821d5fb522
Bug 1353944 - Update enums for mp4parse 0.8.0. r=kinetik
...
The support to namespace prefixing in moz-cheddar means we
can simplify exported enum names on the rust side. However
this makes for some spelling changes on the C side.
MozReview-Commit-ID: 4t6NDusx0uI
--HG--
extra : rebase_source : 1c1221507ce42965486d79e6809d1541f6410f55
2017-04-05 17:30:47 -07:00
Ralph Giles
3a9b45493a
Bug 1353944 - Update to mp4parse 0.8.0. r=kinetik
...
Sync with crates.io version. Just enum spelling changes.
MozReview-Commit-ID: BS02zEoJaV1
--HG--
extra : rebase_source : a1a13979ba30ba178cc42f5b5fae8a6f089dc4b9
2017-04-05 16:19:47 -07:00
Munro Mengjue Chiang
5907cfe44d
Bug 1265755 - Implement remote vp8 encoder and enable/disable them with pref; r=jolin
...
MozReview-Commit-ID: JZ1eUZNLAKq
--HG--
extra : rebase_source : 3d0da18ab91239db56d5425889d638b184e02b82
2017-03-30 09:00:13 +08:00
Dan Minor
1d80aba420
Bug 1351700 - Fix linking error when building webrtc-gtest; r=jesup
...
This adds a stub implementation for nsTraceRefcnt::WalkTheStack which we're
pulling in from <mozilla/Assertions.h> in some debug builds.
MozReview-Commit-ID: 6wVghIfKWWZ
--HG--
extra : rebase_source : 1e8472935c7f8ac486794fab764e08b30eea79ed
2017-03-29 14:22:23 -04:00
Nils Ohlmeier [:drno]
3fe5112bbb
Bug 1345791: ICE disconnect state is not a crash. r=bwc
...
MozReview-Commit-ID: IwrWVvjkNmX
--HG--
extra : rebase_source : e9c4b92acddb82298b439152e622132a49bd6daa
2017-03-29 16:39:42 -05:00
Tom Ritter
6c832ecd7e
Bug 1344909 When compiled with MinGW, use only a single core in gmp-clearkey r=cpearce
...
MozReview-Commit-ID: Ej9avF7TkaL
--HG--
extra : rebase_source : 804988fa70c9cc45bb404793dd1320dbd2bc4ac1
2017-03-23 13:58:54 -05:00
Dan Minor
774e2f6945
Bug 964133 - Build webrtc.org unit tests; r=jesup,ted.mielczarik
...
This adds a moz.build file for the tests. The alternative would be to hack up
the gyp files. Since gyp support has already been removed from upstream, this
does not really buy us anything as far as maintainabily goes. Once gn support
is available in our build system, we can remove this moz.build file and use
the gn files instead.
The include paths for the gtest and gmock headers in the webrtc.org tests are
not compatible with where we export the headers. We could patch each unittest,
but the include location has already changed upstream making this painful
to maintain. Instead, we duplicate the relevant headers to the expected path.
MozReview-Commit-ID: 1ADUAMxTCFq
--HG--
extra : rebase_source : 2cc10faa7018ee8af8e8f3d7805265ed2dd89507
2017-03-27 15:51:16 -04:00
Dan Minor
164d41ff3a
Bug 964133 - Add stub implementation of OSXRunLoopSingleton.cpp; r=jesup
...
MozReview-Commit-ID: 8yJh0V2rLoR
--HG--
extra : rebase_source : 3df843511ecb40af2b6d83030453758e838e94be
2017-02-07 13:47:00 -05:00
Dan Minor
f44831c17d
Bug 964133 - Build gflags; r=ted.mielczarik
...
This adds gflags to the list of ignored directories for clang static
analysis and adds "explicit" where required in mutex.h.
We also stop building a duplicate copy of snprintf for windows as our builds
already include a definition for it.
MozReview-Commit-ID: 4uMhTMvAKL0
--HG--
extra : rebase_source : d63d3797053c7720c725b3994cb3b2ca11bb191f
2017-03-28 15:46:57 -04:00
Dan Minor
15ed133076
Bug 964133 - Import gflags from webrtc.org branch 49; r=ted.mielczarik
...
MozReview-Commit-ID: 2AouGZrZa9w
--HG--
extra : rebase_source : 76ab8e4a280912aa08a6c94e1cdfb25488df836a
2017-03-08 11:33:01 -05:00
Dan Minor
6affa752e1
Bug 964133 - Fixup FakeIPC to build on windows; r=jesup
...
MozReview-Commit-ID: 2Jm82qs4hFL
--HG--
extra : rebase_source : dfade0944c84df23580121384d2501229b78c0c6
2017-01-30 15:37:57 -05:00
Dan Minor
d71edf00c9
Bug 964133 - Move FakeIPC to webrtc.org gtest; r=jesup
...
These were written for the signaling tests but are no longer needed there
because those tests link against libxul. They are still useful for the
webrtc.org unit tests, so we should move them there.
MozReview-Commit-ID: GVskiZebq19
--HG--
rename : media/webrtc/signaling/test/FakeIPC.cpp => media/webrtc/trunk/gtest/FakeIPC.cpp
rename : media/webrtc/signaling/test/FakeIPC.h => media/webrtc/trunk/gtest/FakeIPC.h
extra : rebase_source : 57b70f5dd3a55e73de0b066f228ddf957f477c26
2017-01-13 14:03:17 -05:00
Dan Minor
429e0c1350
Bug 964133 - move nICEr and nrappkit to libxul; r=ted.mielczarek
...
Building these as part of the webkit lib adds unnecessary dependencies on Mozilla code for things that only case about the webrtc static lib.
MozReview-Commit-ID: 7ThU7hAwRX0
--HG--
extra : rebase_source : eef256711e205d023a647e6196dcc61e657f6e28
2017-01-13 09:28:43 -05:00
Dan Minor
4205129c92
Bug 964133 - Remove webrtc.org copy of gtest; r=ted.mielczarek
...
MozReview-Commit-ID: LURWNU2zwRT
--HG--
extra : rebase_source : 5a0c8cd1e56bfbe82e581bce9dcf2cb126a605c5
2017-03-28 15:44:38 -04:00
Byron Campen [:bwc]
87716f1d4e
Bug 1344556 - Part 6: Sanity check extmaps in answers. r=drno
...
MozReview-Commit-ID: Jv91RSe9ooL
--HG--
extra : rebase_source : b61404a8b41d68b3153bee8bdcd44d8a2359a2c8
2017-03-08 15:02:28 -06:00
Byron Campen [:bwc]
5ae671c866
Bug 1344556 - Part 5: Fix bug where sendonly extmaps would be configured on recv tracks, and vice versa. r=drno
...
MozReview-Commit-ID: DMwDGCnUTYX
--HG--
extra : rebase_source : c2eb3698f4d625d2e08d7deb6c27cce0d0312f01
2017-03-08 15:02:01 -06:00
Byron Campen [:bwc]
fa0a599b34
Bug 1344556 - Part 4: Fix bug where direction on negotiated extmaps was recorded backwards. r=drno
...
MozReview-Commit-ID: BFQ2WcNs4OH
--HG--
extra : rebase_source : c1805d0a166cbbdf53dbde85e5e772a2dbeff1ec
2017-03-08 14:13:44 -06:00
Byron Campen [:bwc]
46618bebbc
Bug 1344556 - Part 3: When answering, pay attention to JS simulcast constraints. r=drno
...
MozReview-Commit-ID: Krwt1om2NLF
--HG--
extra : rebase_source : 788533a7dbc6a0c9b70275652f7d006b1d29d763
2017-03-08 13:51:10 -06:00
Byron Campen [:bwc]
71467de191
Bug 1344556 - Part 2: Some helper functions for working with SDP direction attributes. Makes subsequent work simpler. r=drno
...
MozReview-Commit-ID: 177Sp8pj9kX
--HG--
extra : rebase_source : a91a896baf342cd49de18d082c5188ab4b82dead
2017-03-08 13:49:12 -06:00
Byron Campen [:bwc]
94936dea03
Bug 1344556 - Part 1: Test cases for simulcast answerer. r=drno
...
MozReview-Commit-ID: DiHjaPlmmDx
--HG--
extra : rebase_source : 9319082052b02d731d7a3016906bde128e72414a
2017-03-08 11:22:32 -06:00
Randell Jesup
80022975a2
Bug 1349233: allow SSRC changes in VideoConduits r=bwc
...
MozReview-Commit-ID: 6PNyjLyl9L0
2017-03-28 10:43:10 -04:00
Carsten "Tomcat" Book
bc21c019f3
Merge mozilla-central to mozilla-inbound
2017-03-28 13:05:57 +02:00
Randell Jesup
340f43be8a
Bug 1350912: Set min and start bandwidth according to b=TIAS, instead of only max r=drno
...
MozReview-Commit-ID: DH1rFn53sNN
2017-03-28 06:54:12 -04:00
Gerald Squelart
6c6f29c5e9
Bug 1351094
- gtest - r=alfredo
...
MozReview-Commit-ID: 7n9ZYSO2ECF
--HG--
extra : rebase_source : de1778bd585817fcd9cfd4a236f8ea909b6fc050
2017-03-28 12:04:32 +11:00
Gerald Squelart
30bc48ac6f
Bug 1351094
- Catch div/0 when hz==0 in MPEG4Extractor's unitsToUs - r=alfredo
...
MozReview-Commit-ID: KLgUg3UYiNQ
--HG--
extra : rebase_source : 45c26f5cea0e2d11eee785ae3255fe341707a55d
2017-03-28 10:10:05 +11:00
Gerald Squelart
44d96daa9b
Bug 1351152 - Run gtest for both Stagefright and Rust MP4 parsers - r=alfredo
...
MozReview-Commit-ID: BSaMIi6UnVz
--HG--
extra : rebase_source : 25b60c7a5ac97e1f3625324e995723e32e7026be
2017-03-28 13:54:45 +11:00
Michael Froman
31e4ce10aa
Bug 1350055 - fix --disable-webrtc build with new PStunAddrsRequest.ipdl r=jduell
...
MozReview-Commit-ID: 5oxJtUppHWC
--HG--
extra : rebase_source : 7cfbddb1168711439530b3ead47bd35bec70ab80
2017-03-23 20:04:41 -05:00
Alfredo.Yang
b6f5ac4f52
Bug 1330243 - update gtest for mp4 rust parser. r=kinetik
...
MozReview-Commit-ID: 3CfsHkpk625
--HG--
extra : rebase_source : 1f2b54f8c058bb6d9fdb649224d4a09df662c06f
2017-03-25 17:55:06 +08:00
Alfredo.Yang
fb9844d916
Bug 1330243 - add preference to enable rust mp4 parser. r=kinetik
...
MozReview-Commit-ID: LINNEMiXYx4
--HG--
extra : rebase_source : 747b9854b0d5d1f0419c59c5966414872e8ea158
2017-03-14 15:42:09 +08:00
Ben Kelly
4ffa062ade
Bug 1350398 Remove Workers.h include from BindingUtils.h now that ThrowDOMExceptionForNSResult no longer exists. rs=bz
2017-03-24 15:27:11 -04:00