Commit Graph

6156 Commits

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