ios-minicap icon indicating copy to clipboard operation
ios-minicap copied to clipboard

Capture two or more devices at the same time?

Open chsasaw opened this issue 8 years ago • 28 comments

@sorccu Thank you for the great works!! I have successed on one device. Can I capture two or more devices in two browser tabs at the same time?

What I have done: ./run.sh

to connect one device, and to connect the other one device:

./build/ios_minicap --udid $device_id --port 9001 --resolution 400x600

and it stop at:

EnableDALDevices
2016-12-02 11:01:46.403 ios_minicap[12142:338516] Available devices:
2016-12-02 11:01:46.404 ios_minicap[12142:338516] 88c2450dd52ffeb9bb24da05e8fc566bf7a2914b
2016-12-02 11:01:46.404 ios_minicap[12142:338516] 1fcab6c6785e3894ac64f4f684b603b27daa1228
2016-12-02 11:01:46.404 ios_minicap[12142:338516] CC25121R3T0F6VVD4

What should I do?

chsasaw avatar Dec 02 '16 05:12 chsasaw

You've done everything right. Screen capture of multiple devices at the same time is not supported in current ios-minicap version. We are working on it. But the exact solution is currently unknown and under research. Please, be patient )

nwlunatic avatar Dec 02 '16 05:12 nwlunatic

It seems like multiple devices don't work yet. Maybe in the future.

Note that you can have multiple devices per machine, but only one can be used simultaneously.

Also thank @nwlunatic not me :)

On Fri, 2 Dec 2016 at 14:42 chsasaw [email protected] wrote:

@sorccu https://github.com/sorccu Thank you for the great works!! I have successed on one device. Can I capture two or more devices in two browser tabs at the same time?

What I have done: ./run.sh

to connect one device, and to connect the other one device:

./build/ios_minicap --udid $device_id --port 9001 --resolution 400x600

and it stop at:

EnableDALDevices 2016-12-02 11:01:46.403 ios_minicap[12142:338516] Available devices: 2016-12-02 11:01:46.404 ios_minicap[12142:338516] 88c2450dd52ffeb9bb24da05e8fc566bf7a2914b 2016-12-02 11:01:46.404 ios_minicap[12142:338516] 1fcab6c6785e3894ac64f4f684b603b27daa1228 2016-12-02 11:01:46.404 ios_minicap[12142:338516] CC25121R3T0F6VVD4

What should I do?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openstf/ios-minicap/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_X_bce8S-QjAkZHZ4uptDTSZ-ocGks5rD6_IgaJpZM4LCOCH .

sorccu avatar Dec 02 '16 05:12 sorccu

@nwlunatic @sorccu Thanks! Looking forward to the support.

chsasaw avatar Dec 02 '16 06:12 chsasaw

Will docker on mac work for this problem? @nwlunatic @sorccu

channingbreeze avatar Feb 24 '17 07:02 channingbreeze

No. It only runs on mac and docker only runs Linux containers.

sorccu avatar Feb 24 '17 07:02 sorccu

You've done everything right. wait u team solution supported many devices

davieds avatar Mar 08 '17 08:03 davieds

@nwlunatic, have you had a chance to look into this issue? If you have done some investigation on this, I'll be happy to help out if possible

tonylpt avatar Mar 10 '17 08:03 tonylpt

@nwlunatic Hi , I'm a new one to iOS, could you introduce a little about iOS-minicap principle and why not support multi-devices, I want has some try. thx!

yuzhidi avatar Apr 28 '17 02:04 yuzhidi

It doesn't work because the OS X API this uses only lets you use one at a time. On Fri, Apr 28, 2017 at 11:29 yuzhidi [email protected] wrote:

@nwlunatic https://github.com/nwlunatic Hi , I'm a new one to iOS, could you introduce a little about iOS-minicap principle and why not support multi-devices, I want has some try. thx!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openstf/ios-minicap/issues/6#issuecomment-297890713, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_US0dVMFl_zDgYiNE0mdymLhJyF7ks5r0U7tgaJpZM4LCOCH .

sorccu avatar Apr 28 '17 02:04 sorccu

why minicap start will cause usb shutdown then restart?

yuzhidi avatar Apr 28 '17 03:04 yuzhidi

Because it has to change the USB configuration which causes a brief disconnect. It's how it works. On Fri, Apr 28, 2017 at 12:29 yuzhidi [email protected] wrote:

why minicap start will cause usb shutdown then restart?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openstf/ios-minicap/issues/6#issuecomment-297898013, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_evsJxty7h81FGwqm81IRWh9jqVrks5r0V0IgaJpZM4LCOCH .

sorccu avatar Apr 28 '17 03:04 sorccu

Hi, Is there any update on this issue #6 ?

Tamil-Arya avatar Jun 07 '17 10:06 Tamil-Arya

No. While I do have a separate solution built entirely from scratch, but it will not be open sourced as per my employer's request.

On Wed, Jun 7, 2017 at 19:48 Tamil Selvan R [email protected] wrote:

Hi, Is there any update on this issue #6 https://github.com/openstf/ios-minicap/issues/6 ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openstf/ios-minicap/issues/6#issuecomment-306759482, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_eq5w7JnkRQzweWh_EhNZnXMsaBCks5sBoAXgaJpZM4LCOCH .

sorccu avatar Jun 07 '17 11:06 sorccu

Can you hint us how you are going with another approch?

Tamil-Arya avatar Jun 07 '17 14:06 Tamil-Arya

No, I cannot. I can just say that it's possible.

On Wed, Jun 7, 2017 at 11:30 PM, Tamil Selvan R [email protected] wrote:

Can you hint us how you are going with another approch?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openstf/ios-minicap/issues/6#issuecomment-306812532, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_bzTndudxJSGzXzvY7bx0clZejrCks5sBrPogaJpZM4LCOCH .

sorccu avatar Jun 07 '17 14:06 sorccu

No. While I do have a separate solution built entirely from scratch, but it will not be open sourced as per my employer's request.

Is it something you want to monetize ? Is it possible to contact you about it ?

retd-jerome avatar Jun 27 '18 07:06 retd-jerome

I can’t share it.

sorccu avatar Sep 26 '18 06:09 sorccu

I can’t share it.

You have total implemented? right?

yuzhidi avatar Sep 26 '18 06:09 yuzhidi

It has been in production for a few years now. While I may have made it, it belongs to my previous employer.

sorccu avatar Sep 26 '18 06:09 sorccu

@sorccu can you share the details of that , so that we can purchase it? I am new to this, so no idea about which app/lib you are talking about.

ACBNair avatar Sep 26 '18 11:09 ACBNair

@ACBNair Use XCUITEST to get screenshot, later convert it to jpeg images if required and then pass on the jpeg images to mjpeg server.

tyrocoding avatar Sep 26 '18 11:09 tyrocoding

@vinodpatil103 how many frame per seconds may we expect this way ? I guess @sorccu implemented something comparable with ios-minicap framerate.

retd-jerome avatar Sep 26 '18 11:09 retd-jerome

Yes I think the same. fps and performance.

ACBNair avatar Sep 26 '18 12:09 ACBNair

@retd-jerome @ACBNair Around 10 fps, This resolves the problem of running on multiple devices, performance would be degraded.

tyrocoding avatar Sep 26 '18 12:09 tyrocoding

@nwlunatic Hi, I saw a branch you worked on . How was it?

ACBNair avatar Oct 25 '18 15:10 ACBNair

How to connect multiple devices in Minicap? It shows two or more emulator/devices error. Kindly help me to fix this. Note: Both the devices are android only.

KavithaRamkrishnan avatar Nov 09 '19 08:11 KavithaRamkrishnan

@kavithamanivel @ACBNair how about use this link

jjunghyup avatar Jun 11 '20 13:06 jjunghyup

two or more devices is also working as long as you use different ports in run.sh and also in app.js

krishtoautomate avatar Jan 01 '22 20:01 krishtoautomate