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

6496 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson ac369ba83b Bug 1253499 - Break out VideoStreamFactory to separate file. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D6263

--HG--
extra : moz-landing-system : lando
2018-09-19 15:51:46 +00:00
Andreas Pehrson 6f26c10cda Bug 1253499 - Don't lock the conduit's mutex in VideoStreamFactory to avoid deadlocks. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D6152

--HG--
extra : moz-landing-system : lando
2018-09-19 15:01:28 +00:00
Andreas Pehrson 6bb6b7df2d Bug 1253499 - Fix VideoConduit's maxFps gtest. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D6151

--HG--
extra : moz-landing-system : lando
2018-09-19 15:01:03 +00:00
Andreas Pehrson a47bf6c705 Bug 1253499 - Keep a single video codec config in MockCall. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D6150

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:57 +00:00
Andreas Pehrson c09f5af6aa Bug 1253499 - Make RTPSender.setParameters reconfigure the encoder. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D4134

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:51 +00:00
Andreas Pehrson a677f0bd40 Bug 1253499 - Implement a new scaling algorithm for simulcast. r=bwc,dminor
webrtc.org is picky about resolutions for simulcasst layers.
As of current it will assert that all layers have identical aspect ratio.
We handle this by ignoring layers where the aspect ratio is not the same as
the highest layer's.

The new algorithm will, when simulcast is requested and at least one layer
is scaled to something other than 1.0, try to remedy this by:
- The highest resolution layer is cropped to 16-pixel alignment, to ensure
  that scaling options exist.
- A separate VideoAdapter is used for simulcast layers, with the highest
  layer's resolution as an aspect ratio requirement. This forces the
  simulcast adapter to retain that aspect ratio in any scaling decisions.

This doesn't make scaling decisions spec-compliant (floor the width and
height respectively) but it does allow for control of scaling via
setParameters and keeps scaling decisions in upstream code to ensure
good compat with upstream's part of the pipe; encoders, etc.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:45 +00:00
Andreas Pehrson bfcb6bed9f Bug 1253499 - Add gtest for scaling all layers. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4132

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:39 +00:00
Andreas Pehrson 05c3bdc366 Bug 1253499 - Update gtests to cover live-updates to codec config and new algorithm. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4131

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:33 +00:00
Andreas Pehrson 2e9aea732c Bug 1253499 - Add simulcast scaleDownBy encoding gtest. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4130

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:27 +00:00
Andreas Pehrson 952d6a8d56 Bug 1253499 - Add scaleDownBy encoding gtest. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4129

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:21 +00:00
Andreas Pehrson b6fba2b5ad Bug 1253499 - Assert that chrome-only RID methods are succesful. r=bwc
A failure here typically indicates a test error, so it's useful for debugging.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 14:59:44 +00:00
arthur.iakab 1ee75a928a Merge inbound to mozilla-central a=merge 2018-09-19 05:18:50 +03:00
Noemi Erli efdd6a208a Backed out changeset 7aa742bff8fb (bug 1473736) for xpcshell failures and bc failures in browser_urlbarSearchSingleWordNotification.js 2018-09-18 22:07:58 +03:00
Ryan VanderMeulen f53c113d39 Bug 1491467 - Update libpng to 1.6.35. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D5913

--HG--
extra : moz-landing-system : lando
2018-09-18 18:33:11 +00:00
Dragana Damjanovic f000a5b4b0 Bug 1473736 - Implement necko part of ESNI r=mcmanus
Implement necko part of ESNI

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

--HG--
extra : moz-landing-system : lando
2018-09-17 23:08:14 +00:00
Jean-Yves Avenard 25a4bdf7f8 Bug 1489052 - Resync cubeb to b832dae6e48d3a95d1e6d977d0b7c53a873fd246. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D6032

--HG--
extra : moz-landing-system : lando
2018-09-18 11:38:20 +00:00
Byron Campen [:bwc] b530163b3c Bug 1491476: Fix strncpy length in a couple of error cases. r=mjf,drno
--HG--
extra : rebase_source : 5830c7df02247cea4395abe5d88dd59e5aa318b9
extra : amend_source : 6867b4861a4517d1c597cbd20074f47c7044baba
2018-09-18 16:56:25 +03:00
Andreas Tolfsen 4eb1661657 bug 1490674: rsdparsa: relax log crate dependency version; r=drno
Because all Rust crates in the tree are vendored, using the wildcard
"*" version dependency could have unintended reprecussions on
rsdparsa if another crate changes its log version dependency.

This patch, along with the others associated with this bug, upgrades
the log crate to 0.4.* throughout.  This has the benefit that we
can get rid of the duplicate vendored log crates in third_party/rust.
2018-09-14 12:28:00 +01:00
Andreas Tolfsen 2c2a931c23 bug 1490674: audioipc: relax log crate dependency version; r=kamidphish
By relaxing the version dependency on the log crate we are able to
get rid of duplicate vendored crates.

This particular version number, combined with rsdparsa depending
on "*" (anything) meant that a change to this version number in
audioipc would have reprecussions on the dependencies of rsdparsa.
I will address the wildcard version in a separate patch on rsdparsa.
2018-09-14 12:28:00 +01:00
Nils Ohlmeier [:drno] 3dab079c7c Bug 1479665: add GCM ciphers to SrtpFlow. r=bwc
add GCM ciphers to SrtpFlow

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

--HG--
extra : moz-landing-system : lando
2018-09-14 03:12:05 +00:00
Noemi Erli a548d10a8c Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
Jim Chen 1129b28317 Bug 1480834 - 1. Add WebRTC config for x86_64 on Android; r=dminor
Add GN config files and updated moz.build files for building WebRTC on
Android x86_64.

Differential Revision: https://phabricator.services.mozilla.com/D4479
2018-09-13 12:09:25 -04:00
Bryce Van Dyk 413ba3feef Bug 1487811 - P1: Update Widevine headers and C++ code to prepare for CDM interface 10 support. r=cpearce
Update content_decryption_module.h and other Widevine headers. This removes the
CDM8 interface and adds in the CDM10 and CDM11 interfaces. As such this patch
removes references to CDM8 from the code and adds some of the foundations for
supporting CDM10. Most of the CDM10 code will be implemented in another bug, but
there are a number of cases where it was straight forward to shuffle CDM8+9 code
-> CDM9+10, rather than deleting it and replacing it later.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 14:49:10 +00:00
Andreas Pehrson 36b18d1b4e Bug 1404992 - Recreate the VideoConduit's video adapter when setting the send codec config. r=dminor
This enables us to configure it for cropping to a certain resolution alignment in a future patch.
For instance with simulcast, so we don't have to skip a layer because it is impossible to scale
the highest layer any further without losing the aspect ratio.

--HG--
extra : rebase_source : 4560c60dfa95213b2f3357d0b279c07835402b33
extra : source : e80af22a3bf37ad8fa5762d9a16d677d2befd470
2018-09-11 14:51:39 +02:00
Andreas Pehrson cddafa728d Bug 1404992 - Don't rely on VideoAdapter in VideoConduit unittests. r=dminor
--HG--
extra : rebase_source : 267a182c709ff1777b02d455f2a6f3309260c397
extra : source : db576775e6fcb18ab3546550a60e57482c91f68d
2018-09-11 14:51:37 +02:00
Andreas Pehrson d226723e37 Bug 1404992 - Audit, document, assert and fix threading policy of VideoConduit. r=dminor, r=bwc
--HG--
extra : rebase_source : 281771b96a3f0c2a95d6a7c7ccf0556c1a869001
extra : source : 7d1e74f3e80158dbb71adc5d1c036941e7ab8da9
2018-09-11 14:51:32 +02:00
Andreas Pehrson 2e19da61da Bug 1404992 - Make VideoConduit scaling use a buffer pool. r=dminor
--HG--
extra : rebase_source : 52d5e5b6519a32119bca44ff685782ad244552d6
extra : source : b3f5796ab356f19763759d4eeb21df1b443de33f
2018-09-11 14:51:29 +02:00
Andreas Pehrson c30f9f1367 Bug 1404992 - Refactor incoming frames' scaling path. r=dminor
--HG--
extra : rebase_source : 3282c6d8a20d4fd7450e99c03bde821aff06b66e
extra : source : 823952d81821d65a6a8c3a0031e532fc3dffb825
2018-09-11 14:51:26 +02:00
Andreas Pehrson 8865bbcbfe Bug 1404992 - Initialize VideoConduit members in declarations. r=dminor
--HG--
extra : rebase_source : e552430cc47444800c06d445b2e49941c488057c
extra : source : 7a06d3a9341ada35c1336f5bdf899c3817baff61
2018-09-11 14:51:24 +02:00
Andreas Pehrson 793fde35a0 Bug 1404992 - Reduce bitrate selection paths. r=dminor
--HG--
extra : rebase_source : bd1202ed1389d10c4c3162ab01e168007e535872
extra : source : a45420fb1dd0cc7971b7fe6e170bfd88c96db6d2
2018-09-11 14:51:21 +02:00
Andreas Pehrson 16fdd518b3 Bug 1404992 - Use common code to convert images to I420. r=dminor
--HG--
extra : rebase_source : 7cb2c551870e06f4929da3366a523eaff9b86b2c
extra : source : f37bd9a9f4af84a6068d0b030427dab47bed7eb8
2018-09-11 14:51:16 +02:00
Andreas Pehrson 4525ecf9db Bug 1404992 - Remove unused/unnecessary code and do some cleanup. r=dminor
--HG--
extra : rebase_source : 75c9dd16a4a98d7c7e35e2fb350bb2744401e63b
extra : source : ee698a8bb92c2570b91ac65a2c8fe9fb7f680b71
2018-09-11 14:51:13 +02:00
Dan Minor 83a7068d62 Bug 1487049 - Set ENABLE_HARDENING for libopus; r=jmspeex
Reviewers: jmvalin

Tags: #secure-revision

Bug #: 1487049

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

--HG--
extra : rebase_source : 3d7e33970e51389a1c8fac4f512fc894022463fd
2018-09-04 08:15:09 -04:00
Dan Minor 97e20c839b Bug 1487049 - Update libopus non-unified build files; r=jmspeex
Tags: #secure-revision

Bug #: 1487049

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

--HG--
extra : rebase_source : c5f7f27fcfd0eddde40bcb4ad0630e0ecd03f045
2018-08-30 10:31:19 -04:00
Dan Minor 0647afe16d Bug 1487049 - Update libopus to v1.3-rc-19-g5cbd7d5f; r=jmspeex
Tags: #secure-revision

Bug #: 1487049

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

--HG--
extra : rebase_source : be8730e9af46dae04923be4497132795f58fb2dd
2018-08-30 10:29:43 -04:00
Nathan Froyd b47b2129d2 Bug 1481515 - add a libvpx config for aarch64 windows; r=padenot,jya,dminor 2018-09-11 16:05:09 -04:00
Dan Minor 9601e808c9 Bug 1487419 - Save current desktop configuration in ScreenCapturerMac::Init; r=pehrsons
Summary:
The fix for Bug 1409018 accidentally removed saving the current desktop
configuration during Init() which causes it to not be set when a different
screen is selected, meaning that regardless of the choice made, only the
first screen is captured.

Reviewers: pehrsons

Tags: #secure-revision

Bug #: 1487419

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

--HG--
extra : rebase_source : bb4f9a0f4e06dfbd9730b7af4a0748749d72c3da
2018-09-05 13:55:27 -04:00
Nils Ohlmeier [:drno] e88a043618 Bug 1480869: define SRTP ciphers suites inside mtransport r=mt
define SRTP cipher suites inside mtransport

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

--HG--
extra : moz-landing-system : lando
2018-09-11 03:58:34 +00:00
Tom Ritter 9653a5e959 Bug 1489550 Remove a stray merge file that got commited r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D5281

--HG--
extra : moz-landing-system : lando
2018-09-07 17:46:47 +00:00
Jean-Yves Avenard 2db366fbd9 Bug 1489102 - P1. mp4parse-rust resync to f6032a118aa498525145adf611cd7b3bec0e0216 r=bryce
temp fix, will do a full one once upstream change is merged

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

--HG--
extra : moz-landing-system : lando
2018-09-07 14:17:06 +00:00
Martin Thomson 1d41c9edcb Bug 1485883 - Handle use_srtp extension in gecko, r=drno
Summary:
This implements the SRTP extension in TransportLayerDtls.  My hope is
that we can expunge the SRTP code from NSS in a few releases.

Reviewers: drno

Subscribers: ekr

Tags: #secure-revision

Bug #: 1485883

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

MozReview-Commit-ID: Cwjrn9wsCQr
2018-09-07 11:50:21 +10:00
Jean-Yves Avenard 032d3b87d7 Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D5041

--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 13:18:00 +00:00
Coroiu Cristina 79c7b523f8 Backed out changeset 29daa22239e9 (bug 1488065) for mda failures at dom/media/test/test_videoPlaybackQuality_totalFrames.html 2018-09-06 14:06:11 +03:00
Christian Holler 98c039b689 Bug 1488702 - Add an AV1 decoder fuzzing target. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D5027

--HG--
extra : moz-landing-system : lando
2018-09-06 10:25:28 +00:00
Jean-Yves Avenard 38a3bd2e77 Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D5041

--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 08:42:52 +00:00
Narcis Beleuzu 1e60ae6690 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-30 20:08:44 +03:00
Nathan Froyd 9cd5a72ad2 Bug 1481512 - limit libvorbis x86-64 assembly to x86-64 windows; r=padenot
...rather than all 64-bit Windows implementations.
2018-08-30 13:00:36 -04:00
Dan Minor 51b2f38d60 Bug 1486817 - Use separate log modules for mediapipeline and rtplogger; r=bwc
This restores the separate mediapipeline and RtpLogger lazy log modules that
were unified with the Signaling log module in Bug 1402334.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 17:10:17 +00:00
Margareta Eliza Balazs 2fe43133db Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Tom Ritter 7e0fefeaa0 Bug 1475566 Disable #pragma comments for MinGW Builds r=glandium
In the MinGW browser build job, we're going to use -fms-extensions,
which will tell clang to start processing these comments. Clang
cannot process them correctly (it's an upstream bug) but it doesn't
need to, because we include the libs we need in moz.build files.

So we exclude them for MinGW builds. mingw-clang gets them wrong and
mingw-gcc (which doesn't even work anymore on -central) ignored them.

In the future, with a llvm fix, we could clean up the moz.build
files and re-enable these comments.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 03:50:39 +00:00
Byron Campen [:bwc] 2a2903b7fe Bug 1483338: Stop using level as the identifier for media transports. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D3448

--HG--
extra : moz-landing-system : lando
2018-08-28 19:45:58 +00:00
Henri Sivonen 4bf9055862 Bug 1485592 - Avoid isdigit() in sdp_utils.c. r=drno
This fixes two problems:
 1) On Windows, isdigit() is locale-dependent.
 2) On platforms where char is signed, sign-extending char to int and passing
    the result to isdigit() was UB when the high bit was set, because
    isdigit() is defined to take a (signed) int with the value space of
    unsigned char or EOF.

MozReview-Commit-ID: D1lY88PEcpc

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:12:16 +00:00
Matthew Gregan ab37fcf704 Bug 1471922 - Update cubeb-pulse-rs to 79886477. r=kamidphish
--HG--
extra : rebase_source : 5ecf7036ff47adb36f55d8578e484154a81f7e95
2018-08-26 20:34:41 +12:00
Matthew Gregan 8f2c9bd605 Bug 1470041 - Update audioipc to 3d716fe8. r=kamidphish
--HG--
extra : rebase_source : cd12646e3d97093a3830ba7f8ba32c2a146cf8f4
2018-08-26 20:33:19 +12:00
Matthew Gregan 574fed09a7 Bug 1480003 - Update libnestegg to 7bafcb95. r=bryce
--HG--
extra : rebase_source : d49e929e5e462ffc57c5eccde1d97238c8d10631
2018-08-26 20:30:18 +12:00
Nils Ohlmeier [:drno] 0362a1b463 Bug 1484024: add Telemetry histogram for DTLS ciphers on RTCPeerConnection r=francois,mt
Added a Telemetry histrogram which collects which DTLS cipher got
negotiated when a RTCPeerConnection connected.

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

--HG--
extra : moz-landing-system : lando
2018-08-24 22:49:42 +00:00
Nathan Froyd 0c3b82172f Bug 1486028 - update webrtc config headers to work with aarch64 windows; r=jesup 2018-08-28 20:23:04 -04:00
Makoto Kato cac0bc6570 Bug 1434589 - Part 2. Update moz.build. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D3608

--HG--
extra : moz-landing-system : lando
2018-08-22 19:45:19 +00:00
Makoto Kato 58535b8081 Bug 1434589 - Part 1. Add gn-configs for Linux/aarch64. r=chmanchester
When building binaries for Linux/aarch64, ./mach configure cannot generate
Makefile by the following error.  So we need Linux/aarch64's gn-configs.


 1:07.80 mozbuild.frontend.reader.SandboxValidationError:
 1:07.80 ==============================
 1:07.80 FATAL ERROR PROCESSING MOZBUILD FILE
 1:07.80 ==============================
 1:07.80 The error occurred while processing the following file or one of the files it includes:
 1:07.80     /hg/mozilla-central/media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build
 1:07.80 The error occurred when validating the result of the execution. The reported error is:
 1:07.80     Source file should only be added to UNIFIED_SOURCES once: /media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c

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

--HG--
extra : moz-landing-system : lando
2018-08-22 19:45:38 +00:00
Masatoshi Kimura 49ee57f31d Bug 1485028 - Fix warnings that are specific to clang-cl ASAN builds. r=dmajor
--HG--
extra : source : f0b577cc8b920352dfe297e7ec9cca58b1838c5d
2018-08-22 02:02:56 +09:00
Philipp Hancke 3a00b39e7b Bug 1481851 - Add kind to RTCRtpStreamStats as alias to mediaType. r=ng,smaug
spec change in https://github.com/w3c/webrtc-stats/issues/301
2018-08-08 17:30:40 +02:00
Thomas Daede 2868cd8be4 Bug 1417050: Add support for AV1 in MP4. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D3365

--HG--
extra : moz-landing-system : lando
2018-08-20 23:56:39 +00:00
Byron Campen [:bwc] f2c9b6dc47 Bug 1465617: (Speculative fix because STR are missing) Don't crash if no video send codecs are negotiated. r=mjf
This _might_ be the fix for the nullptr crash in bug 1465617.

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

--HG--
extra : moz-landing-system : lando
2018-08-14 14:35:50 +00:00
Masatoshi Kimura b190c1c0b3 Bug 1482583 - Suppress clang-cl warnings in some third-party directories. r=mshal
--HG--
extra : rebase_source : 68621ca3ad2565e173f3350744125993f85f49f3
2018-08-11 06:05:19 +09:00
Masatoshi Kimura bcf431f3d3 Bug 1482547 - Suppress clang-cl warnings in media/mtransport/third-party/. r=froydnj
--HG--
extra : rebase_source : 71916734b08001258076bc10db3711b191430eb9
2018-08-11 06:08:07 +09:00
Philipp Hancke 08d0f88897 Bug 1481725: change minimum bitrate for VGA to 150kbps r=bwc
and adapt min bitrate below that.
Limits taken from the webrtc.org simulcast bitrate table.
2018-08-09 12:17:13 +02:00
Andreea Pavel 5d75e43adc Merge mozilla-inbound to mozilla-central. a=merge 2018-08-14 19:15:33 +03:00
Jean-Yves Avenard caf8ead5fc Bug 1482841 - P1. Update mp4parse-rust to 643f48e137592e6318f6c780448374324908da31. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D3261
2018-08-14 14:38:42 +02:00
Nils Ohlmeier [:drno] e6eaea8889 Bug 1481548: Added additonal comparison for fmtp r=bwc
Added additional fmtp comparison for the parsing resutl comparer by
implementing the C++ == operator for SdpFmtpAttributeList.

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

--HG--
extra : moz-landing-system : lando
2018-08-14 00:36:23 +00:00
Dan Minor 07a423be37 Bug 1480092 - Cherrypick rev 52add5896661d186dec284ed646a4b33b607d2c7. r=drno
--HG--
extra : amend_source : 8787ebf1cb3e3dc39ab38f78a82387c86903249b
2018-08-13 11:32:47 -04:00
Dan Minor fdd6584333 Bug 1433158 - Disable avx512 in libvpx; r=jya
Summary:
This disables building avx512 due to difficulty in getting a working set of
compiler flags across our supported platforms. Rather than carrying this patch
forward, we should revisit supporting avx512 when we do the next update.

Reviewers: jya

Tags: #secure-revision

Bug #: 1433158

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

--HG--
extra : rebase_source : 0b828be5559a985a8ec5f12d6712b970545d0d83
2018-08-07 11:29:17 -04:00
Dan Minor 8f8bdf9e76 Bug 1433158 - Update libvpx to 1.7.0; r=jya
Reviewers: jya

Tags: #secure-revision

Bug #: 1433158

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

--HG--
extra : rebase_source : b0637fc24a3159b7b5d9ac017240be80dc07ce37
2018-08-07 14:21:57 -04:00
Dan Minor 2fa2ea17f5 Bug 1433158 - Remove vp9_svc.patch; r=jya
Summary:
This patch is already applied to the webrtc.org code and doing a libvpx update
does not remove it, so having this present leads to merge conflicts during the
update as it attempts to patch already patched code.

Reviewers: jya

Tags: #secure-revision

Bug #: 1433158

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

--HG--
extra : rebase_source : e641e8645467565f329c72f0869fe18aa2def846
2018-08-07 09:12:41 -04:00
Ciure Andrei 6056bb970c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-07 01:11:21 +03:00
Byron Campen [:bwc] 02bdb2d1ab Bug 1479853: Prevent more than one VideoConduit having the same remote SSRC. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D2738

--HG--
extra : moz-landing-system : lando
2018-08-06 18:08:55 +00:00
Masatoshi Kimura 3b21b7868b Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Karl Tomlinson defeece367 bug 1476231 remove now-unused libav from lgpllibs r=jya
MozReview-Commit-ID: AjFS01DBXqT

--HG--
extra : rebase_source : 09923977cb864066fc56502427104234bab90f7d
2018-07-16 17:35:34 +12:00
Karl Tomlinson b99ba5e660 bug 1476231 add ffmpeg floating point real FFT functions to ffvpx when MOZ_LIBAV_FFT is configured r=jya
New files are from ffmpeg n3.4-1-g587fadaef1.

MozReview-Commit-ID: E9eLPySCpCz

--HG--
rename : media/libav/libavcodec/avfft.c => media/ffvpx/libavcodec/avfft.c
rename : media/libav/libavcodec/avfft.h => media/ffvpx/libavcodec/avfft.h
rename : media/libav/libavcodec/dct.h => media/ffvpx/libavcodec/dct.h
rename : media/libav/libavcodec/fft-internal.h => media/ffvpx/libavcodec/fft-internal.h
rename : media/libav/libavcodec/fft.h => media/ffvpx/libavcodec/fft.h
rename : media/libav/libavcodec/fft_float.c => media/ffvpx/libavcodec/fft_float.c
rename : media/libav/libavcodec/fft_template.c => media/ffvpx/libavcodec/fft_template.c
rename : media/libav/libavcodec/rdft.c => media/ffvpx/libavcodec/rdft.c
rename : media/libav/libavcodec/rdft.h => media/ffvpx/libavcodec/rdft.h
rename : media/libav/libavcodec/x86/fft.asm => media/ffvpx/libavcodec/x86/fft.asm
rename : media/libav/libavcodec/x86/fft.h => media/ffvpx/libavcodec/x86/fft.h
rename : media/libav/libavcodec/x86/fft_init.c => media/ffvpx/libavcodec/x86/fft_init.c
extra : rebase_source : 35a960b3248bb23dbf56c19baad91b665094fbac
2018-07-15 20:08:27 +12:00
Karl Tomlinson 2ab37ac350 bug 1476231 remove unnecessary x86/cpuid.s, which does not exist in libav-11.3 r=jya
MozReview-Commit-ID: Ldani0i3n2e

--HG--
extra : rebase_source : 97a18b49d3810fc85951a29667fe6945f8a36259
2018-07-07 17:57:01 +12:00
Johannes Willbold 783eb76c4a Bug 1477815: Removed RustSdpAttributeType, r=dminor
Removed the enum RustSdpAttributeType and replaced it with the SdpAttributeType enum.

MozReview-Commit-ID: IcJnbnWa4IB

--HG--
extra : rebase_source : befb118948740122dbbdd033e20176351bdd2884
2018-07-23 13:45:04 -07:00
Johannes Willbold 0ee54d4592 Bug 1479510: Added a telemetry probe that records failed rsdparsa parsings, r=dminor
Added a telemetry probe that records failed rsdparsa parsings and whether the sipcc result contains errors.

MozReview-Commit-ID: BHfDRy8MyfZ

--HG--
extra : rebase_source : 9b03f1a8d0655926af1e561cc27e5549490616b2
2018-07-30 10:38:35 -07:00
Byron Campen [:bwc] a600a51631 Bug 1476600: Stop reusing mids from stopped transceivers. r=jib
When a transceiver is stopped, its mid should not be reused by a new transceiver.

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

--HG--
extra : moz-landing-system : lando
2018-07-31 20:44:47 +00:00
Byron Campen [:bwc] 7bd8b38fc7 Bug 1472321: Make sure sink identity is set on recvonly/inactive transceivers. r=drno,mjf
MozReview-Commit-ID: jZHsDKN5o6

--HG--
extra : rebase_source : 7483eff18a89aeb439ef4c02bdc6632e788b1a88
2018-07-17 09:43:27 -05:00
Byron Campen [:bwc] 006d12d9ba Bug 1474661: Fixed bug where we were overwriting the high quality simulcast config with the next one down, and add another entry to the resolutions/bitrates table. r=ng
MozReview-Commit-ID: DhPYvioLqAe

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

--HG--
extra : moz-landing-system : lando
2018-07-30 22:27:27 +00:00
Johannes Willbold 0911d849a0 Bug 1476750: Updated preferences controlling Rust SDP Parse behavior, r=dminor,drno
Renamed the pref media.webrtc.rsdparsa_enabled to media.peerconnection.sdp.rust.compare
Added the pref media.peerconnection.sdp.rust.enabled
Added both to all.js

media.peerconnection.sdp.rust.compare: Controls whether the parsing result comparer for sipcc and rsdparsa runs or not.
media.peerconnection.sdp.rust.enabled: Controls whether the rsdparsa runs in parallel to the sipcc parser.

MozReview-Commit-ID: Ac5P7T2NBYD

--HG--
extra : rebase_source : afd60243ccba27965bea193bbe29d91bf7bf2644
2018-07-24 12:36:23 -07:00
Kris Maglione 08c58039d9 Bug 1476405: Part 6 - Register AudioIPC threads with the profiler. r=kinetik
Presumably the Rust portion of this will have to land externally first and
then be imported, but I have no idea how or where to submit it.

MozReview-Commit-ID: 2gzQbRKxaZ9

--HG--
extra : rebase_source : 582e41200e69ff3722585c7664ddd122eb0de2fe
extra : intermediate-source : e0a021b27d2c66d46ba973d66d1360678411da26
extra : source : 6d18a8bd5ee351da1a0cdfaa63f49706a2f95ba3
2018-07-18 23:29:16 -07:00
Johannes Willbold e78b28d3b8 Bug 1432955: Implemented sdp parsing comparer, r=bwc,francois
Added signaling/src/sdp/ParsingResultComparer.h/.cpp
Added SDP comparer with telemetry and debug logging

MozReview-Commit-ID: ErdnLGPxHHF

--HG--
extra : rebase_source : ab9106915620f4bc0b8340cdec94d2e5c80966ae
2018-07-05 16:06:41 -07:00
dvarga d8ac8507c9 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : amend_source : 25781a5ccee21a19f5c6ccacc2c96ab7eb4ed6b5
2018-07-28 01:32:38 +03:00
Cosmin Sabou 778ca4f84f Backed out 8 changesets (bug 1476405) for causing frequent failures in bug 1479022. a=backout
Backed out changeset ad1674e9152d (bug 1476405)
Backed out changeset e0a021b27d2c (bug 1476405)
Backed out changeset 771288dbf852 (bug 1476405)
Backed out changeset aeebad4f2dc3 (bug 1476405)
Backed out changeset 4831cbfd03de (bug 1476405)
Backed out changeset 0b0c243a1827 (bug 1476405)
Backed out changeset 236b366fdf37 (bug 1476405)
Backed out changeset c767b1b618fb (bug 1476405)
2018-07-28 01:25:25 +03:00
Dan Minor 0663fd94ea Bug 1478000 - Prepend -Xclang to -Wall; r=dmajor
Summary: We want the clang interpretation of -Wall, not the clang-cl one,
which translates -Wall as -Weverything.

Reviewers: dmajor

Tags: #secure-revision

Bug #: 1478000

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

--HG--
extra : rebase_source : df684c3ca3088e91d584c715f6219f4318d00c62
2018-07-27 09:12:31 -04:00
Dan Minor 93b2696647 Bug 1476408 - Only build stats code if examples are enabled; r=TD-Linux
Summary: I didn't have time to get this upstreamed prior to this update.

Reviewers: TD-Linux

Tags: #secure-revision

Bug #: 1476408

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

--HG--
extra : rebase_source : ec43830e191d7c0d899d93f08d912c64a4eba002
2018-07-24 10:37:28 -04:00
Dan Minor 48e87ceaf3 Bug 1476408 - Update libaom to rev b25610052a1398032320008d69b51d2da94f5928; r=TD-Linux
Tags: #secure-revision

Bug #: 1476408

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

--HG--
extra : rebase_source : fa2438ada27a67e400617705014460b6d5ff485c
2018-07-23 14:28:45 -04:00
Dan Minor d421ba3540 Bug 1476408 - No longer necessary to run lint_config.sh anymore; r=TD-Linux
Summary:
Upstream can now code generate the rtcd interface files directly from the
aom_config.h header, so we no longer have to generate an intermediate file by
running lint_config.sh. This also means we can remove the code for creating a
temporary directory.

Reviewers: TD-Linux

Tags: #secure-revision

Bug #: 1476408

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

--HG--
extra : rebase_source : 8effc0fc61403db473fc90bc3989912b46133c3e
2018-07-23 16:08:09 -04:00
Dorel Luca 704612cf44 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-27 13:19:26 +03:00
Kris Maglione a7ff7da720 Bug 1476405: Part 6 - Register AudioIPC threads with the profiler. r=kinetik
Presumably the Rust portion of this will have to land externally first and
then be imported, but I have no idea how or where to submit it.

MozReview-Commit-ID: 2gzQbRKxaZ9

--HG--
extra : source : 6d18a8bd5ee351da1a0cdfaa63f49706a2f95ba3
extra : histedit_source : aa7995595e2699d53f1dc60410b90cfd0d4a5c4e
2018-07-18 23:29:16 -07:00
Coroiu Cristina 6d037d0cba Backed out 9 changesets (bug 1476405) for causing leaks
Backed out changeset 4113d6fb3c1c (bug 1476405)
Backed out changeset cb7f7cc32687 (bug 1476405)
Backed out changeset 6d18a8bd5ee3 (bug 1476405)
Backed out changeset b2a99f50e642 (bug 1476405)
Backed out changeset b5b9d295545d (bug 1476405)
Backed out changeset f092a32a3639 (bug 1476405)
Backed out changeset 6c154f4d9dd9 (bug 1476405)
Backed out changeset d0ebb3aa8e0f (bug 1476405)
Backed out changeset 06b8093ddc6a (bug 1476405)
2018-07-27 08:56:36 +03:00
Kris Maglione 89c5723e0a Bug 1476405: Part 6 - Register AudioIPC threads with the profiler. r=kinetik
Presumably the Rust portion of this will have to land externally first and
then be imported, but I have no idea how or where to submit it.

MozReview-Commit-ID: 2gzQbRKxaZ9

--HG--
extra : rebase_source : 05924114b7ff1c48ce0c4584469b3b2ef0bc26cb
2018-07-18 23:29:16 -07:00
Byron Campen [:bwc] 02f535024e Bug 1478685: Set the RTP MID to the mid of the transceiver, not the transport id string. r=mjf
MozReview-Commit-ID: 30OrgQwpR8u

--HG--
extra : rebase_source : 80c37525644bb126da462a76a4a0fcabfcc09fcc
2018-07-26 10:54:51 -05:00
Gurzau Raul c151424110 Backed out changeset 7c66524457aa (bug 1477815) for build bustage at toolkit/library/gtest/rust/target on a CLOSED TREE 2018-07-26 23:16:36 +03:00
Johannes Willbold 691c4fd1b0 Bug 1477815: Removed RustSdpAttributeType, r=dminor
Removed the enum RustSdpAttributeType and replaced it with the SdpAttributeType enum.

MozReview-Commit-ID: IcJnbnWa4IB

--HG--
extra : rebase_source : 5a446b1624f763c6db02419c525a324ee18a2f69
2018-07-23 13:45:04 -07:00
Johannes Willbold 72bcd957b6 Bug 1437165: Handled unimplemented attributes in RsdparsaSdpAttributeList::LoadAttribute, r=bwc
Added comment stating that these are unused: label, ice-mismatch and connection
Handled rtcp-rsize attribute.

MozReview-Commit-ID: JdWfq0PR480

--HG--
extra : rebase_source : f92a1aec957672202fbd93a4ef5c6cbd1757a15a
2018-07-23 12:25:01 -07:00
Dan Minor 66b7a2fb25 Bug 1478000 - nICEr and nrappkit should use the same warnings under clang-cl as with clang; r=dmajor
Summary:
This adds a clangcl flag to gyp.mozbuild and then uses that to set the same
warnings flags for clang-cl as for clang.

Reviewers: dmajor

Tags: #secure-revision

Bug #: 1478000

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

--HG--
extra : rebase_source : 6137d2f59e5504d448d4fb32a7e734756ff76afa
2018-07-25 14:02:02 -04:00
Cosmin Sabou 5a23904142 Merge mozilla-central to autoland. a=merge 2018-07-25 21:25:11 +03:00
David Major 4197688bdf Bug 1478008 - Make gmp-clearkey use the same warnings under clang-cl as with clang. r=froydnj 2018-07-25 08:07:41 -04:00
Nico Grunbaum b2651df213 Bug 1477825 - PeerConnectionImpl static analysis const reference cleanup r=mjf,jib
Static analysis reveals that there are several places we could be using const references in PeerConnectionImp. This patch addresses all of those places.

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

--HG--
extra : moz-landing-system : lando
2018-07-25 16:22:28 +00:00
Nathan Froyd 695cb9d23b Bug 1477081 - remove TARGET_CPU use from moz.build files; r=ted.mielczarek
TARGET_CPU is not canonicalized, whereas CPU_ARCH is, so we should be
using CPU_ARCH to get consistent values everywhere.
2018-07-24 16:08:55 -04:00
Nathan Froyd 309ddc0be2 Bug 1477048 - part 2 - remove non-ipc/chromium moz.build uses of OS_TEST; r=gps
The deletions in xptcall are when we don't even have support for the CPU
in moz.configure, so I assume that people haven't been compiling on
those architectures for quite some time.
2018-07-24 16:08:56 -04:00
Nathan Froyd 5158597854 Bug 1477048 - part 1 - remove `'86' in CONFIG['OS_TEST']` stanzas from moz.build files; r=gps
The current code is somewhat non-obvious to a first-time reader, and
OS_TEST is a bizarre thing anyway, since it's actually the name of the
CPU we're running on.  We'd do well to minimize the use of OS_TEST.

Note that the complete nuking of the xptcall/md/unix/moz.build lines are
because we don't support OS X/x86 anymore.
2018-07-24 16:08:56 -04:00
Nathan Froyd 32d63fdca4 Bug 1477047 - make fewer assumptions about MSVC compiling for x86-ish code; r=chmanchester
ARM64 Windows is a thing now, so this assumption is no longer valid.
2018-07-24 16:08:56 -04:00
Brindusan Cristian 9ba416fb81 Merge autoland to mozilla-central. a=merge 2018-07-26 00:35:35 +03:00
Gurzau Raul f2e1e857f1 Merge inbound to mozilla-central. a=merge 2018-07-24 12:49:23 +03:00
Coroiu Cristina 3628e073f1 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-07-24 00:46:46 +03:00
Brian Hackett ea6ebf1b6e Bug 1207696 Part 6a - Disable media elements when recording or replaying, r=jesup.
--HG--
extra : rebase_source : 10a1178dca996839da8496036196e7018d517787
2018-07-23 14:41:26 +00:00
Johannes Willbold 4c92cf9567 Bug 1476085: Added SDP candidate serialization, r=bwc,dminor
Added SDP candidate serializaton in rust
Extended Rust unit test for candidates
Added C++/Rust glue code for candidates
Added free_boxed_string_vec

MozReview-Commit-ID: CeVM2p47fQ7

--HG--
extra : rebase_source : 5d49e3a39af3395cf16bedef387728d7de663271
2018-07-16 13:59:04 -07:00
Byron Campen [:bwc] 229b0a95d4 Bug 1465473: Disable RTCP bundle filtering, because webrtc.org can do that for us. r=mjf
MozReview-Commit-ID: EptqgMeMcoT

--HG--
extra : rebase_source : 3a765a0f0cfb01a83bff0e8e1d8ae5b3262e80af
2018-07-18 15:23:12 -05:00
Cosmin Sabou 0d3874d7d6 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-21 00:42:01 +03:00
Robert Bartlensky 32a8366815 Bug 1476640: Fix DEAD_STORE errors in media/mtransport/*.
Reviewers: ekr

Reviewed By: ekr

Bug #: 1476640

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

--HG--
extra : rebase_source : ffc6fc1462635e5ccf301520407adea608794b6f
2018-07-20 19:16:38 +03:00
Johannes Willbold 5084e841a5 Bug 1437169: Improved error checking in the the fingerprint parsing, r=bwc
Improved the error checking in the fingerprint parsing
Changed the way the fingeerprint stores the hash algorihtm to an enum.
Extended the rust unit test for fingerprint
Fixed C++ unit tests

MozReview-Commit-ID: AS2FroZxDNv

--HG--
extra : rebase_source : be0b6d5c390ffaa90c9371436ece717e5e4e002c
2018-07-17 15:35:34 -07:00
Johannes Willbold c420368865 Bug 1432930: Part 2: Added C++/Rust glue code for imageattr, r=bwc
Added C++/Rust glue code for imageattr.
Added U32vec interface
Added F32vec interface
Enabled C++ unit test CheckMalformedImageattr
Removed redundant parsing code with "Bug 1469702"

MozReview-Commit-ID: Lwj8len4xPR

--HG--
extra : rebase_source : a260799c0a3146b5bf2f461762c9b7db0849a266
2018-07-02 15:10:19 -07:00
Johannes Willbold c34d1a7a92 Bug 1432930: Part 1: Added imageattr parsing in rust, r=bwc
Added imageattr parsing in rust.
Expanded the imageattr test cases in rust.

MozReview-Commit-ID: IeMkbrbJAoe

--HG--
extra : rebase_source : 05e4105983e7d735bce21de3bd4e99da754589ed
2018-06-29 14:42:19 -07:00
Nico Grunbaum c8937fbffe Bug 1474658 - P2 - RTCRtpStreamStats.ssrc is now a unsigned long r=mjf
RTCRtpStreamStats.ssrc used to be a DOMString but is now an unsigned long.
When gathering this stat it needs to be constructed accordingly.

MozReview-Commit-ID: IOq9IQQxFVh

--HG--
extra : rebase_source : 3c5fc6144f6fa0435fc1ccce1a3fa371b9ffc162
2018-07-12 13:50:26 -07:00
Johannes Willbold 5b98a7844f Bug 1432920: Part 2: Added C++/Rust glue code for dtls-message, r=bwc
Added C++/glue code for the dtls-message attribute.
Enabled the C++ unit test CheckDtlsMessage.
Added a branch in the rust parsing that discardes dtls-messages on media level.

MozReview-Commit-ID: 9tcWOtH8GbV

--HG--
extra : rebase_source : 4853e51e1cc6734760c243da8e27dc714c89d219
2018-07-05 17:09:10 -07:00
Johannes Willbold c0ae9af419 Bug 1432920: Part1: Added dtls-message parsing in rust, r=bwc
Added dtls-message parsing in rust.
Added a rust testcase for the dtls-message parsing.

MozReview-Commit-ID: G8boBkxlJmX

--HG--
extra : rebase_source : 40ee205294adf099f51321ec7bde8cbff5db6297
2018-07-05 16:33:30 -07:00
Andreas Pehrson f78f8582c7 Bug 1471588 - Trace track and stream media consumers. r=padenot
MozReview-Commit-ID: DDkVUEHi0dg

--HG--
extra : rebase_source : d05a30ae43fe1e26d11c6a75a6b47dc6cf8d9b71
2018-06-27 18:25:49 +02:00
Andreas Pehrson ebd2cf6c8c Bug 1471588 - Trace all NotifyPull calls. r=padenot
MozReview-Commit-ID: XlYfZ0CVZM

--HG--
extra : rebase_source : 8c147419731942a35e27d0aab0e2c4a6a9747438
2018-06-27 17:59:19 +02:00
Andreas Pehrson 9c80f60f71 Bug 1471588 - Turn on MediaPipeline tracing. r=padenot
MozReview-Commit-ID: 1OtmOGnXmRw

--HG--
extra : rebase_source : c0f87262d0ec9c6a36b7fb49aa98cca6a82759f1
2018-06-27 17:41:45 +02:00
Margareta Eliza Balazs fb3762edac Merge inbound to mozilla-central. a=merge 2018-07-18 12:33:29 +03:00
Nils Ohlmeier [:drno] 630efc5cec Bug 1473840: fixed Teredo IPv6 prefix detection. r=mjf
MozReview-Commit-ID: 6dRsirith0O

--HG--
extra : rebase_source : 2af77d2420464a0b0ba855d94f9cd6e088d2a777
2018-07-13 21:52:33 -07:00
Johannes Willbold 104efdacd0 Bug 1476081: Removed two leftover debugging statements, r=dminor
Removed two leftover debugging statements

MozReview-Commit-ID: 7Cbsa2MJ2OS

--HG--
extra : rebase_source : dd5125022c842ac8db17000976d25f5108cb4fe6
2018-07-16 12:20:06 -07:00
Johannes Willbold 8d7c4afeb3 Bug 1474711: Added C++/Rust glue code for rtcp-fb transport-cc, r=bwc
Added the C++/Rust glue code for the rtcp-fb transport-cc type.
Extended the C++ unit test CheckRtcpFb
Extended the Rust unit tests for rtcp-fb.

MozReview-Commit-ID: 26hAexM0QeV

--HG--
extra : rebase_source : 1615700ac62ee5d61a26ad7234d42b82e4151109
2018-07-11 10:49:17 -07:00
Johannes Willbold ea1567d09c Bug 1474712: Added support for whitespace seperacted ssrc-values in the Rust parser, r=bwc
Added support for whitespace in source-level attributes
Extended C++ unti test CheckSsrc
Extended Rust unti test for ssrc

MozReview-Commit-ID: 1xiYyZBYf5o

--HG--
extra : rebase_source : 26d8ee11592e40fa1c25021b86953c72b14636a7
2018-07-11 11:13:56 -07:00
Andrea Marchesini a053cf1c15 Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 1 - NullPrincipal, r=ckerschb 2018-07-17 21:37:48 +02:00
Dan Minor 4d669cfe0c Bug 1445683 - Generated files now live under 'config'; r=chmanchester
MozReview-Commit-ID: D3MAVM5IhXX

--HG--
extra : rebase_source : 2884ad21740325c226af4087ca1dcf23e47a8188
2018-06-05 12:47:09 -04:00
Dan Minor a2a0f53596 Bug 1445683 - Update aom to v1.0.0; r=jya
Update aom to rev d14c5bb4f336ef1842046089849dee4a301fbbf0.

MozReview-Commit-ID: YoPHbFHRq2

--HG--
rename : third_party/aom/build/cmake/aom_config.c.cmake => third_party/aom/build/cmake/aom_config.c.template
rename : third_party/aom/md5_utils.h => third_party/aom/common/md5_utils.h
rename : third_party/aom/warnings.h => third_party/aom/common/warnings.h
rename : third_party/aom/webmenc.h => third_party/aom/common/webmenc.h
rename : third_party/aom/y4minput.h => third_party/aom/common/y4minput.h
rename : third_party/aom/aomstats.h => third_party/aom/stats/aomstats.h
rename : third_party/aom/rate_hist.h => third_party/aom/stats/rate_hist.h
extra : rebase_source : 6e3d836d1d36879f862ed74227522e422f4fb5c1
2018-06-21 13:47:50 -04:00
Dan Minor 77528d2259 Bug 1445683 - Add support for SSE 4.2 to libaom moz.build; r=chmanchester
MozReview-Commit-ID: 76yhREntUzj

--HG--
extra : rebase_source : 3e7c9582d725a42955cc38a5fe209ad5aed49009
2018-05-17 12:16:35 -04:00
Dan Minor 7e59b97034 Bug 1445683 - Add aom_version.h; r=chmanchester
MozReview-Commit-ID: IILHY1ArCEv

--HG--
extra : rebase_source : 0a4c13add54bf31e566dce9f609a435ad2a5cee2
2018-04-17 12:39:58 -04:00
Dan Minor e1f051e83e Bug 1445683 - Set executable bit on generate_sources_mozbuild.sh; r=chmanchester
MozReview-Commit-ID: 2BJ3sZnho29

--HG--
extra : rebase_source : 91ba9956c867198f6e1ed6a109deeecdbd5449f0
2018-04-16 14:47:22 -04:00
Dan Minor d2a4ee3796 Bug 1445683 - Update generate_sources_mozbuild.sh; r=chmanchester
This changes generate_sources_mozbuild.sh to call generate_sources_mozbuild.py
to generate sources.mozbuild and config files and removes the parts of the
script that are no longer necessary.

MozReview-Commit-ID: HgXIEw93z41

--HG--
extra : rebase_source : b54d23197e741c8e037ffc4b977c8d01c34197ef
2018-04-16 13:07:11 -04:00
Dan Minor 0dd3eabf23 Bug 1445683 - Add generate_sources_mozbuild.py; r=chmanchester
This uses the cmakeparser to generate sources.mozbuild and the
config files for each platform.

MozReview-Commit-ID: CU6oIPJXtTw

--HG--
extra : rebase_source : b9f6707ed3f4ef6336a4fa2d75c46a5c26570528
2018-04-16 09:01:41 -04:00
Dan Minor 12e18b2289 Bug 1445683 - Add Python cmake parser; r=chmanchester
MozReview-Commit-ID: Fy5v5pw4Rgi

--HG--
extra : rebase_source : c7abbbdecfcf613d23f914ad8210f5d23f34b475
2018-04-05 15:07:27 -04:00
Jean-Yves Avenard b0275bc977 Bug 1475642 - Fix playback with some 3rd party audio cards. r=kinetik
Additional fix to bug 1469152

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

--HG--
extra : moz-landing-system : lando
2018-07-14 07:26:17 +00:00
Nils Ohlmeier [:drno] cf44315a16 Bug 1474517: merge rsdparsa from upstream r=johannes.willbold+610943
Updated rsdparsa to 75d5c6df6728fbab502db06940062e0358536f9f from github
upstream

MozReview-Commit-ID: 9hr7DV6KTkK

--HG--
extra : rebase_source : c5b2c003e76489e267390402ebb5947cf3ec48b6
2018-07-09 23:56:42 -07:00
Byron Campen [:bwc] 0df53d9bd5 Bug 1471697: Stop unsetting mListener on main. r=mjf
MozReview-Commit-ID: 1swVwMyRatC

--HG--
extra : rebase_source : 0c8a95de625b10b460cdfc54f2c6c9cf6dbe8adc
2018-07-02 10:43:26 -05:00
Johannes Willbold 2919be8a89 Bug 1438536: Added bool field to indicate whether direction was specified to RustSdpAttributeExtmap, r=drno
Added a bool field in RustSdpAttributeExtmap that tracks whether the direction was specified.
Added the correspodning C++/Rust glue code

MozReview-Commit-ID: yGL8yTDb49

--HG--
extra : rebase_source : d65f35051338673062d13b7bde591de880052558
2018-07-10 16:23:50 -07:00
Nico Grunbaum e75e58a710 Bug 1474808 - MediaPipeline set description even when there is no DOM Track r=bwc
Early bailout was preventing mDescription from getting set in MediaPipeline::SetTransport.

MozReview-Commit-ID: HIIva7R3fLe

--HG--
extra : rebase_source : 847b001372e6aedf59fc8f3f38b57a2a51b0f4e1
2018-07-10 22:54:10 -07:00
Dan Minor 6fa2ea51b7 Bug 1371485 - Fix gflags root; r=chmanchester
Summary:
I think the webrtc.org gtests are the only user of gflags in tree. We can switch
over to using gn to build this when we start building the tests using gn,
which is Bug 1430779.

Tags: #secure-revision

Bug #: 1371485

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

--HG--
extra : rebase_source : ba496d6f262d3679031f0b933a80ce3e2a2236a5
2018-06-22 14:25:31 -04:00
Dan Minor d1d877cbe8 Bug 1371485 - Remove unnecessary gyp files from webrtc; r=chmanchester
Tags: #secure-revision

Bug #: 1371485

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

--HG--
extra : rebase_source : 21f5238db3fe517aca5a19344847a883a277e6b6
2018-06-22 14:57:17 -04:00
Dan Minor f92a35478e Bug 1371485 - Remove webrtc copy of gyp; r=chmanchester
Tags: #secure-revision

Bug #: 1371485

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

--HG--
extra : rebase_source : d3abc38a88e9f3a5543f2bb46726f47a75115785
2018-06-21 14:42:08 -04:00
Johannes Willbold e5d310f78d Bug 1473967: Added C++/Rust glue code for maxptime, r=dminor
Added the C++/Rust glue code for maxptime.
Added the C++ unit test CheckMaxPtime.

MozReview-Commit-ID: 58Qbrpktxwx

--HG--
extra : rebase_source : 1aed17367e230f0e397b196b759deaf18e4a3fd8
2018-07-06 10:51:30 -07:00
Johannes Willbold 0e35e80e48 Bug 1433529: Fixed TODOs in parse_sdp, r=dminor
Changed parse_sdp to use StringView instad of raw pointers
Fixed all TODOs by using the existing StringView::into trait instead of doing a manual string conversion.

MozReview-Commit-ID: 5m7rLAu8vwS

--HG--
extra : rebase_source : f34cf389829772b4ca84d7ba895a8b71bd620f64
2018-06-29 15:03:58 -07:00
Jean-Yves Avenard 5041ae2d32 Bug 1469152: Fix playback on older macOS systems and some 3rd party audio cards. r=kinetik
We were using an audio API not available prior 10.12. Also add a workaround for 3rd party audio cards with unusually high channels count.

This cherry-pick cubeb commits 59f5cb4ba01f21c4ad87e9404d1e470408e18505 and dbd61924736fbe1a1caf1cbd544f7d197f1836f7

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

--HG--
extra : moz-landing-system : lando
2018-07-10 08:45:49 +00:00
Johannes Willbold 01d9eeb9af Bug 1444354: Fixed intermittent in RsdparsaSdpAttributeList::GetGroup, r=dminor
Fixed the signature of the sdp_get_groups function in the C++/Rust glue code.

MozReview-Commit-ID: PljpUKk829

--HG--
extra : rebase_source : 92e221ce5e437bf5a994740f3b34f7336668e431
2018-07-03 17:28:17 -07:00
Johannes Willbold 8be45915c4 Bug 1433534: Removed the comment referencing this bug, r=dminor
Nothing to do for this bug. All TODOs were solved by previous tickets.

MozReview-Commit-ID: JFvWvGRlJvy

--HG--
extra : rebase_source : e402f5844508f5b9809b9ad40184f88aba3574be
2018-06-29 15:47:50 -07:00
Johannes Willbold 1a499e7000 Bug 1473686: Enabled SDP unit test CheckSctpmap, r=dminor
The test passes without further changes.

MozReview-Commit-ID: G3TecTmP1QY

--HG--
extra : rebase_source : 4df5aa53730847417175005a15d6c8d79ffba9f3
2018-07-05 12:34:04 -07:00
shindli 5cc2efce78 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 01:01:25 +03:00
Johannes Willbold ac43f2bc5c Bug 1432931: Added sanity check for simulcast send rid. r=bwc
Added sanity check to check if the send rid in simulcast is defined by any send rid.

MozReview-Commit-ID: GISzaQqdqBI

--HG--
extra : rebase_source : 32416045cdb8c96dff72ee74d1d84121323d358f
2018-06-28 10:55:50 -07:00
Jean-Yves Avenard d586f6f943 Bug 1409664 - P9. Remove AutoTaskQueue and its use r=bryce
Summary:
TaskQueue no longer requires an explicit call to BeginShutdown() as such we no longer have a need for AutoTaskQueue.

Depends on D1621

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1622
2018-07-03 11:45:19 -07:00
Johannes Willbold dda45bc2ca Bug 1437166: Removed GetSsrcGroup entirely. r=dminor,drno
Removed all occurances of GetSsrcGroup in the C++/Rust and C++/sipcc glue code
Removed C++ unit test CheckSsrcGroupInSessionLevel

MozReview-Commit-ID: DImctiH6mUo

--HG--
extra : rebase_source : afd243f5658114f017d94d8bc9527b734901c303
2018-06-25 14:12:04 -07:00
Johannes Willbold cebc31c9ec Bug 1436403: Setting rtpmap channels in rust. r=dminor
Removed the code setting the channels for an rtpmap attribute in the C++ glue code.
Added Rust code that accounts the data in SdpMedia accordingly for rtpmap.

MozReview-Commit-ID: 2D5MVLJxXoh

--HG--
extra : rebase_source : ae54885e3d2cccdd04f5f758bddcf2d134f3a843
2018-06-25 14:01:37 -07:00
Margareta Eliza Balazs ee85ffa45d Merge inbound to mozilla-central. a=merge 2018-06-29 12:41:54 +03:00
Matthew Gregan 33e0262678 Bug 1472001 - Fix cubeb-pulse-rs build with current Rust nightly. r=kamidphish
--HG--
extra : rebase_source : 005e64eb5c73c4ad3bfd1f3553dfb511304648dd
2018-06-29 14:00:12 +12:00
Nils Ohlmeier [:drno] bfea03ea24 Bug 1335206: enable emitting datachannel draft 21 format. r=bwc
MozReview-Commit-ID: 9zWz8ct4ERZ

--HG--
extra : rebase_source : 83a7fc8f3d20e59436bbc37fe93dc00ec8c30683
2018-06-22 15:49:03 -07:00
Johannes Willbold 239744b151 Bug 1438290: Part 2: Added testcases for AddDataChannel, r=bwc
Added C++ unit test CheckAddDataChannel
Added C++ unit test CheckAddDataChannel_Draft05

MozReview-Commit-ID: HsSdFb0nKUe

--HG--
extra : rebase_source : 18fc6f3bdc04ea0983ce5376177a41df68b93ac2
2018-06-21 15:48:55 -07:00
Johannes Willbold 19dbebcd08 Bug 1438290: Part 1: Implemented RsdparsaSdpMediaSection::AddDataChannel, r=dminor
Implemented RsdparsaSdpMediaSection::AddDataChannel
Added C++/Rust glue code for the "sctp port" attribute
Added C++/Rust glue code for the "max message size" attribute

MozReview-Commit-ID: 5MQC7I1MiU0

--HG--
extra : rebase_source : f9e1457b45c63ae53b339ea43e8645a00d83e369
2018-06-20 12:13:38 -07:00
Johannes Willbold e44df5acde Bug 1438539: Added sanity check for connection attributes. r=bwc
Added sanity check that ensure that there is either a connection on the session level or in each media secion.
Extended create_dummy_sdp_session

Alterted Rust unit tests:
	parse_minimal_sdp_with_emtpy_lines
	parse_minimal_sdp

MozReview-Commit-ID: yVEhUvns57

--HG--
extra : rebase_source : ea354701995bf62c4231e654d12ad038a6e29bb0
2018-06-25 15:02:58 -07:00
Mike Hommey 75a6124d43 Bug 1469790 - Build for NEON by default when targetting Android arm. r=nalexander
The media/libpng/moz.build file overrides the C standard used via
-std=c89, per bug 1371266, which conflicts with the use of the
arm_neon.h header: compilation fails on the inline keyword, which didn't
exist in C89. We thus "bump" to the GNU89 standard, which is C89+GNU
extensions, including inline.

--HG--
extra : rebase_source : fe93a13e3bef8888e1874d2e94a6d8ef396aaf83
2018-06-27 08:07:27 +09:00
Alex Chronopoulos b2ea3d0293 Bug 1471164 - Update cubeb from upstream to 2968cba. r=padenot
MozReview-Commit-ID: Lwalw9Hxf70

--HG--
extra : rebase_source : 183ac07e38e329e84f7a567d0e287206c0215524
2018-06-26 12:16:49 +02:00
Dorel Luca f51c4fa5d9 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-27 13:26:49 +03:00
Johannes Willbold 5c6e8a5e28 Bug 1438574: Changed unknown group semantic handling, r=dminor
Unknown group semantics are no longer an error but a warning indicating that the lines was skipped.
Made rust unit test test_parse_attribute_group more explicit.

MozReview-Commit-ID: 7adMSzH195H

--HG--
extra : rebase_source : b5edcdd389d5435808cb4faed5b8bf816774d0e4
2018-06-25 16:16:18 -07:00
Jeff Gilbert 5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Johannes Willbold ab3a514169 Bug 1432932: Sanity check for simulcast recv rids. r=bwc,dminor
Added Rid attribute parsing
Added C++/Rust glue code for the rid attribute
Added SdpInternalError for ParseFloatError
Added Rust unit test for parse_rid in Rust
Added U16Vec in C++/Rust glue code.
The C++ glue code no longer parses rid attributes on his own if the rust parser is used.
Reworked Simulcast parsing in rust
Added C++/rust glue code for Simulcast
Enabled CheckSimulcast c++ unit test
Added sanity check, that checks for simulcast rids that have nt been defined
Enabled ParseInvalidSimulcastNoSuchRecvRid C++ unit test
Added comments with bug number to remove redundant parsing functions.
Removed C++ unit test ParseInvalidSimulcastNoSuchPt
Added C++ unit test ParseInvalidRidNoSuchPt
Added sanity check for rid pts.

MozReview-Commit-ID: 7rvsOKIbxVP

--HG--
extra : rebase_source : abfc74e5f57b51158cf9acdf81078e5a4147fb29
2018-06-08 13:22:16 -07:00
Johannes Willbold 6b5105b7a1 Bug 1436080: Implemented RsdparsaSdp::AddMediaSection, r=dminor
Implemented RsdparsaSdp::AddMediaSection
Added sdp_add_media_section to Rust/C++ glue code
Added SdpSession::add_media in Rust
Added C++ unit test CheckAddMediaSection

MozReview-Commit-ID: 8cUviY3atsb

--HG--
extra : rebase_source : 8efee17758cdfd4927f630c383ec281db5a6a9ef
2018-06-14 11:20:50 -07:00
Nils Ohlmeier [:drno] f358484625 Bug 1465253: use postfix as prefix when logging and log in clear. r=bwc
MozReview-Commit-ID: 4bfVQZyM9qy

--HG--
extra : rebase_source : 35ebc6834ab729f7da9d9cffe450a60221c8d18e
2018-05-07 13:30:00 -07:00
Nico Grunbaum 2dc9bc2b7c Bug 1456101 - ensure X11 DesktopCapture module is created on main thread r=dminor
MozReview-Commit-ID: 8lP03135ttK

--HG--
extra : rebase_source : 0ba001a933637e2ef76810d2e85a71b12dd49017
2018-06-04 22:03:14 -07:00
Nils Ohlmeier [:drno] cbc07da4e7 Bug 1466375: avoid NRREGGET NRREGSET redefinition. r=bwc
MozReview-Commit-ID: 6DdZS7bY2di

--HG--
extra : rebase_source : 8ee57ef14853a27189ef6146629be77b406f4103
2018-06-04 08:51:22 -07:00
Nils Ohlmeier [:drno] 7ba50abeee Bug 1466375: make nICEr and nrappkit compile as unified sources. r=bwc
MozReview-Commit-ID: 59MXxWYd5V0

--HG--
extra : rebase_source : 3778c7aeb8c92b785977d5a612d755dbe951c56d
2018-06-01 22:58:48 -07:00
Chris Manchester 5d3eea5c07 Bug 1467319 - Re-generate gn moz.build files. r=mshal
MozReview-Commit-ID: Bo7TsDT9pZv

--HG--
extra : rebase_source : 2ad5dba380b3484b8cc01513aff7dfc6930ca639
2018-06-06 17:39:51 -07:00
Chris Manchester 707810c078 Bug 1466254 - Re-generate gn moz.build files. r=mshal
MozReview-Commit-ID: IyG7d8GhqEC

--HG--
extra : rebase_source : 9126b11cad87029125f2f9d9d7d678018f3ae68d
2018-06-06 17:17:37 -07:00
Dan Minor 907222260a Bug 1409018 - Defer RegisterRefreshAndMoveHandlers call; r=pehrsons
This defers the call to register the refresh and move handlers to the
CaptureFrame() call so that they will be registered on the ScreenCapture
thread.

This also calls CFRunLoopInMode to process any pending sources in the
run loop corresponding to the ScreenCapture thread so that the
refresh and move notifications are received.

MozReview-Commit-ID: G4aEchnGuUz

--HG--
extra : rebase_source : b74d95015cccb2efa64a711a1824adb379531ca2
2018-06-05 08:13:01 -04:00
Dan Minor 33e28e7269 Bug 1409018 - Remove ifdefs for OS X 10.7 from webrtc; r=pehrsons
MozReview-Commit-ID: Ahc7KPlY8uW

--HG--
extra : rebase_source : e1038ef18daf2f6e680a2c54aeaedcb179eaf671
2018-06-05 08:11:56 -04:00
Andi-Bogdan Postelnicu 8a8ae803a1 Bug 1453795 - WebRTC/Signaling - Initialize member fields in classes/ structures. r=jesup
--HG--
extra : rebase_source : 40725f05d2085edca36f1566f649855d8f547b3b
extra : amend_source : fe6b442fc1d94a559722304f93fb26ece61b93dd
2018-06-15 18:36:21 +03:00
Nils Ohlmeier [:drno] f9f2b9b6e4 Bug 1464063 - Remove sdp_getchoosetok. r=bwc 2018-06-13 14:29:20 -07:00
Alex Chronopoulos 8d06ff94c2 Bug 1467882 - Update cubeb from upstream to 0677b30. r=kinetik 2018-06-14 11:05:05 -07:00
Steve Fink 70f3630002 Bug 1343620 - Use JS_HAZ_ROOTED everywhere instead of programmatic annotations, r=pbone
--HG--
extra : topic : haz.rooted
extra : rebase_source : 69a2c810ccfecdf7c59fe030a83aad9cb6d5f8ad
2018-06-06 16:28:38 -07:00
Johannes Willbold d804eb4679 Bug 1432918: Added fmtp parsing in rust. r=bwc,dminor,mjf
Added C++/Rust glue code
Added a u8 vector view in the C++/Rust glue code
Added fmtp attribute parsing in rust
Added the option to check for warnings that appeared in the rust parsing
Changed gtest CheckRedEmptyFmtp to check for errors in case of sipcc and check for warnings in case of rust
Extended rust fmtp testcases in rust

MozReview-Commit-ID: EXymPPKWVZk

--HG--
extra : rebase_source : a886880463c3b333c4743ef520eac4c76dc86d5b
2018-05-30 11:00:22 -07:00
Byron Campen [:bwc] 777bf8b996 Bug 1455647 - Part 4: Make a place to live for context about media packets, to fix packet dump hooks. r+drno r=drno
MozReview-Commit-ID: 1HMF93mLa7r

--HG--
rename : media/mtransport/transportlayersrtp.cpp => media/webrtc/signaling/src/mediapipeline/TransportLayerPacketDumper.cpp
rename : media/mtransport/transportlayersrtp.h => media/webrtc/signaling/src/mediapipeline/TransportLayerPacketDumper.h
extra : rebase_source : 062814836325b69da17e8f592774f006e29905ad
2018-05-09 17:13:35 -05:00
Byron Campen [:bwc] 148a322296 Bug 1455647 - Part 3: Move SRTP into a TransportLayer. r=drno
MozReview-Commit-ID: LWZFPVDYZKb

--HG--
rename : media/webrtc/signaling/src/mediapipeline/SrtpFlow.cpp => media/mtransport/SrtpFlow.cpp
rename : media/webrtc/signaling/src/mediapipeline/SrtpFlow.h => media/mtransport/SrtpFlow.h
extra : rebase_source : 16e1e38c0c6f9153375735b7cb93a8286364df5f
2018-04-23 13:14:30 -05:00
Byron Campen [:bwc] ab2913f71d Bug 1455647 - Part 2: Allow TransportLayers to be arranged in trees. r=drno
MozReview-Commit-ID: BQgNbCsmkke

--HG--
extra : rebase_source : f21dbdd6f5477786f200a3336240d724aa8cc9b8
2018-04-27 16:57:28 -05:00
Byron Campen [:bwc] cb8df81f4c Bug 1455647 - Part 1: Simplify TransportFlow. r+drno r=drno
MozReview-Commit-ID: 1jJuln4WAw9

--HG--
extra : rebase_source : e5d9cba95e7e79815e9842edac2fc5eec54aac06
2018-04-27 12:14:40 -05:00
Nils Ohlmeier [:drno] e4164ef1b0 Bug 1467938 - Fix out-of-bounds memory access in WebRTC VP9 Missing Frame Processing. r=ng
--HG--
extra : histedit_source : f18e4e92f3cdb17b80d092b13dc370386119d437%2C06a923f89cefae172e29d0af18800c401394f940
2018-06-08 19:49:40 -07:00
Johannes Willbold 73c1f3e815 Bug 1467502: Merged Rsdparser changes from github to mozilla central. r=drno
Merged Rsdparser changes from github to mozilla central.
This includes:  Syntax fixes for older rust versions
		The TransportCC parameter for rtcp-fb
		Serialization marcos and code

MozReview-Commit-ID: JqYttvTx2QS

--HG--
extra : rebase_source : 4f0c9e374fcdbd01d729cda2ddbfe5c67bf6cbc9
2018-06-08 09:27:34 -07:00
Johannes Willbold 11f081e25f Bug 1438289: Implemented RsdparsaSdpMediaSection::AddCodec and ::ClearCodecs. r=dminor
Implemented RsdparsaSdpMediaSection::ClearCodecs and RsdparsaSdpMediaSection::AddCodec
Added sdp_media_clear_codecs
Added corresponding C++/Rust glue code
Added rust trait to convert StringView to rust std::String
Added testcase CheckAddCodec and CheckClearCodec

MozReview-Commit-ID: 5pxl8hR9iz2

--HG--
extra : rebase_source : f075c80b1723c794873fb53a77471820ed34569f
2018-06-04 17:23:42 -07:00
Johannes Willbold 50ef419773 Bug 1432934: Added sanity check for recvonly attribute. r=bwc
Added a sanity check, that checks for recvonly and whether simulcast defines send options

MozReview-Commit-ID: Hi5U9ZZVKY8

--HG--
extra : rebase_source : 67aa4d6cea6ad7d3956ce606c529e6023e9e5382
2018-06-04 14:07:28 -07:00
Johannes Willbold ef7cd48646 Bug 1432936: Added sanity check for sendonly attribute. r=bwc
Moved RustSdpAttributeType and renamaed it to SdpAttributeType
Replaced the has_extmap_attribute functions by a generic has_attribute function
Added a sanity check, that checks for sendonly and if simulcast defines receive options

MozReview-Commit-ID: DXAEVu0SRap

--HG--
extra : rebase_source : c5732414f6e199c1e6a85d7d47921ca6ee601550
2018-06-04 10:05:27 -07:00
Johannes Willbold a126aacfe7 Bug 1433093: Implemented RsdparsaSdpMediaSection::SetPort. r=dminor
Add C++/Rust glue code
Added set_port function SdpMedia
Added unit test: CheckSetPort

MozReview-Commit-ID: 6pbbuSxzhqM

--HG--
extra : rebase_source : 8695de52970ff8fafa3f9b92a4e62217da4320ac
2018-06-04 16:01:43 -07:00
Byron Campen [:bwc] 39ab428ca2 Bug 1466175: Check if TransceiverImpl has been shut down in SyncWithJS. r=mjf
MozReview-Commit-ID: 9FaUEKdr9jn

--HG--
extra : rebase_source : c6a4e75b75835637288b765f1f45da1a88597d0d
2018-06-05 12:33:47 -05:00
Miko Mynttinen 4c85ef17cc Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab 7e765f798b Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen 8d9dc85cd4 Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Andreea Pavel 4ced6e8b2d Merge mozilla-central to autoland. a=merge 2018-06-03 07:27:01 +03:00
Emilio Cobos Álvarez 1e9c395548 Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
Same approach as the other bug, mostly replacing automatically by removing
'using mozilla::Forward;' and then:

  s/mozilla::Forward/std::forward/
  s/Forward</std::forward</

The only file that required manual fixup was TestTreeTraversal.cpp, which had
a class called TestNodeForward with template parameters :)

MozReview-Commit-ID: A88qFG5AccP
2018-06-02 09:33:26 +02:00
Csoregi Natalia 468205953d Merge inbound to mozilla-central. a=merge 2018-06-02 01:01:33 +03:00
Cosmin Sabou 1bc774a842 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-01 12:44:57 +03:00
Alex Chronopoulos ebd54ce4cd Bug 1466066 - Update cubeb from upstream to abf6ae2. r=kinetik 2018-06-01 12:40:16 +03:00
Emilio Cobos Álvarez fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Johannes Willbold 1142310e25 Bug 1432922: Implemented parsing support for rtcpfb-wildcard. r=bwc,dminor
Implemented Rust/C++ glue code for rtcp-fb
Implemented parsing support for rtcpfb-wildcard in rust
Activated c++ unit tests

MozReview-Commit-ID: 5xRSQz7pucZ

--HG--
extra : rebase_source : 97fdfda9134197381d16e0a61dda5357bba9e9da
2018-05-29 16:32:52 -07:00
Jan Keromnes 88a09b356c Bug 1464162 - Make a few vector operations more efficient by reserving size beforehand. r=jya
Summary:
These automated fixes were generated like so:
    ./mach configure --enable-clang-plugin
    ./mach build-backend --backend=CompileDB
    run-clang-tidy-6.0.py -p obj-x86_64-pc-linux-gnu/ -fix -checks=-*,performance-inefficient-vector-operation *

Reviewers: jya

Reviewed By: jya

Subscribers: jya

Bug #: 1464162

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

--HG--
extra : amend_source : 648dc48989c5af122a33f8d50c98c0f1efcf3874
2018-05-31 14:52:59 +03:00
Jan Beich b191e43264 Bug 1464680 - Add more WebRTC's gn-configs for BSDs on ARM. r=chmanchester
Based on output from FreeBSD armv7/aarch64.

MozReview-Commit-ID: L7mKj6FIGS5

--HG--
extra : rebase_source : 82729a252c941d4011fc764372fc4943e0a6dd9a
2018-05-27 13:49:33 +00:00
Dan Minor 6a3494fbc0 Bug 1464069 - Check error code in stun_parser_libfuzz.cpp; r=drno
MozReview-Commit-ID: Lx32Mx8KmRm

--HG--
extra : rebase_source : 638b6d7498407c52b680ea72898c4dc155dcf3ec
2018-05-29 13:04:28 -04:00
Jan de Mooij ce3eb7d5c0 Bug 1464374 part 2 - Pass JS::Realm* instead of JSCompartment* to CallSetup. r=bz,luke
The principals are on the realm so we need a realm instead of a compartment. Also adds js::GetNonCCWObjectRealm to get the realm of a non-CCW object.
2018-05-31 11:28:48 +02:00
arthur.iakab f1046ac67f Merge mozilla-central to inbound 2018-05-31 01:08:35 +03:00
arthur.iakab fb18cb09bd Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Andrea Marchesini 1273dc5391 Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot 2018-05-30 21:21:17 +02:00
Cameron Kaiser af336fb099 Bug 1465274 - Add ppc64 to webrtc, regenerate moz.build to remove SSE2 dependency for Linux. r=froydnj
--HG--
extra : source : 3a2d42c1c0d47e11a1efc666cce491f3064469ef
2018-05-27 22:21:07 -07:00
Ryan VanderMeulen 7978cab95f Backed out changeset 3a2d42c1c0d4 for landing with the wrong bug number in the commit message. 2018-05-30 12:44:07 -04:00
Dan Minor 50a3ab6cd4 Bug 1450658 - Should bring window to front when screen-sharing a window; r=pehrsons
This adds a FocusOnSelectedSource method to PCameras and uses it to focus the
selected window while window sharing. We can't just focus the window as soon as
it is shared because we have a live preview in the getUserMedia permissions
prompt which would cause the prompt to lose focus. Instead, this only focuses the
window when the sharing is not done from a chrome context.


MozReview-Commit-ID: 5jre75E3JLi

--HG--
extra : rebase_source : 5f5154fc9fc7590cc02eb25146e5bc20b2243fa3
2018-05-08 15:55:36 -04:00
Christian Holler 570031d38c Bug 1464202 - Improve and centralize libFuzzer flag management. r=froydnj
MozReview-Commit-ID: HFrQDAZWtpo

--HG--
extra : rebase_source : ab1da001d7e9280fbfb37858505f1d0d0caf7d54
2018-05-24 21:11:46 +02:00
Dan Minor e6ea8ef7b6 Bug 1464069 - Check for null message in nr_stun_decode_message; r=drno
MozReview-Commit-ID: B1SHDte4miv

--HG--
extra : rebase_source : e60dc6b48319f3cfcff2b3411f7eb8cd8928408e
2018-05-25 11:57:18 -04:00
Dorel Luca 8e1a0ee1c6 Backed out changeset c13ca75c9bcb (bug 1450658) for Browser-Chrome failures on browser/base/content/test/webrtc/browser_devices_get_user_media_screen.js 2018-05-23 17:07:33 +03:00
Cameron Kaiser fbc0928677 Bug 1434589: Add ppc64 to webrtc, regenerate moz.build to remove SSE2 dependency for Linux. r=froydnj
--HG--
extra : rebase_source : 7915ec4e623b3e35fcdf84b21a4f8a869044bac8
2018-05-27 22:21:07 -07:00
Mike Hommey cf60ab0a62 Bug 1466054 - Run `mach build-backend -b GnMozbuildWriter`. r=froydnj
This refreshes the gn-generated moz.builds with the change from previous
commit. Somehow, this does unrelated changes, there must be something
funky in the gn-moz.build-generator.

--HG--
extra : rebase_source : 7e1a9d75f7a80c0981b2534e4959ada6c611bae2
2018-06-01 17:22:28 +09:00
Paul Adenot 7b70359220 Bug 1476278 - Update libcubeb to revision 6c47043. r=jya
MozReview-Commit-ID: K03bJy6rSJ1

--HG--
extra : rebase_source : 5c6a927f1388d43071330cc139e22fee72ad46d2
2018-07-17 15:25:59 +02:00
Robert Bartlensky 4c9812d3ea Bug 1476644: Fix DEAD_STORE error in media/webrtc/signaling/gtest/videoconduit_unittests.cpp. r=ekr
MozReview-Commit-ID: 8QRXhxgqYXm

--HG--
extra : rebase_source : 9ab2030ac8c78416018b3fe1b89243f777a8448d
2018-07-19 14:07:06 +01:00
Dan Minor 40fcbf60d9 Bug 1450658 - Should bring window to front when screen-sharing a window; r=pehrsons
This adds a FocusOnSelectedSource method to PCameras and uses it to focus the
selected window while window sharing. We can't just focus the window as soon as
it is shared because we have a live preview in the getUserMedia permissions
prompt which would cause the prompt to lose focus. Instead, this only focuses the
window when the sharing is not done from a chrome context.


MozReview-Commit-ID: 5jre75E3JLi

--HG--
extra : rebase_source : 97f472f6ed1c5d6bed1af01fb7243a82b2629b03
2018-05-08 15:55:36 -04:00
Byron Campen [:bwc] d2641f7ceb Bug 1461904: Make sure to call disconnect_all on STS. r=drno
MozReview-Commit-ID: 2WZxajc4FZz

--HG--
extra : rebase_source : 042476cea953c8abeaba9b208dfbba0ab84c8b2e
2018-05-16 15:53:15 -05:00
Mike Hommey af5ff10060 Bug 1462873 - Link chromium_atomics to webrtc tests. r=froydnj
This redoes bug 1257888 which bug 1393119 undid.

--HG--
extra : rebase_source : 1f2e9225c1548d34d7b0d46a4c754ef594c44ee3
2018-05-19 13:00:56 +09:00
Jim Chen 4053e24872 Bug 1458020 - 3. Set JavaVM when actually using video capture; r=jib
We currently set the Android JavaVM pointer in MediaEngineWebRTC.
However, because of that, we end up setting the pointer in the child
process, even though we really want to set the pointer in the parent
process because that's where the camera will be accessed.

This patch makes us set JavaVM inside VideoEngine itself, where we
actually access the camera in the parent process.

MozReview-Commit-ID: 3TeLiiK2vyh
2018-05-18 10:16:04 -04:00
Sylvestre Ledru 4f43e5effe Bug 1461614 - Use _DEFAULT_SOURCE on top of _BSD_SOURCE to remove a warning caused by the glibc r=drno
MozReview-Commit-ID: 5Vso0zCzSBx

--HG--
extra : rebase_source : 06ab0c54b70647ab3befde9cf692d1030662be37
2018-05-15 11:54:22 +02:00
Sylvestre Ledru dd58b60c98 Bug 1460966 - lib/apiwrapper.c & lib/decapiwrapper.c are unused r=cpearce
Remove them

MozReview-Commit-ID: G1ku9mvus3D

--HG--
extra : rebase_source : d455f914ba0a51e74d7157d1eb7d6b5559c6715d
2018-05-11 21:17:59 +02:00
Margareta Eliza Balazs 4f9a2ba08e Merge inbound to mozilla-central. a=merge 2018-05-11 12:36:02 +03:00
Randell Jesup 947f304784 Bug 1346291: remove accidentally committed diff file rs=jesup NPOTB 2018-05-11 00:55:41 -04:00
Matthew Gregan c34ad7d35b Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya
Update mp4parse-rust to 0c8e1d91464aaa63b82ebf076b63cda1df4230d1, which adds
uuid parsing support and exports the mp4parse_fallible feature from
mp4parse_capi.

Update gkrust to pass MOZ_MEMORY as a feature, and use that to conditionally
enable mp4parse_fallible/FallibleVec.

MozReview-Commit-ID: 2HDYbL2CGgJ

--HG--
extra : rebase_source : 6e8cf15241b0282406322cce29220a677edd1585
2018-05-10 12:11:51 +12:00
Coroiu Cristina b11f8e3794 Backed out changeset b5fac38dc791 (bug 1457359) for build bustage on a CLOSED TREE 2018-05-11 04:17:18 +03:00
Matthew Gregan f5a2e9785e Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya
Update mp4parse-rust to 0c8e1d91464aaa63b82ebf076b63cda1df4230d1, which adds
uuid parsing support and exports the mp4parse_fallible feature from
mp4parse_capi.

Update gkrust to pass MOZ_MEMORY as a feature, and use that to conditionally
enable mp4parse_fallible/FallibleVec.

MozReview-Commit-ID: 2HDYbL2CGgJ

--HG--
extra : rebase_source : 299d9f8347d2f0ef0d66b9ea52a4ee7a31af0cd2
2018-05-10 12:11:51 +12:00
David Major ae0bb01f30 Bug 1453061: Merge libvpx code size fix. r=drno
https://chromium-review.googlesource.com/c/webm/libvpx/+/841103
2018-05-10 14:31:49 -04:00
David Major 05169b1ca8 Bug 1453061: Merge libaom code size fix. r=drno
https://aomedia-review.googlesource.com/c/aom/+/39401
2018-05-10 14:30:55 -04:00
Csoregi Natalia f034c0ab5d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-10 12:52:31 +03:00
Randell Jesup 809e9aa0d4 Bug 1346291: update code that accidentally assumed libyuv would define things like int32 r=sotaro,jib 2018-05-09 23:59:16 -04:00
Randell Jesup 9ffedf15a9 Bug 1346291: Update libyuv to upstream 98a0a157dcf5dee0882b2dfcc9578ab1f44afb12 rs=jib,sotaro
--HG--
rename : media/libyuv/libyuv/util/convert.cc => media/libyuv/libyuv/util/yuvconvert.cc
2018-05-09 23:59:16 -04:00
Randell Jesup 88b568a14f Bug 1346291: Update libyuv update script and update patches for upstream 98a0a157dcf5dee0882b2dfcc9578ab1f44afb12 r=tritter 2018-05-09 23:59:15 -04:00
David Major 4ac65c8eef Bug 1459617: Merge upstream webrtc fix for build bustage with clang trunk. r=dminor
https://webrtc.googlesource.com/src/+/bda78c9464f4d0e6ff26b0035624a967269c3b0a
2018-05-09 16:32:31 -04:00
Dan Minor b9bfaf036c Bug 1456071 - Do not dispatch InsertDTMFTone call to sts thread; r=bwc
This removes the dispatch to the sts thread prior to calling
AudioConduit::InsertDTMFTone. There are assertions in ChannelProxy which
restrict the methods there to running on the main thread, so the current
code crashes immediately when inserting a tone in a debug build. The
inserted DTMF event ends up in a queue, so there is no reason not to just do
the insertion from the main thread.

MozReview-Commit-ID: G8JM9QDLrGF

--HG--
extra : rebase_source : 65168ee08efa5fc1960e35fd5acf4bdde0420b84
2018-04-26 11:36:19 -04:00
Dan Minor 21cb54ff16 Bug 1414829 - Fix VideoConduitTest gtest assertion failures; r=drno
--HG--
extra : rebase_source : 9e881c4a84389f480f2dcdd1c6be714bba2fdc72
2017-11-28 15:58:47 -05:00
Dan Minor f09687bfc8 Bug 1414829 - Add DeleteStreams to media conduits; r=jesup
--HG--
extra : rebase_source : da8ae4e2cb53e787f1730c2f5efcd65421de300f
2018-01-08 12:40:38 -05:00
Alex Chronopoulos e123e7c31b Bug 1458199 - Update cubeb from upstream to 44341a1. r=kinetik 2018-05-01 13:04:43 +02:00
Matthew Gregan 81d70e03c7 Bug 1427011 - Disable default device switching in libcubeb's WASAPI backend. r=padenot 2018-04-30 19:59:32 +12:00
Jean-Yves Avenard bbd46b9784 Bug 1455701 - Update mp4parse-rust to upstream. r=padenot
MozReview-Commit-ID: AJXc5W4Rt0t

--HG--
extra : rebase_source : c15d6d1a3ec0564623252416cd1435da087401c0
2018-04-26 10:18:03 +02:00
Paul Adenot c6e563b490 Bug 1456115 - Make last_sample_rate_ in `neteq_impl.cc` atomic. r=dminor
This allows removing locking, and allows other threads to progress without
taking the lock, hence lowering the probability that the lock will be taken for
a long time when we need to pull NeqEQ.

MozReview-Commit-ID: HMO67A0hher

--HG--
extra : rebase_source : aa5c77895eb57d60b61d9a8a5822e53593348830
2018-04-23 11:55:19 +02:00
Paul Adenot f412eb58ae Bug 1456115 - Re-serialize inbound NotifyPull. r=jya
We made NotifyPull parallel to try to lower the load, and we initially measured
an improvement. However, we did the measurements with a profiler that did an
aggregation of the results. Our results had an high variance, so the mean load
was in fact not meaningful.

More careful measurement performed without doing any aggregation show that,
under load, relying on the fact that the scheduler schedules the tasks on time
is too risky, and that the code is fast enough to not have to parallelize.

MozReview-Commit-ID: CMhSn8Sc0OO

--HG--
extra : rebase_source : cfb41f861089bce9e10446bee81c13f8565ba90e
2018-04-12 14:23:03 +02:00
Paul Adenot 1c6c907315 Bug 1456115 - Remove locking in AcmReceiver::GetAudio. r=dminor
This also causes a lot of dropouts. We don't need to lock here. NetEQ is thread
safe, and its created in the ctor. The rest of the members are made atomic or is
simply never accessed in multiple threads.

MozReview-Commit-ID: 2fRw5ZgxdpQ

--HG--
extra : rebase_source : f2aa082a3e856e873cfcd96ff721ccdc77df3633
2018-04-12 14:36:02 +02:00