Skip to content

Commit

Permalink
Update libdatachannel to 0.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxrgd committed Jul 30, 2024
1 parent 08c32f3 commit 587234b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "datachannel"
version = "0.13.0"
version = "0.13.1"
edition = "2021"
description = "Rust wrappers for libdatachannel."
repository = "https://github.com/lerouxrgd/datachannel-rs"
Expand All @@ -10,7 +10,7 @@ license = "MPL-2.0"
readme = "README.md"

[dependencies]
datachannel-sys = { path = "datachannel-sys", version = "0.21.0" }
datachannel-sys = { path = "datachannel-sys", version = "0.21.2" }
derivative = "2"
log = { version = "0.4", optional = true }
parking_lot = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion datachannel-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "datachannel-sys"
version = "0.21.0"
version = "0.21.2"
authors = ["Romain Leroux <[email protected]>"]
edition = "2021"
links = "datachannel"
Expand Down
2 changes: 1 addition & 1 deletion src/datachannel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ where
/// buffer them.
///
/// [`buffered_amount`]: RtcDataChannel::buffered_amount
/// [`on_bufferd_amount_low`]: RtcDataChannel::on_bufferd_amount_low
/// [`on_bufferd_amount_low`]: DataChannelHandler::on_buffered_amount_low
pub fn set_buffered_amount_low_threshold(&mut self, amount: usize) -> Result<()> {
let amount = i32::try_from(amount).map_err(|_| Error::InvalidArg)?;
check(unsafe { sys::rtcSetBufferedAmountLowThreshold(self.id.0, amount) })?;
Expand Down

0 comments on commit 587234b

Please sign in to comment.