Skip to content

Commit

Permalink
fix(sdp-types): fix setup attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kbalt committed Dec 19, 2024
1 parent fb61618 commit 944a044
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/sdp-types/src/media_description.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl fmt::Display for MediaDescription {
}

if let Some(setup) = self.setup {
write!(f, "a={setup}\r\n")?;
write!(f, "a=setup:{setup}\r\n")?;
}

for fingerprint in &self.fingerprint {
Expand Down
2 changes: 1 addition & 1 deletion crates/sdp-types/src/session_description.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl fmt::Display for SessionDescription {
}

if let Some(setup) = self.setup {
write!(f, "a={setup}\r\n")?;
write!(f, "a=setup:{setup}\r\n")?;
}

for fingerprint in &self.fingerprint {
Expand Down

0 comments on commit 944a044

Please sign in to comment.