File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
data-channels-detach-create
data-channels-flow-control Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
# data-channels-detach-create
2
- data-channels-detach-create is an example that shows how you can detach a data channel.
3
- This allows direct access the the underlying [ webrtc-rs/data] ( https://github.com/webrtc-rs/data ) .
2
+
3
+ data-channels-detach-create is an example that shows how you can detach a data channel.
4
+ This allows direct access the the underlying [ webrtc-rs/data] ( https://github.com/webrtc-rs/data ) .
4
5
5
6
The example mirrors the data-channels-create example.
6
7
Original file line number Diff line number Diff line change 2
2
This example demonstrates how to use the following property / methods.
3
3
4
4
* pub async fn buffered_amount(&self) -> usize
5
- * pub async fn set_buffered_amount_low_threshold(&self, th: usize)
5
+ * pub async fn set_buffered_amount_low_threshold(&self, th: usize)
6
6
* pub async fn buffered_amount_low_threshold(&self) -> usize
7
7
* pub async fn on_buffered_amount_low(&self, f: OnBufferedAmountLowFn)
8
8
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ The `output_vp8.ivf`/`output_vp9.ivf` you created should be in the same director
22
22
23
23
#### Linux/macOS
24
24
1 . Run ` echo $BROWSER_SDP | ./target/debug/examples/play-from-disk-vpx -v examples/test-data/output_vp8.ivf -a examples/test-data/output.ogg `
25
- 2 . Run ` echo $BROWSER_SDP | ./target/debug/examples/play-from-disk-vpx -v examples/test-data/output_vp9.ivf -a examples/test-data/output.ogg --vp9 `
25
+ 2 . Run ` echo $BROWSER_SDP | ./target/debug/examples/play-from-disk-vpx -v examples/test-data/output_vp9.ivf -a examples/test-data/output.ogg --vp9 `
26
+
26
27
#### Windows
27
28
1 . Paste the SessionDescription into a file.
28
29
2 . Run ` ./target/debug/examples/play-from-disk-vpx -v examples/test-data/output_vp8.ivf -a examples/test-data/output.ogg < my_file `
You can’t perform that action at this time.
0 commit comments