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.
Related options
sendDeviceMeta: Controls whether device name is sentsendCodecMeta: Controls codec metadata (v2.0 ~ v3.3.4)sendFrameMeta: Controls whether presentation timestamps are sent
Example
import { ScrcpyOptions4_0 } from "@yume-chan/scrcpy";
const options = new ScrcpyOptions4_0({
sendStreamMeta: true, // Send stream metadata (default)
});