Skip to content

VR stream displays are randomized each time the page is reloaded #102

@GuillaumeLeroy34

Description

@GuillaumeLeroy34

Describe the bug
When using multiple headsets, their placement in the streamplayerscreen page is randomized, leading to some confusion when trying to find a specific stream.

To Reproduce
Steps to reproduce the behavior:

  1. Connect at least 2 headsets (3 should me enough for the problem to become obvious)
  2. Start the app
  3. Go to the streamplayerscreen page
  4. Observe the arrangement of streams
  5. Reload the page
  6. Observe that they are not displayed in the same order

Expected behavior
The streams should always be displayed in the same order.

Additional context
The streams should be ordered alpha numerically using their ip. This will lead to a predictible pattern when using the headsets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🎨 FrontendIssues related to HTML, CSS, JavaScript.👀 scrcpyIssue related to casting android video🤗 EnhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions