Port Rust sendrecv example to asynchronous IO and completely rewrite

Code should be easier to follow now and also supports TLS WebSockets
now.

Fixes https://github.com/centricular/gstwebrtc-demos/issues/70
This commit is contained in:
Sebastian Dröge 2019-06-27 13:54:23 +03:00
parent bb36c08126
commit a47bdbb21f
3 changed files with 904 additions and 973 deletions

File diff suppressed because it is too large Load diff

View file

@ -16,3 +16,4 @@ serde = "1.0.66"
serde_derive = "1.0.66"
serde_json = "1.0.19"
websocket = "0.22"
tokio = "0.1"

File diff suppressed because it is too large Load diff