-
-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Version
Almost the latest
Environment that reproduces the issue
Hi @ThibaultBee! Love your project. Thanks for all your hard work.
I've built an app that can use RTMP as custom video/audio source with StreamPack SDK https://github.com/dimadesu/LifeStreamer
I'm here to propose a fix (or a feature maybe π€·ββοΈ ) to PreviewView.kt.
Use case description
Camera demo has issue when bitmap is in landscape orientation: preview shows landscape bitmap as portrait.
I think this is an issue with all non-camera sources.
Proposed solution
I've found a simple fix.
Works for me really well for both bitmap and RTMP sources.
It's hard to fix in app itself, so I had to copy the whole PreviewView.kt into my app and tweak it.
Looks like something that is ideally fixed in the SDK itself.
I can put together a PR if needed.
Thanks!
Alternative solutions
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
