Comments (5)
Hi.
scrcpy-server.jar used in this project streams video over WebSocket, not HTTP (and stream also includes internal commands, not only video)
You can't use ffplay to play it.
What are you trying to achieve?
from ws-scrcpy.
Hi.
scrcpy-server.jar used in this project streams video over WebSocket, not HTTP (and stream also includes internal commands, not only video)
You can't use ffplay to play it.What are you trying to achieve?
Oh i understand thank you.
My goal is to build a client to run in android device instead of the node js server.
Can i get a small hint how to start?
from ws-scrcpy.
Can i have your email to give you idea about my project?
Is it a secret project? :-) I prefer github, so everyone will be able to find answers for common questions.
My email included in every single commit in this project (e.g. last)
from ws-scrcpy.
It's not secret :D, but its need a lot of lines to make you understand my goal.
Thank you alot.
from ws-scrcpy.
Hello
By your instructions, my android client for your websocket server is now running well ♡
I disabled some codes inside the DeviceController.ts to keep only the video layer..
But i can't understand why i cant change the video ( W,H ) in the video layer ...
If i use the command wm size on the development board i see the size will changed
In the video layer...
Can i keep the board screen size and make the video layer inside the android client webview stretch ?
Or make the video layer full screen, even if the resolution decreases.
Thank you alot for your time.
Hi, @blackfa1con.
I don't think scrcpy supports screen resizing (Genymobile/scrcpy#161).
But since you are using a web client you can simply reload the page, it will cause reinitialization of screenencoder and client always tries to fit the video into the available space on start.
P.S. lets keep conversation here, it's much easier for me, if you don't mind
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.