Commit Graph

6183 Commits

Author SHA1 Message Date
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
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
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