-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Video Aspect Ratio is not correct #48
Milestone
Comments
3 tasks
Thanks! It's working great! |
Sorry, it's still broken. When I put |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
When streaming using HaishinStudio, the stream has a resolution of 640x360, but the resolution in Camera2Source is 640x480. I looked at the code, and it seems like the
resolution
variable is never set inCamera2Source
, so the stream resolution isn't set either. Even if I manually set the stream resolution to be equal to the source resolution, the video still has the wrong aspect ratio.I'm testing this with commit 513e551, since the next commit seems to have broken video streaming (only the audio is available in VLC).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The video has the correct aspect ratio.
I don't actually understand how/where the "correct" aspect ratio comes from, the variable setting seems a bit circular to me.
Screenshots
(The object in frame is a cube)
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: