14 Commits

Author SHA1 Message Date
Romain Vimont
a34e121a2b Update doc/develop.md links to latest version
Refs #6772 comment <https://github.com/Genymobile/scrcpy/pull/6772#issuecomment-4413041141>
Refs #6776 comment <https://github.com/Genymobile/scrcpy/pull/6776#discussion_r3105677909>
2026-05-12 00:12:26 +02:00
Romain Vimont
d678988a5a Merge branch 'master' into dev 2026-05-11 23:27:27 +02:00
Romain Vimont
9e0d2a1bc9 Signal client resize in session packets
So far, scrcpy always resized the window whenever a frame with a new
size was received. However, with the upcoming "flex display" feature,
the size of the virtual display can change either on its own (e.g.,
due to app rotation) or as a result of a client window resize.

Track the cause of each resize and signal it in the session metadata.

Resize the window only if the change was not triggered by a client
request to prevent resize loops and stuttering.

PR #6772 <https://github.com/Genymobile/scrcpy/pull/6772>
2026-05-09 17:28:52 +02:00
zhanlong9890
693ee7aa36 Add bash language identifiers to docs snippets
Fixes #6790 <https://github.com/Genymobile/scrcpy/issues/6790>
PR #6797 <https://github.com/Genymobile/scrcpy/pull/6797>

Signed-off-by: Romain Vimont <rom@rom1v.com>
2026-05-01 11:46:53 +02:00
Romain Vimont
6235289e77 Update protocol documentation
The protocol changed in commit 78cba1b7c2.

Update the documentation accordingly.

Refs #6159 <https://github.com/Genymobile/scrcpy/pull/6159>
PR #6776 <https://github.com/Genymobile/scrcpy/pull/6776>
2026-04-24 12:16:12 +02:00
Romain Vimont
330b4c439f Replace v2.0 with 2.0 in doc
Refs #6776 comment <https://github.com/Genymobile/scrcpy/pull/6776#discussion_r3105660913>
PR #6776 <https://github.com/Genymobile/scrcpy/pull/6776>
2026-04-24 12:15:53 +02:00
Benjamin Loison
247a37d57b Fix typo in doc/develop.md
PR #6752 <https://github.com/Genymobile/scrcpy/pull/6752>

Signed-off-by: Romain Vimont <rom@rom1v.com>
2026-04-06 11:40:35 +02:00
Romain Vimont
1015b42e53 Rename "codec meta" to "stream meta"
The stream metadata will contain both:
 - the codec ID at the start of the stream
 - the session metadata (video width and height) at the start of each
   "session" (typically on rotation)

PR #6159 <https://github.com/Genymobile/scrcpy/pull/6159>
2026-01-10 11:53:22 +01:00
Enno Boland
dc82425769 Add debugging method for Android >= 11
Fixes #5346 <https://github.com/Genymobile/scrcpy/issues/5346>
PR #5466 <https://github.com/Genymobile/scrcpy/pull/5466>

Signed-off-by: Romain Vimont <rom@rom1v.com>
2024-11-24 12:24:32 +01:00
Romain Vimont
9f39a5f2d6 Determine debugger command at runtime
When server_debugger is enabled, retrieve the device SDK version to
execute the correct command.

PR #5466 <https://github.com/Genymobile/scrcpy/pull/5466>
2024-11-22 11:04:32 +01:00
Romain Vimont
c29ecd0314 Rename --display-buffer to --video-buffer
For consistency with --audio-buffer, rename --display-buffer to
--video-buffer.

Fixes #5403 <https://github.com/Genymobile/scrcpy/issues/5403>
PR #5420 <https://github.com/Genymobile/scrcpy/pull/5420>
2024-10-31 19:57:52 +01:00
Romain Vimont
b9d244b4c9 Document UHID
Rework the documentation to present the keyboard and mouse input modes.

PR #4473 <https://github.com/Genymobile/scrcpy/pull/4473>
2024-03-01 00:52:28 +01:00
Romain Vimont
fae3fbc934 Update developer documentation 2023-06-22 00:03:26 +02:00
Romain Vimont
f12590ed08 Rework README and documentation
The README.md page is HUGE. Split it up.

Also document audio forwarding and improve installation instructions for
each platform and user documentation.

PR #3774 <https://github.com/Genymobile/scrcpy/pull/3774>
2023-03-12 02:04:58 +01:00