DeviceFarmer / minicap

Stream real-time screen capture data out of Android devices.
Other
282 stars 72 forks source link

where is minicap.so for android sdk 32? #38

Closed hyeongminju closed 4 months ago

hyeongminju commented 2 years ago

i need minicap.so for android sdk 32. how can i get that file? plz let me know where is the file(minicap.so)....

ouze0525 commented 2 years ago

i am also looking for minicap.so for android sdk 32

stoefln commented 2 years ago

There is the minicap kotlin version in the "experimental" dir. Take a look at that run script to see how they use minicap kotlin for connecting to devices which are not supported by the standard minicap distribution: https://github.com/DeviceFarmer/minicap/blob/master/run.sh

varundtsfi commented 2 years ago

And Its working fine with Android 13 Beta-4

Screenshot_2022-07-20_07-47-32 @stoefln I have a question in my mind. Few people are using vnc. older issue How can we use jpeg data (port:minicap) to vncserver which is written in cpp.
any guess

varundtsfi commented 2 years ago

i need minicap.so for android sdk 32. how can i get that file? plz let me know where is the file(minicap.so).... Hi @ouze0525 and @hyeongminju you can download the required binaries from here.

https://github.com/varundtsfi/Android-sdk-32-minicap

stoefln commented 2 years ago

@varundtsfi sorry, no idea. I'd need to take a look at the VNC standard. But currently don't have time for it...

JesseCodeBones commented 2 years ago

I am working on it, still in progress

stoefln commented 2 years ago

Why not just use minicap kotlin? Is there some known downside?

varundtsfi commented 2 years ago

I am working on it, still in progress

It's already shared https://github.com/varundtsfi/Android-sdk-32-minicap. please take it from here .

varundtsfi commented 2 years ago

Why not just use minicap kotlin? Is there some known downside?

Hi @stoefln I guess the problem is in their architecture/design either they are using vnc or some other utility which is using minicap.so that's why people are always asking for minicap.so.

UrielCh commented 2 years ago

hi, minicap for android 32 is now integrated in @u4/adbkit 4.1.4

usage sample:

import adb from "@u4/adbkit";

const adbClient = adb.createClient();
const devices = await adbClient.listDevices();
if (!devices.length) {
  console.error('Need at least one connected android device');
  return;
}
const deviceClient = devices[0].getClient();
const minicap = deviceClient.minicap({});
await minicap.start();
minicap.on('data', (buf: Buffer) => {
    console.log(`rcv image Buffer ${buf.length} from minicap`);
})
varundtsfi commented 4 months ago

This is also an older issue and now in master branch we have sdk 32 .so file support. We have pushed the required so files in the following PR

https://github.com/DeviceFarmer/minicap/pull/58