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

6449 Коммитов

Автор SHA1 Сообщение Дата
byron jones cd4fa62854 Bug 1507051 - replace libyuv's README_MOZILLA with moz.yaml; r=jesup
Replace README_MOZILLA with moz.yaml, various fixups for update.py, and create
a missing patch file from Bug 1491848.

Differential Revision: https://phabricator.services.mozilla.com/D11891

--HG--
extra : moz-landing-system : lando
2018-11-23 13:00:07 +00:00
Byron Campen [:bwc] 97690b385d Bug 1494312 - Part 3: Expose RLog stuff via MediaTransportHandler. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D11777

--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:51 +00:00
Byron Campen [:bwc] e6218aee8a Bug 1494312 - Part 2: Make the internal PC stats API based on MozPromise. r=mjf,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D11776

--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:52 +00:00
Byron Campen [:bwc] 69e7155b3a Bug 1494312 - Part 1: Remove unused nsresult returns from MediaTransportHandler. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D11775

--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:23 +00:00
Andreas Pehrson 0c346714e6 Bug 1423241 - Remove fake-class-based webrtc unittests. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D12285

--HG--
extra : moz-landing-system : lando
2018-11-23 15:03:07 +00:00
Andreas Pehrson 4213b7db86 Bug 1423241 - Refactor DecodedStream. r=jya
This removes DecodedStream's use of MediaStreamListener in favor of
MediaStreamTrackListener. This change has however rippled through to a lot
more cleanup, per below.

This moves the MediaStreamTrack lifetime ownership for captured
HTMLMediaElements from the media element to DecodedStream, where the
MediaStreamGraph-side tracks are already created and ended today.

This makes MediaStreamTrack creation explicit across the entire codebase and
lets us remove the MediaStreamTrackSourceGetter class and the infrastructure
of adding MediaStreamTracks after they've already been created in the graph
from DOMMediaStream.

With track ownership, and thus TrackID allocation ownership, happening
exclusively in DecodedStream for its output tracks, we also stop throwing
away and recreating the SourceMediaStream to which we feed data on seek.
This is one step closer to fixing bug 1172394 and spec compliance of
HTMLMediaElement.captureStream().

Differential Revision: https://phabricator.services.mozilla.com/D12273

--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:03 +00:00
Andreas Pehrson e80887ac8d Bug 1423241 - Return appended StreamTime samples appended through AppendToTrack. r=padenot
This allows DecodedStream to accurately track how many samples have been
appended to a track, even with resampling enabled.

Differential Revision: https://phabricator.services.mozilla.com/D12272

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:48 +00:00
Andreas Pehrson 80cde33d12 Bug 1423241 - Always add tracks at the stream's current time. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12271

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:42 +00:00
Andreas Pehrson bae0391522 Bug 1423241 - Move MediaPipeline from MediaStreamListener to MediaStreamTrackListener. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D9104

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:30 +00:00
Jean-Yves Avenard e9ab7f5485 Bug 1505284 - P4. Split preferences to enable WebRTC with MediaDataDecoder. r=padenot
So that we can disable just the H264 decoders while allowing VP8 or VP9.

Differential Revision: https://phabricator.services.mozilla.com/D12539

--HG--
extra : moz-landing-system : lando
2018-11-22 16:31:16 +00:00
Dan Minor c5bce82ff0 Bug 1507413 - Increase number of media streams supported by sipcc; r=bwc
This also removes SDP_MAX_LINE_LEN which is unused.

Differential Revision: https://phabricator.services.mozilla.com/D12472

--HG--
extra : moz-landing-system : lando
2018-11-21 20:00:19 +00:00
byron jones bb7a59d509 Bug 1509236 - replace libsoundtouch's README_MOZILLA with moz.yaml r=jya
Differential Revision: https://phabricator.services.mozilla.com/D12624

--HG--
extra : moz-landing-system : lando
2018-11-22 09:42:20 +00:00
Nico Grunbaum 0c719fb462 Bug 1489040 Update WebRTC ICE candidate stats field name ipAddress to address r=mjf,jib,smaug
Bug 1489040 - P1 - Update WebRTC ICE candidate stats field ipAddress to new name, address
Bug 1489040 - P2 - adjust WebRTC stats mochitest for new stat name 'address'
Bug 1489040 - P3 - add test for legacy WebRTC stat names

Differential Revision: https://phabricator.services.mozilla.com/D5560

