跳转到内容

ProfileRecorderOptions

此内容尚不支持你的语言。

Defined in: sdk/src/app/profileRecorder.ts:18

optional budgetMs?: number

Defined in: sdk/src/app/profileRecorder.ts:24

The budget a reader judges the capture against. Defaults to 60Hz.


optional instrumentation?: "enable" | "existing"

Defined in: sdk/src/app/profileRecorder.ts:20

Use already enabled timings without changing their instrumentation switches.


optional maxFrames?: number

Defined in: sdk/src/app/profileRecorder.ts:22

Frames kept before the oldest is dropped. 1800 is ~30s at 60Hz.


optional source?: CaptureSource

Defined in: sdk/src/app/profileRecorder.ts:26

Device, build, scene — whatever makes a capture identifiable later.