Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Question] Stream is rotated

Open
#1,730 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile-dev

Research direction

The report is about GenericStream output appearing rotated when the phone is closed, and the reporter gives no version or device details. Start by reading how the Android surface and rotation are handled in the library's GenericStream classes and the camera or surface setup they call. Done would mean reproducing the rotated output on a device and showing the orientation is corrected while the stream runs.

Written by the indexing model from the issue text.

Description

Hi,

I am starting the stream with my phone closed. So aquiring the Surface will be an issues for this situation.
I am using GenericStream. I tried some rotations and other things. This is what I am getting.

Image Image

Is there any way to solve this using GenericStream ? To add also the fact that if the phone is on everything works good.

Dominant language
Kotlin
Stars
3k
Forks
946
Avg merge
4d 6h
Merged PRs (30d)
9

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pedroSG94/RootEncoder

All issues in pedroSG94/RootEncoder

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.