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

Fix(android): avoid blinking on video track change #3782

Merged

Conversation

freeboub
Copy link
Collaborator

Summary

avoid blinking on video track change

Motivation

Clean video view display

Changes

Avoid resizing when video resolution is unknown, it happens on video track change from app

Test plan

can be tested easily once: #3778 will be merged

@freeboub
Copy link
Collaborator Author

@YangJonghun This is for you ! :)

Copy link
Collaborator

@YangJonghun YangJonghun left a comment

Choose a reason for hiding this comment

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

When I changed the "selectedVideoTrack" prop,
the onBandwidthUpdate event log looked like below

 LOG  {"bitrate": 92657624, "height": 1080, "trackId": "1", "width": 1920}
 LOG  {"bitrate": 92657624, "height": 1080, "trackId": "1", "width": 1920}
 LOG  {"bitrate": 92657624, "height": 0, "trackId": "-1", "width": 0}
 LOG  {"bitrate": 97755024, "height": 720, "trackId": "0", "width": 1280}
 LOG  {"bitrate": 97755024, "height": 720, "trackId": "0", "width": 1280}

so this change was appropriate. Thanks :)

@KrzysztofMoch KrzysztofMoch merged commit 7b1e129 into TheWidlarzGroup:master May 17, 2024
3 checks passed
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.

3 participants