Comments (6)
- You don't need to forward ports for real devices (with wi-fi connection).
- 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.
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.
@wan766405890 Please try fix/win branch. Should work on Windows.
Make sure you have the ANDROID_HOME
environment variable defined.
from ws-scrcpy.
adb forward can only work with one device!
from ws-scrcpy.
thank you,it works.but i find another problem,webasm run with low efficiency,and browser broken down frequently!
from ws-scrcpy.
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)
- Not able to use remotelly HOT 1
- rotation HOT 3
- Embedding in a project
- error while setting up HOT 2
- Error when pull files from sdcard folder in "list files" HOT 4
- The service crashed because of an error HOT 2
- REQUEST HELP - With spread action from one to multiple devices
- "createSetClipboardCommand" HOT 2
- issues with Android 14 HOT 8
- 这么传文件啊,就只有浏览器打开adb怎么连接 HOT 2
- unable to start project HOT 4
- TS2344: Type 'TE' does not satisfy the constraint 'EventMap'.
- Not able to use Remotely HOT 1
- Not be able to start app
- [StreamReceiver]. WS closed unexpectedly after a while HOT 1
- Cannot display adb connected devices HOT 1
- can't configure stream HOT 6
- Firefox exhibits lag when using player=mse (H264 Converter)
- can not restart device scrcpy server via adb wifi connection
- Issue with Android 14 display in pixel device HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ws-scrcpy.