clippy
This commit is contained in:
parent
1ee6d95cc3
commit
ba8b00b4fd
@ -269,7 +269,7 @@ fn parse_media(base_url: &Url, media_description: &Media) -> Result<Stream, Stri
|
||||
.value
|
||||
.as_ref()
|
||||
.ok_or_else(|| "rtpmap attribute with no value".to_string())?
|
||||
.trim_end_matches(" ");
|
||||
.trim_end_matches(' ');
|
||||
// https://tools.ietf.org/html/rfc8866#section-6.6
|
||||
// rtpmap-value = payload-type SP encoding-name
|
||||
// "/" clock-rate [ "/" encoding-params ]
|
||||
|
@ -72,6 +72,7 @@ pub(super) async fn background_teardown(
|
||||
}
|
||||
|
||||
/// Attempts `TEARDOWN` in a loop until success; caller should bound by session expiry.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub(super) async fn teardown_loop_forever(
|
||||
url: Url,
|
||||
tool: Option<Tool>,
|
||||
|
Loading…
Reference in New Issue
Block a user