Partial image data received – full image only transmitted in landscape mode on mobile
Hi, thank you for this great package! I'm currently using it in a Blazor Server app and ran into an issue when streaming camera data from a mobile device.
Problem: When holding the mobile device in portrait mode, only part of the image data seems to be transmitted. The resulting image is cropped or incomplete. However, when I turn the device to landscape orientation, the full image is transmitted correctly.
Expected Behavior: Regardless of device orientation (portrait or landscape), the entire image should be captured and transmitted.
Steps to Reproduce:
- Open the camera stream from a mobile device using BlazorCameraStreamer.
- Keep the phone in portrait mode.
- Capture a frame or observe the streamed image.
- Rotate to landscape mode and repeat.
- Compare the results – only landscape mode produces a full image.
Environment:
- Device: Smartphone (Android & iOS)
- Orientation: Portrait (causes issue), Landscape (works)
- App type: Blazor Server
- Package version: 3.0.1
Hi @mnuess,
I appreciate your thorough information. Unfortunately, I must inform you that I haven't worked on this project for some time (the last commit was two years ago). My motivation has also declined.
However, if I find some time in the coming week, I can take a look at it. Could you also provide me with some screenshots showing the exact issue?
If I'm being honest, I never really tested the library with a Phone and only intended its use for PC webcams. But maybe it's just a simple change in the underlying JavaScript code.
Also, if you're motivated, you can check out the code as well and try to solve it. I'll happily accept your merge requests.