openstf / ios-minicap

iOS Minicap provides a socket interface for streaming realtime screen capture data out of iOS devices.
Other
434 stars 130 forks source link

Capture two or more devices at the same time? #6

Open chsasaw opened 7 years ago

chsasaw commented 7 years ago

@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?

nwlunatic commented 7 years ago

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 )

sorccu commented 7 years ago

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 notifications@github.com 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 .

chsasaw commented 7 years ago

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

channingbreeze commented 7 years ago

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

sorccu commented 7 years ago

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

davieds commented 7 years ago

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

tonylpt commented 7 years ago

@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

yuzhidi commented 7 years ago

@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!

sorccu commented 7 years ago

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 notifications@github.com 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 .

yuzhidi commented 7 years ago

why minicap start will cause usb shutdown then restart?

sorccu commented 7 years ago

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 notifications@github.com 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 .

Tamil-Arya commented 7 years ago

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

sorccu commented 7 years ago

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 notifications@github.com 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 .

Tamil-Arya commented 7 years ago

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

sorccu commented 7 years ago

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

On Wed, Jun 7, 2017 at 11:30 PM, Tamil Selvan R notifications@github.com 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 .

retd-jerome commented 6 years ago

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 ?

sorccu commented 6 years ago

I can’t share it.

yuzhidi commented 6 years ago

I can’t share it.

You have total implemented? right?

sorccu commented 6 years ago

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

ACBNair commented 6 years ago

@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.

tyrocoding commented 6 years ago

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

retd-jerome commented 6 years ago

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

ACBNair commented 6 years ago

Yes I think the same. fps and performance.

tyrocoding commented 6 years ago

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

ACBNair commented 5 years ago

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

KavithaRamkrishnan commented 4 years ago

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.

jjunghyup commented 4 years ago

@kavithamanivel @ACBNair how about use this link

krishtoautomate commented 2 years ago

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