--HG--
extra : moz-landing-system : lando
2018-11-22 00:14:36 +00:00
Dan Minor 118f324018 Bug 1411681 - Cherrypick 6728003bcf5657da8f9ed52ad84f46c1197ce54b from upstream webrtc.org; r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D12417

--HG--
extra : moz-landing-system : lando
2018-11-20 12:07:07 +00:00
Dan Minor a88b07525e Bug 1406941 - Add unittests for configuring AudioConduit; r=padenot
Depends on D12017

Differential Revision: https://phabricator.services.mozilla.com/D12018

--HG--
extra : moz-landing-system : lando
2018-11-19 17:00:35 +00:00
Dan Minor 5efc93cb87 Bug 1406941 - Make AudioConduit more easily unit testable; r=padenot
This makes Init and DeleteChannels virtual and mRecvChannelProxy and
mSendChannelProxy protected. This will allow unit test code to override
the creation of channels so that we can use a mocked ChannelProxy instead.

Depends on D12016

Differential Revision: https://phabricator.services.mozilla.com/D12017

--HG--
extra : moz-landing-system : lando
2018-11-19 17:00:43 +00:00
Dan Minor 80bc9e8334 Bug 1406941 - Remove unused error handling code from SetLocalRTPExtensions; r=padenot
Rather than returning an error, the channel proxies have asserts that the
underlying calls to the channel objects succeeded.

Depends on D12015

Differential Revision: https://phabricator.services.mozilla.com/D12016

--HG--
extra : moz-landing-system : lando
2018-11-19 17:46:15 +00:00
Dan Minor 6c797e79ae Bug 1406941 - Set opus maxplaybackrate in AudioConduit; r=padenot
This was regressed by the branch 64 update. The parameter is used in
audio_encoder_opus.cc.

Depends on D12014

Differential Revision: https://phabricator.services.mozilla.com/D12015

--HG--
extra : moz-landing-system : lando
2018-11-19 17:01:16 +00:00
Dan Minor f064d3d180 Bug 1406941 - Fix typo in videoconduit_unittests.cpp; r=padenot
Depends on D12013

Differential Revision: https://phabricator.services.mozilla.com/D12014

--HG--
extra : moz-landing-system : lando
2018-11-19 17:01:25 +00:00
Dan Minor a9a121b9e9 Bug 1406941 - Remove unused fields from JsepAudioCodecDescription; r=bwc
Packet size and rate are no longer configured inside AudioConduit, so there is
no reason to continue to define them here. We now take the defaults provided
by webrtc.org.

Depends on D12012

Differential Revision: https://phabricator.services.mozilla.com/D12013

--HG--
extra : moz-landing-system : lando
2018-11-19 17:44:16 +00:00
Dan Minor 450258b20a Bug 1406941 - Remove unused fields from AudioCodecConfig; r=padenot
With the branch 64 update we no longer configure packet size and rate
ourselves. Instead, we use the defaults provided in acm_codec_database.cc.
This removes the unused fields from AudioCodecConfig, the next commit does the
same thing for JsepAudioCodecDescription.

Differential Revision: https://phabricator.services.mozilla.com/D12012

--HG--
extra : moz-landing-system : lando
2018-11-19 17:01:33 +00:00
Thomas Daede 9735214d9a Bug 1501796 - Use nasm when yasm is requested. r=firefox-build-system-reviewers,mshal
Includes changes to support nasm's stricter include paths.

Supports falling back to yasm if nasm is missing.

Differential Revision: https://phabricator.services.mozilla.com/D9972

--HG--
extra : moz-landing-system : lando
2018-11-16 01:20:58 +00:00
Csoregi Natalia c9b70719c8 Merge mozilla-central to autoland. CLOSED TREE 2018-11-16 00:19:45 +02:00
Dan Horák 02a48779df Bug 1506644 - Add webrtc.org build configs for PPC and Arm Linux platforms; r=dminor
--HG--
extra : rebase_source : b9d40305a0bb16700d3863048424d892fde04001
2018-11-15 08:34:27 -05:00
Margareta Eliza Balazs d5555d2998 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-15 18:22:30 +02:00
byron jones e79d7f7cdf Bug 1507057 - libtheora: replace libtheora's README_MOZILLA with moz.yaml; r=jya
Add moz.yaml and update `update.sh` to match other media libraries.

Note after upstream's switch from SVN to git the RSC headers have changed,
however, these changes have not yet been committed.  I've updated the patch
that had hunks with context extending into the RSC header so it continues to
apply after pulling from git.

Differential Revision: https://phabricator.services.mozilla.com/D11975

