Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtcp should fit #66

Merged
merged 2 commits into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions client/src/app/rtp_streams_plot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,17 +563,18 @@ fn build_stream_points(
}

fn build_reception_report(on_hover: &mut String, report: &&ReceptionReport) {
on_hover.push_str("------------------------\n");
on_hover.push_str(&format!("SSRC: {:x}\n", report.ssrc));
on_hover.push_str(&format!("Fraction lost: {}\n", report.fraction_lost));
on_hover.push_str(&format!("Cumulative lost: {}\n", report.total_lost));
on_hover.push_str(&"-".repeat(160));
on_hover.push('\n');
on_hover.push_str(&format!("SSRC: {:x}\t", report.ssrc));
on_hover.push_str(&format!("Fraction lost: {}\t", report.fraction_lost));
on_hover.push_str(&format!("Cumulative lost: {}\t", report.total_lost));
on_hover.push_str(&format!(
"Extended highest sequence number: {}\n",
report.last_sequence_number
));
on_hover.push_str(&format!("Interarrival jitter: {}\n", report.jitter));
on_hover.push_str(&format!("Interarrival jitter: {}\t", report.jitter));
on_hover.push_str(&format!(
"Last SR timestamp: {}\n",
"Last SR timestamp: {}\t",
report.last_sender_report
));
on_hover.push_str(&format!("Delay since last SR: {}\n", report.delay));
Expand Down