Comments (6)
i mean just something like forwarding or bridging ws://127.0.0.1:8886/ to accessible from another computer in same network
from ws-scrcpy.
Hi.
Please look at scheme file I've just added.
Basically you need to make available two severs:
- http server (node js)
- web-socket server (scrcpy on device/emulator).
By default on android emulators network is configured as NAT, so you will need to forward port to the host machine (as described in known-issues
P.S. you may find interesting this project: https://github.com/openstf/stf
from ws-scrcpy.
thanks for the answer, as default run ws://0.0.0.0:8886 or ws://127.0.0.1:8886 as input event and video stream, does it is possible to birdge websocket to public ip, so my computer able to accessed by another in same local ip?
from ws-scrcpy.
The server on the Android Emulator listens on internal interface and not available from the outside (as workaround you can do
adb forward tcp:8886 tcp:8886
)
from ws-scrcpy.
The server on the Android Emulator listens on internal interface and not available from the outside (as workaround you can do
adb forward tcp:8886 tcp:8886
)
adb forward tcp:8886 tcp:8886, enable server accessible to 127.0.0.1:8886, but my aim is to assign to public ip like (192.168.xxx.xxx:8886) does it is possible? sorry i'm pretty new in android development
from ws-scrcpy.
my aims is just like forward to public ip (192.168.xx.xx) instead on localhost (127.0.0.1)
from ws-scrcpy.
Related Issues (20)
- 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
- Server exited: [server] ERROR: The server version (2.4) does not match the client (1.19-ws5) HOT 1
- Fixed screen orientation
- Can you support audio with scrcpy
- Android 15 support HOT 2
- termux 安装错误
- ubuntu24 错误
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.