Skip to content

Unable to get screen frames on ios 16 #19

@chenhengjie123

Description

@chenhengjie123

I forked this project, and change qvh module to code version of externalizeGST branch fixing gstream issue. While I'm using ws-qvh with ws-scrcpy with USE_QVH_SERVER enabled. I found it can get datas from ios 14 and ios 15, but not ios 16.

Versions:

Here are versions I'm using:

Steps to reproduce

  1. Clone and build ws-qvh using command go build, then got ws-qvh binary file.
  2. Add ws-qvh file to environment variable PATH
  3. Connect ios device to mac.
  4. Start ws-scrcpy using code version https://github.com/chenhengjie123/ws-scrcpy/tree/feat-20230302-testOnWsscrcpy using command npm install && npm start
  5. Open http://127.0.0.1:8000/ , select the ios device and open its remote control module:
    image

On ios 14, 15, the screen content can appear normally like below:
image

But on ios 16.0, 16.1.1, the screen content did not appear:
image

From ws messages in screenshot, it seems no data came from server side.

Logs from server side

On iOS 14 or 15, I can get screen frames successfully and quickly, here are logs(most of them are logs from ws-qvh):

logs-on-ios-15.log

While on ios 16, it stuck while reading lengthBuffer like below:

logs-on-ios-16.1.1.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions