Giter VIP home page Giter VIP logo

Comments (5)

drauggres avatar drauggres commented on July 26, 2024

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.

blackfa1con avatar blackfa1con commented on July 26, 2024

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.

drauggres avatar drauggres commented on July 26, 2024

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.

blackfa1con avatar blackfa1con commented on July 26, 2024

It's not secret :D, but its need a lot of lines to make you understand my goal.
Thank you alot.

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

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)

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.