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

Fixing stats for Android #41

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Fixing stats for Android #41

merged 2 commits into from
Mar 27, 2024

Conversation

filipi87
Copy link

@filipi87 filipi87 commented Mar 27, 2024

Fixing stats for Android

Copy link

@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()) {

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
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
Author

Thank you for the review @mattieruth 🎉

@filipi87 filipi87 merged commit 82db0b6 into main Mar 27, 2024
1 check passed
@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