--HG--
extra : moz-landing-system : lando
2018-11-15 12:04:58 +00:00
Byron Campen [:bwc] 03444d1918 Bug 1487278: When a transceiver is stopped/disassociated by a remote description, clear its transport id too. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D11778

--HG--
extra : moz-landing-system : lando
2018-11-14 23:29:41 +00:00
David Major 79ef206dc5 Bug 1503363: Regenerate webrtc moz.build files. r=dminor
--HG--
extra : rebase_source : 44e3d835c4bac4cd6692a406329512d16a3357c6
2018-11-14 10:37:21 -05:00
David Major a09f9b750d Bug 1503363: Add gn json files for x64-windows. r=dminor
--HG--
rename : media/webrtc/gn-configs/x86_False_x86_win.json => media/webrtc/gn-configs/x64_False_x64_win.json
rename : media/webrtc/gn-configs/x86_True_x86_win.json => media/webrtc/gn-configs/x64_True_x64_win.json
extra : rebase_source : 6c72890bf43767f91faf185530610215a596d46b
2018-11-14 10:28:54 -05:00
Chris Manchester 8bc396706e Bug 1503363: Add gn json files for x86-linux. r=dminor
--HG--
rename : media/webrtc/gn-configs/x64_False_x64_linux.json => media/webrtc/gn-configs/x64_False_x86_linux.json
rename : media/webrtc/gn-configs/x64_True_x64_linux.json => media/webrtc/gn-configs/x64_True_x86_linux.json
extra : rebase_source : 64ef7ed051b5e4796194f35cf26efe4b78280b99
2018-11-14 10:28:53 -05:00
David Major abaa2d2c68 Bug 1503363: Add gn json files for aarch64-windows. r=dminor
--HG--
extra : rebase_source : f96fd2ef8e045d4a0b56da883fa1542b4ab3e48b
2018-11-14 10:28:46 -05:00
David Major 7b8d1cf803 Bug 1503363: De-unify some more webrtc files due to conflicting defines. r=dminor
--HG--
extra : rebase_source : ca3573f29f4ed56a64e39b702636dace1616c42d
2018-11-14 10:06:58 -05:00
Coroiu Cristina d850d799a0 Merge inbound to mozilla-central a=merge 2018-11-14 11:51:31 +02:00
Nils Ohlmeier [:drno] 13c6f01479 Bug 1505733: add recording of DTLS protocol version used by PeerConnections. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D11300

--HG--
extra : moz-landing-system : lando
2018-11-10 20:29:57 +00:00
Nils Ohlmeier [:drno] d0376ddab9 Bug 1456417: made MLineIndex nullable. r=bwc,smaug
Differential Revision: https://phabricator.services.mozilla.com/D10807

--HG--
extra : moz-landing-system : lando
2018-11-13 22:52:24 +00:00
Byron Campen [:bwc] 33bc9bd6b6 Bug 1498793: Accept msid without track id r=mjf,jib
Differential Revision: https://phabricator.services.mozilla.com/D10925

--HG--
extra : moz-landing-system : lando
2018-11-12 19:25:59 +00:00
byron jones 0ef0024e3e Bug 1505278 - replace libmkv's README_MOZILLA with moz.yaml. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D11147

--HG--
extra : moz-landing-system : lando
2018-11-11 22:01:14 +00:00
Dan Minor cc500ea702 Bug 1506500 - Use ReceiveStreamStatistics for GetRTCPSenderReport; r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D11794

--HG--
extra : rebase_source : 1d71f849f75b77f7e2834afa50f91a8259c7cb56
2018-11-13 11:43:17 -05:00
Brindusan Cristian 3a68003805 Backed out 3 changesets (bug 1503363) for build bustages on mozbuild. CLOSED TREE
Backed out changeset adc6f14f89e4 (bug 1503363)
Backed out changeset 0b7dd43c1e2e (bug 1503363)
Backed out changeset 8c2426b552ac (bug 1503363)
2018-11-13 18:28:48 +02:00
David Major 08ccde641f Bug 1503363: Regenerate webrtc moz.build files. r=dminor 2018-11-13 11:13:42 -05:00
David Major 9735854f16 Bug 1503363: Add gn json files for aarch64-windows. r=dminor 2018-11-13 11:13:42 -05:00
David Major becc139296 Bug 1503363: De-unify some more webrtc files due to conflicting defines. r=dminor 2018-11-13 11:13:41 -05:00
Paul Vitale 09f4c06235 Bug 1203503 - part 2. replace proxy tunnel with new ipc-based tunnel r+bwc, r+mayhemer
This replaces the tunnel using a new nr_socket implementation.  Proxy detection
code is still done in the peer connction.  However, the result is only used to
detect a proxy.  The result is unused.  Address resolution is done by necko code
in the parent process.  The new socket wraps a WebrtcProxyChannel which uses
necko to handle proxy negotiation.  This has a happy side effect of enabling all
authentication modes that necko already supports for http proxies.

