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

5052 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
JW Wang 235f1f55ed Bug 1356506 - change the type of MediaData::mTimecode to TimeUnit since int64_t is ambiguous. r=gerald
MozReview-Commit-ID: 7dO5OOUuORz

--HG--
extra : rebase_source : 1c1c020700d9180ef9f85d7e2e679f498ab71fce
extra : intermediate-source : d173c820bef7a113e28e9732c42e8c1af36160ab
extra : source : 04c08a780526ca3a5ac4d1a6f9b7ae30d9957e92
2017-04-14 14:52:14 +08:00
Mike Hommey 0f453b4ff8 Bug 1357328 - Remove media/webrtc/signaling/test/moz.build. r=jesup
Its content is a no-op since bug 1322707.

The code in the same directory, though, is meant to move to gtests
(bug 1316611).

--HG--
extra : rebase_source : fa269a034fd327856fde8d0673de58eba9b02d8e
2017-04-18 17:37:58 +09:00
Gerald Squelart f831fb83b9 Bug 1357279 - Make sure mRustTestMode is inside #ifndef RELEASE_OR_BETA - r=alfredo
mRustTestMode is only declared when not in RELEASE_OR_BETA, so we must guard
all its uses.

The one in GetTrackInfo was a mistake, it shouldn't have been used there, as
we always want to compare results (without crashing) and report differences as
a warning.

The other ones just need the `#ifndef RELEASE_OR_BETA` guard.

MozReview-Commit-ID: LE31viVyhov

--HG--
extra : rebase_source : 5aed13d02c3a1ef27627bbf687d9aef05dcbf8ac
2017-04-18 15:15:30 +12:00
JW Wang 464497b945 Bug 1355756. P1 - change the type of MediaData::mDuration to TimeUnit. r=gerald
MozReview-Commit-ID: 3d4bUYtSuMI

--HG--
extra : rebase_source : 94c821b6d381421035e6a12cbe038436055c5822
extra : intermediate-source : 9a06beffc736486f47b9cf05e7f482e726d53068
extra : source : fdbdcd5c1474f04dc1dbde66fcf3a9ecec953053
2017-04-12 17:27:34 +08:00
JW Wang d0454d90d1 Bug 1355745 - Change the type of TrackInfo::mMediaTime to TimeUnit. r=jya
MozReview-Commit-ID: 3vuPhLQBnFb

--HG--
extra : rebase_source : 465f8c6eb234694a101081bd5314cca63e4b3285
extra : source : bf604ecf38cbc46c286cc76c4f596fdfd397ac78
2017-04-12 16:53:09 +08:00
Wes Kocher 20dd5f52c2 Merge m-c to autoland, a=merge 2017-04-13 17:35:34 -07:00
Wes Kocher 514e230373 Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
JW Wang f45fa7374e Bug 1355740 - Change the type of TrackInfo::mDuration to TimeUnit. r=jya
MozReview-Commit-ID: P7aqw4d5Vk

--HG--
extra : rebase_source : f22743fec9c8b70cbb092e3b26e252e7a4cb0b31
extra : source : 2413cd58f073b734a2cb85cec3658942bfd46e08
2017-04-12 16:41:36 +08:00
Nico Grunbaum a9c52a60b1 Bug 1241066 - fix mozRtt always 0 or 1;r=jib
My shortest patch to date.

MozReview-Commit-ID: 8r3ZrGUk40D

--HG--
extra : rebase_source : 38cc51ce85e03c03f46e063bf92f594927d1365f
2017-03-20 16:58:53 -07:00
Nils Ohlmeier [:drno] 75a0220f53 Bug 1325513: Check RTP extension header length. r=jesup
MozReview-Commit-ID: 6sUVQjUh8bF

--HG--
extra : rebase_source : 296cb8688a9c27b437380e5f70fd3cf9d43629f2
2017-04-12 15:09:18 -07:00
John Lin ab9060d531 Bug 1349883 - part 3: resolve decode promise according to buffer status. r=jya
MozReview-Commit-ID: JwOOi56t30Y

--HG--
extra : rebase_source : 48f0cc0bfde3f84cc0574c5a5da6c738112c843f
2017-04-07 17:07:02 +08:00
Gerald Squelart 1564d36454 Bug 1341483 - MP4Metadata::GetTrackIndice() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: BIgvy5eKNJl

--HG--
extra : rebase_source : 251d61df6136ab46d8efe33edd4199fa5aabd2f0
2017-03-15 16:55:50 +11:00
Gerald Squelart 2ea7fba755 Bug 1341483 - MP4Metadata::Crypto() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: EywDv5JuDK6

--HG--
extra : rebase_source : 017cd996817b1aaa78f5c7bed9fa05da3baf442c
2017-02-27 21:32:03 +11:00
Gerald Squelart 7961918dfc Bug 1341483 - MP4Metadata::GetTrackInfo() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: KQ3fJzZkrGW

--HG--
extra : rebase_source : b9f4324f50c81f4945c0a47e63af0cb616ba013e
2017-02-27 17:05:41 +11:00
Gerald Squelart c93b449e6b Bug 1341483 - MP4Metadata::GetNumberTracks() now also returns a success/error code - r=kinetik
In addition to the returned MediaResult, a special number-of-tracks value
(not just 0) indicates an unrecoverable error.

For Rust-vs-Stagefright comparison purposes, an error is considered the same
as 0 (because Stagefright never returns errors, but Rust may, so complaining
about that would be too noisy, and useless to us.)

MozReview-Commit-ID: IwadWSOIWr4

--HG--
extra : rebase_source : 29f53ee6a02a0431adb0b615a122a4e7b480108c
2017-02-27 13:36:59 +11:00
Gerald Squelart 1bbbbd132d Bug 1341483 - MP4Metadata::Metadata() now also returns a success/error code - r=kinetik
The returned MediaResult is used as error or warning in MP4Demuxer::Init().

MozReview-Commit-ID: Bnv4xG8bCJ4

--HG--
extra : rebase_source : c1952ed61396834b0cd7da58c9b64481a5c46ab1
2017-02-27 13:01:11 +11:00
Nils Ohlmeier [:drno] 37ee2e02bb Bug 1355259: only filter out udp candidates if force_tcp is set. r=mjf
MozReview-Commit-ID: AKv0N74epZ1

--HG--
extra : rebase_source : 9a77174afca8fd45b614ec49f4eb86f04ced888a
2017-04-10 16:52:09 -07:00
Munro Mengjue Chiang d61aa73f60 Bug 1354993 - Add PictureID into VP8 CodecSpecificInfo. r=jolin
MozReview-Commit-ID: 7l2WygPuHRX

--HG--
extra : rebase_source : 1594349dbce9140041e0a976534327f5fd4ed8be
2017-04-10 14:49:36 +08:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Wes Kocher 05965b79a9 Merge inbound to central, a=merge 2017-04-10 16:32:45 -07:00
Paul Adenot ebfeb605e3 Bug 1348344 - Backed out changeset c72cf98f1527. r=achronop
This was meant to be temporary, and we can remove it now.

MozReview-Commit-ID: 2A9RKIabYIZ

--HG--
extra : source : e6cd7e39bfdd77772ffd3a36448b7763db7ec6d1
extra : histedit_source : dcb1bd9d144aaa9abeef38107a6ee6d85cdf7b2f
2017-04-10 17:15:29 +02:00
Nico Grunbaum 9352ee95aa Bug 1344970 - rename mozRtt to roundTripTime r=jib,smaug
MozReview-Commit-ID: 3kES8JUPd3n

--HG--
extra : rebase_source : e49846845d7cbd43f96d13cb1881e0383517f197
2017-03-06 15:50:10 -08:00
Paul Adenot b37280c289 Bug 1337641 - Temporarily disable an assert in cubeb duplex. r=achronop
MozReview-Commit-ID: GD57nZRoXFj

--HG--
extra : rebase_source : 638d4e3f38fb3f4989758f0f1ad7f9d5dc4680ab
2017-04-10 19:26:44 +02:00
Vineet 7c01ecff24 Bug 1337294 - Removed the unnecessary call to c_str() r=jesup
MozReview-Commit-ID: CpDEC7kRSXs

--HG--
extra : rebase_source : 7d44fe50c35abc6ee643a35821c9b3dea9560f10
2017-03-02 11:09:08 +05:30
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
Adam Velebil 69da80395b Bug 1308100 - Replace PL_strlen/PL_strnlen with strlen/strnlen;r=erahm
MozReview-Commit-ID: CGnzomkIsi5
***
Bug 1308100 - Replace PL_strlen/PL_strnlen with strlen/strnlen;r?erahm

--HG--
extra : rebase_source : a14b1538ed91848ecd02fb4607bce4cb9b2ab7c4
2017-04-13 20:47:00 +02: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
Nils Ohlmeier [:drno] 948bfcc4f7 Bug 969715: remove INET and INET6 from sctp build env. r=jesup
MozReview-Commit-ID: 4e67tOzltoc

