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

6279 Коммитов

Автор SHA1 Сообщение Дата
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