Giter VIP home page Giter VIP logo

Comments (17)

pigass0512 avatar pigass0512 commented on July 26, 2024 2

BTW, in my tests broadway decoder always was more efficient and stable than native.

I only can use Native as decoder, the other two still display black screen on my web page...haha this is my another question..

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

Hi. Yeah, I can reproduce it, will investigate.

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

BTW, in my tests broadway decoder always was more efficient and stable than native.

from ws-scrcpy.

hzms avatar hzms commented on July 26, 2024

I have the same problem and only the native works, the other decoders are black screen

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

@pigass0512 @hzms What operating system and browser do you have?

from ws-scrcpy.

pigass0512 avatar pigass0512 commented on July 26, 2024

@pigass0512 @hzms What operating system and browser do you have?

Hi master, windows 10 and chrome latest version.

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

Tested on Chrome 83.0.4103.97 on Win10 x64, works fine here.

from ws-scrcpy.

pigass0512 avatar pigass0512 commented on July 26, 2024

Tested on Chrome 83.0.4103.97 on Win10 x64, works fine here.

I had upgrade Chrome version and Native stream become fluently, but the other two still black...

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

but the other two still black...

Try to move or open something, so picture on the screen is changed (I usually run clock/stopwatch for tests).
Encoder does not send frames when there are no changes on the screen (shouldn't be a problem on very first connection).

from ws-scrcpy.

pigass0512 avatar pigass0512 commented on July 26, 2024

but the other two still black...

Try to move or open something, so picture on the screen is changed (I usually run clock/stopwatch for tests).
Encoder does not send frames when there are no changes on the screen (shouldn't be a problem on very first connection).

The method seems not works for me, and the stream still stop playing in the few seconds..
And the other two decoders are still black after I launch an APP.

from ws-scrcpy.

pigass0512 avatar pigass0512 commented on July 26, 2024

Hi @drauggres master,
Does any update of this issue?

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

Nope. No luck and no ideas.
Only thing I was able to find is that you can resize window (e.g. press F11 to open browser in fullscreen), press change video settings and player will unfreeze. But still don't why it freezes in the first place.

I'm thinking about different approach:

  1. use original scrcpy instead of my fork
  2. create web socket proxy server
  3. configure all streaming parameters before connection

Downsides here are:

  • unable to change video setting on the fly, it will require reconnection
  • maybe be problems with simultaneous access of a device from more than one client (probably I can make it work)

from ws-scrcpy.

pigass0512 avatar pigass0512 commented on July 26, 2024

Unfortunately, after I resize my device window, it still freeze in the further seconds..that's weird..

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

I changed default frame rate value for native decoder. In my tests it is more stable now.

@pigass0512, please try again (master branch).

UPD: just tried it on linux/chrome, still freezing.

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

I have the same problem and only the native works, the other decoders are black screen

@hzms, @pigass0512, @jiahuanyu
Hey guys, try develop branch with broadway or tinyh264 decoders. If problem is still there, please open a new issue and specify OS, browser version and everithing that you think might be relevant.

from ws-scrcpy.

pigass0512 avatar pigass0512 commented on July 26, 2024

Hi master @drauggres ,

After I pull develop branch and build the service, still only native decode can work..others are black screen..
I will open another issue for discuss with other decoder can not work problem, is that okay?

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

I will open another issue for discuss with other decoder can not work problem, is that okay?

Yes, please.

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.