Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
algesten committed Jul 25, 2024
1 parent c599422 commit 386c665
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/bwe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ impl<'a> Bwe<'a> {
/// [`RtcConfig::enable_bwe`][crate::RtcConfig::enable_bwe].
///
/// * `current_bitrate` an estimate of the current bitrate being sent. When the media is
/// produced by encoders this value should be the sum of all the target bitrates for these
/// encoders, when the media originates from another WebRTC client it should be the sum of the
/// configure bitrates for all tracks being sent. This value should only account for video i.e.
/// audio bitrates should be ignored.
/// produced by encoders this value should be the sum of all the target bitrates for these
/// encoders, when the media originates from another WebRTC client it should be the sum of the
/// configure bitrates for all tracks being sent. This value should only account for video i.e.
/// audio bitrates should be ignored.
///
/// ## Example
///
Expand Down Expand Up @@ -68,10 +68,10 @@ impl<'a> Bwe<'a> {
/// [`RtcConfig::enable_bwe`][crate::RtcConfig::enable_bwe].
///
/// * `desired_bitrate` The bitrate you would like to eventually send at. The BWE system will
/// try to reach this bitrate by probing with padding packets. You should allocate your media
/// bitrate based on the estimated the BWE system produces via
/// [`Event::EgressBitrateEstimate`][crate::Event::EgressBitrateEstimate]. This rate might
/// not be reached if the network link cannot sustain the desired bitrate.
/// try to reach this bitrate by probing with padding packets. You should allocate your media
/// bitrate based on the estimated the BWE system produces via
/// [`Event::EgressBitrateEstimate`][crate::Event::EgressBitrateEstimate]. This rate might
/// not be reached if the network link cannot sustain the desired bitrate.
///
/// ## Example
///
Expand Down
1 change: 1 addition & 0 deletions src/sdp/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ where
/// 2. The second SDP line MUST be an "o=" line The sess-id MUST be representable by a 64-bit signed
/// integer, and the initial value MUST be less than (2**62)-1
/// 3. Third line a single dash SHOULD be used as the session name, e.g. "s=-"
///
/// Session is over when we find a "t=" line MUST be added, both <start-time> and <stop-time>
/// SHOULD be set to zero, e.g. "t=0 0".
pub fn session_parser<Input>() -> impl Parser<Input, Output = Session>
Expand Down

0 comments on commit 386c665

Please sign in to comment.