This adds a protocol for Necko to manage, WebrtcProxyChannel.  This new protocol
serves as a pipe for a CONNECT tunnel.  It is only used in WebRtc and not built
in no WebRtc builds.

--HG--
extra : rebase_source : a951841f95eaaa0562886cf76b405b01f1adf70e
extra : intermediate-source : 5c3da21957fc80b07188bc8a405437b858027a22
extra : source : 594a32883463ab051677ba06e22fa6d062b4b4a9
2018-06-05 12:10:16 -05:00
Dan Minor 0185d52ba2 Bug 1376873 - Reduce thread stack size in platform_thread.cc; r=bwc
Summary:
The current default stack size of 1M results in intermittent OOMs on win32
builds while running web-platform tests. The value of 256k was chosen for
consistency with the default value used elsewhere in Gecko, which is defined in
nsIThreadManager.idl.

Reviewers: bwc

Tags: #secure-revision

Bug #: 1376873

Differential Revision: https://phabricator.services.mozilla.com/D11090

--HG--
extra : rebase_source : 9039a5c4ac25c227ee65b0321fdffdecd81d085c
2018-11-05 10:33:02 -05:00
Dan Minor 29c115bb15 Bug 1376873 - Add generated moz.build files; r=ng
--HG--
extra : rebase_source : 4b6fbd953d68e9092be0159f2af004bf96a1226e
2018-09-13 07:53:01 -04:00
Jan Beich f14826a7c9 Bug 1376873 - Add WebRTC 64 gn-configs for BSDs. r=dminor f=gaston
All gn-configs were generated on a single FreeBSD amd64 machine:
- DragonFly and NetBSD have is_clang=false, so differ only in target_os/OS_TARGET
- FreeBSD and OpenBSD have is_clang=true, so differ only in target_os/OS_TARGET
- x86 (i386) configs are from 32-bit chroot on x86_64 (amd64)
- arm (armv7) and arm64 (aarch64) configs are from qemu-user chroot
- qemu-user can't run rustc atm, so configure was hacked to work without
- qemu-user crashes with gn 68 on aarch64, so gn 65 was used

--HG--
extra : rebase_source : fb05d660c299851de6226fb23c6873bdfc34237f
2018-10-12 12:57:04 -04:00
Jan Beich e13e881da5 Bug 1376873 - Unbreak WebRTC 64 build on BSDs. r=dminor f=gaston
--HG--
extra : rebase_source : 84db77b91bced707b6465ffc9683d8b733512c74
2018-10-12 12:56:27 -04:00
Dan Minor c8da55a336 Bug 1376873 - Update gn generated json files; r=ng
This updates the gn generated json files for tier-1 platforms, and removes
the outdated configurations for remaining platforms.

--HG--
extra : rebase_source : bccb7a5476d5d0a66aa90657f839cea5e49ff4ce
2018-02-23 15:01:50 -05:00
Andreas Pehrson 30610de2f0 Bug 1376873 - Use VP8SimulcastAdapter in VideoConduit; r=ng
The VP8SimulcastAdapter automatically handles cropping to accomodate
constraints on VP8 simulcast streams that each stream have exactly half the
width and height of the higher resolution stream before it.

This also adjusts min_bitrate_estimate in
test_peerConnection_simulcastOddResolution.html to compensate for changes in
the simulcast resolutions chosen by the webrtc.org code.

Differential Revision: https://phabricator.services.mozilla.com/D7482

--HG--
extra : rebase_source : b7ea403f7c9d6175a34eb11c7af17dd12ee55c31
2018-09-21 16:45:47 +02:00
Dan Minor 0cf790ab2b Bug 1376873 - Fix up rotation in video_capture_impl.cc; r=pehrsons
This fixes a bug in the upstream code introduced when they removed the
ConvertToI420 helper method from webrtc_libyuv.cc. The buffer size is
passed into libyuv::ConvertI420 incorrectly when rotation is applied, which
causes bad rendering and instabilities.

Differential Revision: https://phabricator.services.mozilla.com/D7478

--HG--
extra : rebase_source : d6910e01ebd81a626b6924f04b31f37b87900a66
2018-09-19 15:06:13 -04:00