Skip to content

minicap disconnects after connect to device #19

Description

@plcgi1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions