Skip to content

Fixing stats for Android#41

Merged
filipi87 merged 2 commits intomainfrom
fix_stats
Mar 27, 2024
Merged

Fixing stats for Android#41
filipi87 merged 2 commits intomainfrom
fix_stats

Conversation

@filipi87
Copy link
Copy Markdown

@filipi87 filipi87 commented Mar 27, 2024

Fixing stats for Android

@filipi87 filipi87 requested review from kompfner and mattieruth March 27, 2024 13:30
Copy link
Copy Markdown

@mattieruth mattieruth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

common sense tells me this change is good 👍

if (r.id().equals(senderId)) {
targetSender = r;
RtpSender targetSender = null;
for (RtpSender s : this.peerConnection.getSenders()) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question: here you added this. -- Do we need to change that in receiverGetStats() too? or was the addition of this somehow not necessary?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this keyword is used to refer to the current instance of the class in which it appears. But it is not mandatory, it is just to make it more explicit.

@filipi87
Copy link
Copy Markdown
Author

Thank you for the review @mattieruth 🎉

@filipi87 filipi87 merged commit 82db0b6 into main Mar 27, 2024
@filipi87 filipi87 deleted the fix_stats branch March 27, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants