Giter VIP home page Giter VIP logo

Comments (6)

drauggres avatar drauggres commented on July 26, 2024 1
  1. You don't need to forward ports for real devices (with wi-fi connection).
  2. If you still want to do it you must use different ports on your local computer:

adb -s SERIAL1 forward tcp:8886 tcp:8886
adb -s SERIAL2 forward tcp:8887 tcp:8886

and then manually specify WebSocket URL in web-interface.

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

Sorry, I don't have Windows around.
All build steps are defined in package.json you should be able to adapt them for Windows.

P.S. Also you can use macos or WSL on Windows 10.

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

@wan766405890 Please try fix/win branch. Should work on Windows.
Make sure you have the ANDROID_HOME environment variable defined.

from ws-scrcpy.

wan766405890 avatar wan766405890 commented on July 26, 2024

adb forward can only work with one device!

from ws-scrcpy.

wan766405890 avatar wan766405890 commented on July 26, 2024

thank you,it works.but i find another problem,webasm run with low efficiency,and browser broken down frequently!

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

i find another problem,webasm run with low efficiency,and browser broken down frequently!

I can't help with that, but you can try to use "Native decoder", it use MSE to decode video.
"Broadway" and "h264bsd" are both software decoders compiled to webasm, so I wouldn't expect too much from them.

I'm closing this issue, since original problem with windows was resolved.

from ws-scrcpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.