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

Minicap Stream Orientation #33

Closed
haihaoshen opened this issue Aug 17, 2016 · 3 comments
Closed

Minicap Stream Orientation #33

haihaoshen opened this issue Aug 17, 2016 · 3 comments

Comments

@haihaoshen
Copy link

Hi,

I can run the example following the sample instructions. However, I found there is one issue that the command orientation is hard code for the first run minicap binary. Sometimes, Android app 1 launches at Landscape while app 2 launches at Portrait. Is there any way to make it adapt automatically?

adb shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1440x2560@1440x2560/0 (0 Portrait)

Thanks,
Harry

@sorccu
Copy link
Member

sorccu commented Aug 17, 2016

The README covers that. You need to use another utility, which you can make on your own, to detect rotation changes. Then you restart minicap with the correct parameters.

@sorccu sorccu closed this as completed Aug 17, 2016
@haihaoshen
Copy link
Author

thanks.

@sorccu
Copy link
Member

sorccu commented Aug 17, 2016

It's because it's not possible to do it within minicap for all the API levels it supports.

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

No branches or pull requests

2 participants