servo/components
bors-servo 6b648429f5
Auto merge of #22780 - Manishearth:webrtc, r=jdm
Initial webrtc and getUserMedia DOM support

This is able to reach the point where connections are properly negotiated and ready to exchange streams.

<s>The `toJSON()` stuff doesn't work yet, so most example code will need to be tweaked to manually construct JSON first before sending SDP and ICE messages over websockets. I'll add support for this soon. (This may need webidl tweaks to support `[Default]` and `toJSON()`)</s>

For some reason I haven't yet figured out, connections are one-way, Servo is able to receive streams but the other end doesn't see the streams Servo sends. I don't think this is due to https://github.com/servo/media/issues/191, but that bug is making it harder to test.

This implementation simply drops streams that it receives, without connecting them up to any output elements, since servo-media-player doesn't yet have mediastream support.

Since servo can neither effectively send nor receive streams this implementation isn't useful yet, however it is getting large and I figured I'd get it reviewed and landed early as a base.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22780)
<!-- Reviewable:end -->
2019-01-31 12:14:16 -05:00
..
allocator Make Servo components use winapi 0.3 2019-01-16 14:29:53 +01:00
atoms Fire negotiationneeded and icecandidate events 2019-01-29 11:36:27 -08:00
background_hang_monitor fix frame-pointer stackwalking 2019-01-29 20:35:45 +08:00
bluetooth Update bool pattern matching into if-else 2019-01-30 20:54:12 +01:00
bluetooth_traits Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
canvas Ensure that resized GL contexts do not destroy their resources while in use by WR. 2019-01-17 22:44:41 -05:00
canvas_traits Ensure that resized GL contexts do not destroy their resources while in use by WR. 2019-01-17 22:44:41 -05:00
compositing Fix servo build and rustfmt recent changes. 2019-01-20 16:31:01 +01:00
config Fix deprecation warnings 2019-01-28 11:32:40 +01:00
constellation Update bool pattern matching into if-else 2019-01-30 20:54:12 +01:00
debugger Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
deny_public_fields Update syn and related dependencies 2018-11-30 17:48:41 +01:00
devtools Remove redundant .clone()s 2018-12-11 10:43:51 +09:00
devtools_traits Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
dom_struct Update syn and related dependencies 2018-11-30 17:48:41 +01:00
domobject_derive Update syn and related dependencies 2018-11-30 17:48:41 +01:00
embedder_traits style: Make tidy happy. 2019-01-20 17:50:18 +01:00
fallible Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
geometry Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
gfx Fix deprecation warnings 2019-01-28 11:32:40 +01:00
gfx_traits Fix deprecation warnings 2019-01-28 11:32:40 +01:00
hashglobe cargo fix --edition 2018-11-10 17:47:28 +01:00
jstraceable_derive Update syn and related dependencies 2018-11-30 17:48:41 +01:00
layout Fix deprecation warnings 2019-01-28 11:32:40 +01:00
layout_thread Auto merge of #22396 - jdm:no-spam-iframe-size, r=asajeffrey 2019-01-14 19:12:59 -05:00
layout_traits style: Make Servo use a single thread-pool for layout-related tasks per-process. 2018-12-23 13:00:56 +01:00
malloc_size_of Update webrender. 2019-01-17 17:52:35 -05:00
metrics Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
msg Update webrender. 2019-01-17 17:52:35 -05:00
net Auto merge of #22714 - aditj:patch-3, r=jdm 2019-01-28 18:45:26 -05:00
net_traits Auto merge of #22714 - aditj:patch-3, r=jdm 2019-01-28 18:45:26 -05:00
pixels Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
profile Fix deprecation warnings 2019-01-28 11:32:40 +01:00
profile_traits Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
rand Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
range Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
remutex Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
script Auto merge of #22780 - Manishearth:webrtc, r=jdm 2019-01-31 12:14:16 -05:00
script_layout_interface Move CSSReporter from script_layout_interface to script 2019-01-14 10:26:26 +01:00
script_plugins Upgrade to rustc 1.34.0-nightly (da6ab956e 2019-01-27) 2019-01-28 11:23:51 +01:00
script_traits Fix servo build and rustfmt recent changes. 2019-01-20 16:31:01 +01:00
selectors style: Derive more. 2019-01-29 02:39:13 +01:00
servo Update webrender. 2019-01-17 17:52:35 -05:00
servo_arc cargo fix --edition 2018-11-10 17:47:28 +01:00
size_of_test Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
std_test_override Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
style style: sort extern crates and fix servo build. 2019-01-29 03:17:24 +01:00
style_derive style: Rustfmt recent changes. 2019-01-13 21:59:35 +01:00
style_traits style: Move cursor to cbindgen. 2019-01-20 14:30:51 +01:00
url Auto merge of #22740 - Hyperion101010:master, r=jdm 2019-01-28 15:56:29 -05:00
webdriver_server Update base64 to 0.10.1 2019-01-25 14:02:56 +01:00
webvr Remove redundant .clone()s 2018-12-11 10:43:51 +09:00
webvr_traits Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00