Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
algesten committed Dec 28, 2024
1 parent 7711af0 commit 800211a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
9 changes: 7 additions & 2 deletions examples/chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,13 @@ impl Client {
if let TrackOutState::ToOpen = track.state {
if let Some(track_in) = track.track_in.upgrade() {
let stream_id = track_in.origin.to_string();
let mid =
change.add_media(track_in.kind, Direction::SendOnly, Some(stream_id), None, None);
let mid = change.add_media(
track_in.kind,
Direction::SendOnly,
Some(stream_id),
None,
None,
);
track.state = TrackOutState::Negotiating(mid);
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/packet/pacer.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use std::collections::HashMap;
use std::time::{Duration, Instant};

use crate::rtp_::MidRid;
use crate::rtp_::{Bitrate, DataSize};
use crate::rtp_::{Bitrate, DataSize, MidRid};
use crate::util::already_happened;
use crate::util::not_happening;
use crate::util::Soonest;
Expand Down
2 changes: 1 addition & 1 deletion src/sdp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use thiserror::Error;
mod data;
pub(crate) use data::{FormatParam, Sdp, Session, SessionAttribute, Setup};
pub(crate) use data::{MediaAttribute, MediaLine, MediaType, Msid, Proto};
pub(crate) use data::{Simulcast, SimulcastGroups, RestrictionId};
pub(crate) use data::{RestrictionId, Simulcast, SimulcastGroups};
pub(crate) use parser::parse_candidate;

#[cfg(test)]
Expand Down

0 comments on commit 800211a

Please sign in to comment.