8000 minicap disconnects after connect to device · Issue #19 · openstf/minicap · GitHub
[go: up one dir, main page]

Skip to content

minicap disconnects after connect to device #19

Closed

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

Activity

  1. plcgi1 commented on Feb 18, 2016

    @plcgi1
    Author

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

  2. added a commit that references this issue on Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0