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 disconnects after connect to device #19

Closed
plcgi1 opened this issue Feb 15, 2016 · 1 comment
Closed

minicap disconnects after connect to device #19

plcgi1 opened this issue Feb 15, 2016 · 1 comment

Comments

@plcgi1
Copy link

plcgi1 commented Feb 15, 2016

Thanks for the awesome project.

Device info (with nodejs module - adbkit)
'ro.product.cpu.abi': 'armeabi-v7a',
'ro.product.manufacturer': 'Sony',
'ro.product.model': 'Xperia',

I use js file from your examples directory
I added some code to file

stream.on('end',function(){
console.info('disconnected',arguments);
});

I run minicap with log

INFO: Using projection 1440x2570@269x480/0
INFO: (external/MY_minicap/src/minicap_22.cpp:240) Creating SurfaceComposerClient
INFO: (external/MY_minicap/src/minicap_22.cpp:243) Performing SurfaceComposerClient init check
INFO: (external/MY_minicap/src/minicap_22.cpp:250) Creating virtual display
INFO: (external/MY_minicap/src/minicap_22.cpp:256) Creating buffer queue
INFO: (external/MY_minicap/src/minicap_22.cpp:261) Creating CPU consumer
INFO: (external/MY_minicap/src/minicap_22.cpp:265) Creating frame waiter
INFO: (external/MY_minicap/src/minicap_22.cpp:269) Publishing virtual display
INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 11130372 bytes for JPG encoder

Then i run
node example.js
When web page is loaded - in console fire event 'end'
and no images in browser

@plcgi1 plcgi1 closed this as completed Feb 18, 2016
@plcgi1
Copy link
Author

plcgi1 commented Feb 18, 2016

i need call
adb kill-server
adb devices
and it's works

stoefln pushed a commit to stoefln/minicap that referenced this issue Nov 10, 2021
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

1 participant