--HG--
extra : rebase_source : c0c134bde1b0400b3fc37aaada0187948442e9cb
2016-12-08 23:49:43 -10:00
Nils Ohlmeier [:drno] 2b6192d5b7 Bug 1355010: temporarily turn off extmap direction verification to avoid Chrome interop issues. r=bwc
MozReview-Commit-ID: 76Zayg9XMi7

--HG--
extra : rebase_source : f5c3a27df5a54db51f18413405ea0e295c82a452
2017-04-11 14:08:32 -07: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
Alfredo.Yang 5db4f35048 Bug 1350178 - Get stagefright indices only when rust parser is off or TestMode is on for saving memory usage. r=kinetik
MozReview-Commit-ID: F9P9O8YHJWg

--HG--
extra : rebase_source : 9877c569539a542de2caee1f724cb239d09c70f2
2017-03-23 14:23:36 +08:00
Wes Kocher 03061ecb63 Bug 1349467 - Fix some Audio/Video BUG_COMPONENTs in moz.build files r=jmaher
MozReview-Commit-ID: 3ItJdCtiOul

--HG--
extra : rebase_source : 2db0d75589a0bd8f28bdd35f015949a1194bc47d
2017-03-22 17:23:12 -07:00
Carsten "Tomcat" Book 9b6d088496 merge autoland to mozilla-central a=merge
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
Andrea Marchesini 1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Glenn Randers-Pehrson dbfdd899bc Bug 1348356 - Update in-tree libpng to version 1.6.29. r=jrmuizel 2017-03-18 10:33:00 -04:00
Dan Minor f7809b18ec Bug 862837 - Build signaling unit tests on Windows; r=drno
MozReview-Commit-ID: 1pLKmXEcaAM

--HG--
extra : rebase_source : 4bef49068433660e5b44ea46b2ff4edd5065513a
2017-03-17 09:48:19 -04:00
Nils Ohlmeier [:drno] e7dd39ae18 Bug 1347813: take cumulativeLost from RTCP. r=jesup
MozReview-Commit-ID: LIPxL8vcnHl

--HG--
extra : rebase_source : e7df61a4200e088dba0b5f85d59669e99d35476f
2017-03-20 14:03:46 -07:00
Michael Froman 647131bd6f Bug 1345511 - pt 3 - start using IPC call for stun addrs in PCMedia. r=bwc
Two new calls are added to NrIceCtx.
1) A static call to allow StunAddrsRequestParent to get stun addrs from the main
process.
2) A call to allow StunAddrsRequestChild to pass the new stun addrs back to
PeerConnectionMedia on the content process.

PeerConnectionMedia, when running in e10s mode, sets up the StunAddrsRequestChild
and makes the async request to get the stun addrs.  When they are returned, it
sets the stun addrs in NrIceCtx avoid the network calls that would otherwise
cause a further restricted sandbox to fail.

MozReview-Commit-ID: C2hYBzm6WNv

--HG--
extra : rebase_source : 4c71056850c418efdc0f709f4d838a3e0bf4bee2
2017-03-22 09:59:46 -05:00
Michael Froman f0c929ff2d Bug 1345511 - pt 2 - add IPC mechanism for getting stun addrs on main process. r=bwc
PStunAddrsRequest.ipdl defines the new IPC protocol to get stun
  addrs on the main process.
StunAddrsRequestChild requests the stun addrs from the parent.
StunAddrsRequestParent uses a static method on NrIceCtx to get the
  stun addrs from the STS thead and sends the addrs back to the
  child process.
NrIceStunAddr (nricestunaddr.{cpp|h}) wraps nr_local_addr and makes
  it easier to serialize/deserialize over IPC.
NrIceStunAddrMessageUtils follows the pattern used by other Necko
  IPC classes to define top-level serialization/deserialization
  calls used by the IPC framework.

Modifications under netwerk/ipc are to connect the new IPC
protocol to get stun addrs to PNecko since it is a network
related IPC protocol.

MozReview-Commit-ID: GyEapBe5krl

--HG--
extra : rebase_source : c650d6aa4f7928bcae6032424303869074a755d4
2017-03-21 19:59:05 -05:00
Michael Froman 032f9ca0bc Bug 1345511 - pt 1 - nICEr changes to support stun addr gathering from main process. r=bwc
Expose a tweaked version of nr_ice_get_local_addresses to allow callers to
provide pre-fetched stun addrs if they are available.  By default, the normal
call to nr_ice_gather calls this with no pre-fetched stun addrs (read
non-e10s).  In e10s, the stun addrs are discovered on the main process and
provided to nr_ice_get_local_addreses.  When nr_ice_gather is called from
the content process the local addresses have already been gathered.

