Auto merge of #26752 - ferjm:datachannel, r=Manishearth

WebRTC data channels support

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #26212

This depends on https://github.com/servo/media/pull/350 and contains the basic pieces to make a  simple test like https://ferjm.github.io/samples/src/content/datachannel/basic/ work
This commit is contained in:
bors-servo 2020-06-30 13:53:32 -04:00 committed by GitHub
commit 4b034ede46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 930 additions and 34 deletions

43
Cargo.lock generated
View file

@ -2286,9 +2286,9 @@ dependencies = [
[[package]]
name = "gstreamer-webrtc"
version = "0.15.0"
version = "0.15.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e64235af90676896b01f3cbe50808fefaf498057ca288ce4a31a89de81464e04"
checksum = "1f433d1294266fb1d65e1dc2d4de365f7f4caf23cb72db3a3bd6904eeec88cf1"
dependencies = [
"glib",
"glib-sys",
@ -3659,6 +3659,16 @@ dependencies = [
"version_check",
]
[[package]]
name = "num-complex"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"
dependencies = [
"autocfg",
"num-traits",
]
[[package]]
name = "num-derive"
version = "0.3.0"
@ -4884,7 +4894,7 @@ dependencies = [
[[package]]
name = "servo-media"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"servo-media-audio",
"servo-media-player",
@ -4896,16 +4906,19 @@ dependencies = [
[[package]]
name = "servo-media-audio"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"boxfnonce",
"byte-slice-cast",
"euclid",
"log",
"num-complex",
"num-traits",
"petgraph",
"serde",
"serde_derive",
"servo-media-player",
"servo-media-streams",
"servo-media-traits",
"servo_media_derive",
"smallvec 0.6.13",
@ -4915,7 +4928,7 @@ dependencies = [
[[package]]
name = "servo-media-dummy"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"boxfnonce",
"ipc-channel",
@ -4930,7 +4943,7 @@ dependencies = [
[[package]]
name = "servo-media-gstreamer"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"boxfnonce",
"byte-slice-cast",
@ -4966,7 +4979,7 @@ dependencies = [
[[package]]
name = "servo-media-gstreamer-render"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"gstreamer",
"gstreamer-video",
@ -4976,7 +4989,7 @@ dependencies = [
[[package]]
name = "servo-media-gstreamer-render-android"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"glib",
"gstreamer",
@ -4989,7 +5002,7 @@ dependencies = [
[[package]]
name = "servo-media-gstreamer-render-unix"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"glib",
"gstreamer",
@ -5002,7 +5015,7 @@ dependencies = [
[[package]]
name = "servo-media-player"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"ipc-channel",
"serde",
@ -5014,7 +5027,7 @@ dependencies = [
[[package]]
name = "servo-media-streams"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"lazy_static",
"uuid",
@ -5023,16 +5036,18 @@ dependencies = [
[[package]]
name = "servo-media-traits"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
[[package]]
name = "servo-media-webrtc"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"boxfnonce",
"lazy_static",
"log",
"servo-media-streams",
"uuid",
]
[[package]]
@ -5104,7 +5119,7 @@ dependencies = [
[[package]]
name = "servo_media_derive"
version = "0.1.0"
source = "git+https://github.com/servo/media#62cd58a94c54e8d9ff3845f263356e242e951686"
source = "git+https://github.com/servo/media#18ece081a071b1b6b323f8d7b2684a76a7df203e"
dependencies = [
"proc-macro2 1.0.17",
"quote 1.0.2",