Skip to content

VR Headsets stream's width and height are sometimes inverted #78

@GuillaumeLeroy34

Description

@GuillaumeLeroy34

Describe the bug
When streaming, some headset streams' dimensions will use widths as their height, and vice versa.
This only happen when using certains headsets, as these characteristics come from the headset itself.

To Reproduce
Steps to reproduce the behavior:

  1. Take a buggy headset ( black headset, number 103)
  2. connect it to the adb server using adb connect
  3. start the webplatform
  4. See the stream creation log, and observe that width and height are inverted
  5. Additionnally, go in a streaming page of the webplatform such as streamplayerscreen, and observe that the format of the screen is portrait instead of landscape.

Expected behavior
The streams should be rendered in landscape format. If the application detects that a stream height is bigger than its width, a system should be able to correct the stream on its own.

Screenshots

Image

Metadata

Metadata

Labels

⚙️ BackendIssues related to server, database, API.🎨 FrontendIssues related to HTML, CSS, JavaScript.👀 scrcpyIssue related to casting android video👍 Fix to be tested😱 BugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions