Skip to main content
Version: next

sendStreamMeta

info

Added in Scrcpy 4.0

  • Type: boolean
  • Default value: true

Controls whether the server should send codec ID at the start of the video and audio stream, and session packets in video stream.

sendFrameMeta option must be enabled for session packets to be correctly parsed.

Example

import { ScrcpyOptions4_0 } from "@yume-chan/scrcpy";

const options = new ScrcpyOptions4_0({
sendStreamMeta: true, // Send stream metadata (default)
});