In the past, nr_ice_get_local_addresses also applied policy (by removing
duplicate addrs, and, based on stun prefs, removing loopback and/or
link_local addrs.  This functionality has been moved to
nr_ice_set_local_addresses where other policy is being applied (like
default route only, forcing specific interfaces, and prioritization).

Because we're now serializing nr_local_addr (wrapped by NrIceStunAddr), we
can't assume that certain pointer references in the source nr_local_addr
are correct when calling nr_local_addr_copy.  New non-pointer-arithmetic
version of setting up the pointer on the copied nr_local_addr is used.  Also
easier to understand when walking up to it the first time.

MozReview-Commit-ID: KVRFl4dfr7J

--HG--
extra : rebase_source : c0437700ad77ee3b7f98947d3505551ca9ed43e9
2017-03-16 12:06:09 -05:00
Alfredo.Yang 33f2386cd8 Bug 1349133 - Update mp4 rust parser. r=kinetik
MozReview-Commit-ID: JDKFUsJBpS9

--HG--
extra : rebase_source : 4c7f569dbafb3b34c485cbf0c35177d27579455c
2017-03-22 09:53:58 +08:00
Alfredo.Yang 66d934bf84 Bug 1349133 - Support video rotation. r=kinetik
MozReview-Commit-ID: GErgah40omc

--HG--
extra : rebase_source : 72436d54cce88b70a1b2d7c548821174331445ed
2017-03-21 16:01:14 +08:00
Petr Cerny 89ce732573 Bug 1292534 - Patch lexical parser files generated by flex. r=jgilbert
--HG--
extra : rebase_source : 75f659604b0dfbebe38e2d75912f00a171576439
2017-03-20 18:20:19 -04:00
Gerald Squelart ef98a8485d Bug 1346648 - Better pointer checks. r=cpearce
MozReview-Commit-ID: BjYCYS4h5qN

--HG--
extra : rebase_source : e1b079c4e7e29fcb2121ad3cfbc2c183798928b7
2017-03-14 09:33:16 +11:00
Paul Adenot 3fe3b37a3f Bug 1348344 - Add a way to disable the aggregate audio device on OSX, and log the resampler internal state. r=achronop,kinetik
MozReview-Commit-ID: C23SsRNfq2A

--HG--
extra : histedit_source : 654a54d4a2367595cd7acff6e473d191c4787754
2017-03-17 18:21:35 +01:00
Alfredo.Yang e8514c817f Bug 1347834 - update rust mp4 parser for audio codec specific data. r=kinetik
MozReview-Commit-ID: 29yu6VsFIE6

--HG--
extra : rebase_source : 353b9b287dd1f6160d883dda5852c2f57fe85256
2017-03-17 11:13:22 +08:00
Alfredo.Yang 4678e869de Bug 1347834 - retrieve audio codec specific config from rust parser. r=kinetik
MozReview-Commit-ID: 2x4sN0e7c5j

--HG--
extra : rebase_source : 3f4f27c0a2bc9f0d200ee646d68666c0c8adda59
2017-03-16 16:06:28 +08:00
Carsten "Tomcat" Book 468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Paul Adenot d608b2fd6e Bug 1341238 - Update cubeb to revision 4ab45776. r=kinetik 2017-03-16 18:26:32 +13:00
Nils Ohlmeier [:drno] 45e84a2ec3 Bug 1323723: update a=setup tests. r=bwc
MozReview-Commit-ID: LEKNXjKy80R

--HG--
extra : rebase_source : 0ab6554f534f44ffc46505c18cc6c0e92814edab
2017-03-15 15:52:06 -07:00
Nils Ohlmeier [:drno] 451faf7781 Bug 1323723: reject setup value actpass in answers. r=bwc
MozReview-Commit-ID: FnuiLB6OjbL

--HG--
extra : rebase_source : c1e133d3e0baa056b2238b7ec9e96e1194c32506
2017-03-13 21:38:25 -07:00
Nils Ohlmeier [:drno] d42d78db4e Bug 1323723: enforce a=setup in SDP offers. r=bwc
MozReview-Commit-ID: 88y11CrXdhf

--HG--
extra : rebase_source : 4148ee5b1e408350328efe7f1cf45199fbc26404
2017-03-14 14:39:54 -07:00