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

2897 Коммитов

Автор 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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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