File tree 18 files changed +113
-114
lines changed
examples/data-channels-flow-control
18 files changed +113
-114
lines changed Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/webrtc/actions " >
6
+ <a href =" https://github.com/webrtc-rs/webrtc/actions " >
7
7
<img src =" https://github.com/webrtc-rs/webrtc/workflows/webrtc/badge.svg?branch=master " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/webrtc " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/webrtc " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/webrtc/branch/master/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/webrtc " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/webrtc " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/webrtc/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/webrtc " >
15
+ <a href =" https://crates.io/crates/webrtc " >
16
16
<img src =" https://img.shields.io/crates/v/webrtc.svg " >
17
- </a >
18
- <a href =" https://docs.rs/webrtc " >
17
+ </a >
18
+ <a href =" https://docs.rs/webrtc " >
19
19
<img src =" https://docs.rs/webrtc/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
26
26
</a >
27
27
<a href =" https://twitter.com/WebRTCrs " >
28
28
<img src =" https://img.shields.io/twitter/url/https/twitter.com/webrtcrs.svg?style=social&label=%40WebRTCrs " alt =" Twitter " >
29
- </a >
29
+ </a >
30
30
</p >
31
31
<p align =" center " >
32
32
A pure Rust implementation of WebRTC stack. Rewrite <a href =" http://Pion.ly " >Pion</a > WebRTC stack in Rust
@@ -128,7 +128,7 @@ cargo test # build all examples (maybe very slow)
128
128
cargo build --example play-from-disk-vpx # build play-from-disk-vpx example only
129
129
cargo build --example play-from-disk-h264 # build play-from-disk-h264 example only
130
130
#...
131
- #]
131
+ #]
132
132
```
133
133
134
134
To build webrtc crate:
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/data/actions " >
6
+ <a href =" https://github.com/webrtc-rs/data/actions " >
7
7
<img src =" https://github.com/webrtc-rs/data/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/data " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/data " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/data/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/data " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/data " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/data/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/webrtc-data " >
15
+ <a href =" https://crates.io/crates/webrtc-data " >
16
16
<img src =" https://img.shields.io/crates/v/webrtc-data.svg " >
17
17
</a >
18
- <a href =" https://docs.rs/webrtc-data " >
18
+ <a href =" https://docs.rs/webrtc-data " >
19
19
<img src =" https://docs.rs/webrtc-data/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/dtls/actions " >
6
+ <a href =" https://github.com/webrtc-rs/dtls/actions " >
7
7
<img src =" https://github.com/webrtc-rs/dtls/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/dtls " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/dtls " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/dtls/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/dtls " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/dtls " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/dtls/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/webrtc-dtls " >
15
+ <a href =" https://crates.io/crates/webrtc-dtls " >
16
16
<img src =" https://img.shields.io/crates/v/webrtc-dtls.svg " >
17
17
</a >
18
- <a href =" https://docs.rs/webrtc-dtls " >
18
+ <a href =" https://docs.rs/webrtc-dtls " >
19
19
<img src =" https://docs.rs/webrtc-dtls/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/examples/actions " >
6
+ <a href =" https://github.com/webrtc-rs/examples/actions " >
7
7
<img src =" https://github.com/webrtc-rs/examples/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/examples " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/examples " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/examples/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/examples " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/examples " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/examples/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/examples " >
15
+ <a href =" https://crates.io/crates/examples " >
16
16
<img src =" https://img.shields.io/crates/v/examples.svg " >
17
- </a >
18
- <a href =" https://docs.rs/examples " >
17
+ </a >
18
+ <a href =" https://docs.rs/examples " >
19
19
<img src =" https://docs.rs/examples/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change @@ -58,5 +58,4 @@ Throughput is about 119.873 Mbps
58
58
Throughput is about 118.890 Mbps
59
59
Throughput is about 118.525 Mbps
60
60
Throughput is about 118.614 Mbps
61
-
62
61
```
Original file line number Diff line number Diff line change 6
6
7
7
* Increased minimum support rust version to ` 1.60.0 ` .
8
8
9
- ### Breaking changes
9
+ ### Breaking changes
10
10
11
11
* Make functions non-async [ #338 ] ( https://github.com/webrtc-rs/webrtc/pull/338 ) :
12
12
- ` Agent ` :
22
22
- ` CandidatePeerReflexiveConfig::new_candidate_peer_reflexive ` ;
23
23
- ` CandidateRelayConfig::new_candidate_relay ` ;
24
24
- ` CandidateServerReflexiveConfig::new_candidate_server_reflexive ` ;
25
- - ` Candidate ` :
25
+ - ` Candidate ` :
26
26
- ` addr ` ;
27
27
- ` set_ip ` .
28
28
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/ice/actions " >
6
+ <a href =" https://github.com/webrtc-rs/ice/actions " >
7
7
<img src =" https://github.com/webrtc-rs/ice/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/ice " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/ice " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/ice/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/ice " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/ice " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/ice/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/webrtc-ice " >
15
+ <a href =" https://crates.io/crates/webrtc-ice " >
16
16
<img src =" https://img.shields.io/crates/v/webrtc-ice.svg " >
17
- </a >
18
- <a href =" https://docs.rs/webrtc-ice " >
17
+ </a >
18
+ <a href =" https://docs.rs/webrtc-ice " >
19
19
<img src =" https://docs.rs/webrtc-ice/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/interceptor/actions " >
6
+ <a href =" https://github.com/webrtc-rs/interceptor/actions " >
7
7
<img src =" https://github.com/webrtc-rs/interceptor/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/interceptor " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/interceptor " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/interceptor/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/interceptor " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/interceptor " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/interceptor/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/interceptor " >
15
+ <a href =" https://crates.io/crates/interceptor " >
16
16
<img src =" https://img.shields.io/crates/v/interceptor.svg " >
17
- </a >
18
- <a href =" https://docs.rs/interceptor " >
17
+ </a >
18
+ <a href =" https://docs.rs/interceptor " >
19
19
<img src =" https://docs.rs/interceptor/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/mdns/actions " >
6
+ <a href =" https://github.com/webrtc-rs/mdns/actions " >
7
7
<img src =" https://github.com/webrtc-rs/mdns/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/mdns " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/mdns " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/mdns/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/mdns " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/mdns " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/mdns/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/webrtc-mdns " >
15
+ <a href =" https://crates.io/crates/webrtc-mdns " >
16
16
<img src =" https://img.shields.io/crates/v/webrtc-mdns.svg " >
17
- </a >
18
- <a href =" https://docs.rs/webrtc-mdns " >
17
+ </a >
18
+ <a href =" https://docs.rs/webrtc-mdns " >
19
19
<img src =" https://docs.rs/webrtc-mdns/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/media/actions " >
6
+ <a href =" https://github.com/webrtc-rs/media/actions " >
7
7
<img src =" https://github.com/webrtc-rs/media/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/media " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/media " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/media/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/media " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/media " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/media/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/webrtc-media " >
15
+ <a href =" https://crates.io/crates/webrtc-media " >
16
16
<img src =" https://img.shields.io/crates/v/webrtc-media.svg " >
17
17
</a >
18
- <a href =" https://docs.rs/webrtc-media " >
18
+ <a href =" https://docs.rs/webrtc-media " >
19
19
<img src =" https://docs.rs/webrtc-media/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/rtcp/actions " >
6
+ <a href =" https://github.com/webrtc-rs/rtcp/actions " >
7
7
<img src =" https://github.com/webrtc-rs/rtcp/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/rtcp " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/rtcp " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/rtcp/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/rtcp " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/rtcp " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/rtcp/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/rtcp " >
15
+ <a href =" https://crates.io/crates/rtcp " >
16
16
<img src =" https://img.shields.io/crates/v/rtcp.svg " >
17
- </a >
18
- <a href =" https://docs.rs/rtcp " >
17
+ </a >
18
+ <a href =" https://docs.rs/rtcp " >
19
19
<img src =" https://docs.rs/rtcp/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/rtp/actions " >
6
+ <a href =" https://github.com/webrtc-rs/rtp/actions " >
7
7
<img src =" https://github.com/webrtc-rs/rtp/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/rtp " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/rtp " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/rtp/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/rtp " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/rtp " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/rtp/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/rtp " >
15
+ <a href =" https://crates.io/crates/rtp " >
16
16
<img src =" https://img.shields.io/crates/v/rtp.svg " >
17
- </a >
18
- <a href =" https://docs.rs/rtp " >
17
+ </a >
18
+ <a href =" https://docs.rs/rtp " >
19
19
<img src =" https://docs.rs/rtp/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/sctp/actions " >
6
+ <a href =" https://github.com/webrtc-rs/sctp/actions " >
7
7
<img src =" https://github.com/webrtc-rs/sctp/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/sctp " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/sctp " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/sctp/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/sctp " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/sctp " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/sctp/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/webrtc-sctp " >
15
+ <a href =" https://crates.io/crates/webrtc-sctp " >
16
16
<img src =" https://img.shields.io/crates/v/webrtc-sctp.svg " >
17
- </a >
18
- <a href =" https://docs.rs/webrtc-sctp " >
17
+ </a >
18
+ <a href =" https://docs.rs/webrtc-sctp " >
19
19
<img src =" https://docs.rs/webrtc-sctp/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/sdp/actions " >
6
+ <a href =" https://github.com/webrtc-rs/sdp/actions " >
7
7
<img src =" https://github.com/webrtc-rs/sdp/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/sdp " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/sdp " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/sdp/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/sdp " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/sdp " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/sdp/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/sdp " >
15
+ <a href =" https://crates.io/crates/sdp " >
16
16
<img src =" https://img.shields.io/crates/v/sdp.svg " >
17
- </a >
18
- <a href =" https://docs.rs/sdp " >
17
+ </a >
18
+ <a href =" https://docs.rs/sdp " >
19
19
<img src =" https://docs.rs/sdp/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
Original file line number Diff line number Diff line change 3
3
<br >
4
4
</h1 >
5
5
<p align =" center " >
6
- <a href =" https://github.com/webrtc-rs/srtp/actions " >
6
+ <a href =" https://github.com/webrtc-rs/srtp/actions " >
7
7
<img src =" https://github.com/webrtc-rs/srtp/workflows/cargo/badge.svg " >
8
- </a >
9
- <a href =" https://codecov.io/gh/webrtc-rs/srtp " >
8
+ </a >
9
+ <a href =" https://codecov.io/gh/webrtc-rs/srtp " >
10
10
<img src =" https://codecov.io/gh/webrtc-rs/srtp/branch/main/graph/badge.svg " >
11
11
</a >
12
- <a href =" https://deps.rs/repo/github/webrtc-rs/srtp " >
12
+ <a href =" https://deps.rs/repo/github/webrtc-rs/srtp " >
13
13
<img src =" https://deps.rs/repo/github/webrtc-rs/srtp/status.svg " >
14
14
</a >
15
- <a href =" https://crates.io/crates/webrtc-srtp " >
15
+ <a href =" https://crates.io/crates/webrtc-srtp " >
16
16
<img src =" https://img.shields.io/crates/v/webrtc-srtp.svg " >
17
- </a >
18
- <a href =" https://docs.rs/webrtc-srtp " >
17
+ </a >
18
+ <a href =" https://docs.rs/webrtc-srtp " >
19
19
<img src =" https://docs.rs/webrtc-srtp/badge.svg " >
20
20
</a >
21
21
<a href =" https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license " >
You can’t perform that action at this time.
0 commit comments