Skip to content

Commit

Permalink
fix(sdp-types): pass value to rtcp parse
Browse files Browse the repository at this point in the history
  • Loading branch information
kbalt committed Dec 3, 2024
1 parent 38a16d4 commit 71bde86
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -408,7 +408,7 @@ impl Parser {
// TODO error here ?
}
"rtcp" => {
let (_, rtcp) = Rtcp::parse(src.as_ref(), line).finish()?;
let (_, rtcp) = Rtcp::parse(src.as_ref(), value).finish()?;

if let Some(media_description) = self.media_descriptions.last_mut() {
media_description.rtcp = Some(rtcp);
Expand Down

0 comments on commit 71bde86

Please sign in to comment.