Skip to content

Merge dev to main#12

Merged
zortos293 merged 5 commits intomainfrom
dev
Dec 24, 2025
Merged

Merge dev to main#12
zortos293 merged 5 commits intomainfrom
dev

Conversation

@zortos293
Copy link
Collaborator

This pull request introduces support for custom streaming resolution and frame rate, and improves input capture behavior for a better user experience. The main changes include allowing users to specify their desired streaming resolution and FPS, passing these options through the streaming initialization pipeline, and enhancing pointer lock handling to provide raw mouse input and dynamic UI visibility during gameplay.

Streaming configuration and pipeline updates:

  • Added a new StreamingOptions interface to allow specifying resolution and fps for streaming sessions, and updated all relevant function signatures to accept and propagate these options (src/main.ts, src/streaming.ts). [1] [2] [3]
  • Modified the streaming initialization and signaling logic to use the requested resolution and FPS, ensuring that the selected settings are respected throughout the connection and SDP negotiation process (src/streaming.ts). [1] [2] [3] [4]

Input capture and UI improvements:

  • Enhanced pointer lock requests to use unadjustedMovement for raw mouse input, falling back gracefully if not supported (src/streaming.ts). [1] [2]
  • Added logic to dynamically hide or show main application UI elements (header, status bar, stream header) based on pointer lock state, creating a more immersive fullscreen experience (src/streaming.ts).

zortos293 and others added 5 commits December 24, 2025 20:05
Use requestPointerLock with unadjustedMovement option to bypass OS-level mouse acceleration and smoothing for true 1:1 raw mouse input in both click and fullscreen modes.
Pass user's selected resolution to nvstSdp viewport dimensions instead of using screen dimensions. This ensures the stream matches the requested resolution (e.g., 1440p) even if the physical screen is 1080p.
@zortos293 zortos293 merged commit 26952b0 into main Dec 24, 2025
zortos293 added a commit that referenced this pull request Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant