/** * Optional live-capture fallback for roku_diagnose_stream. * * Used only when the developer does NOT already have the Video-node errorInfo * and a device is available. It deploys the bundled StreamProbe harness, * deep-links the stream/DRM into it, waits for playback to settle or error, and * reads the probe fields back over the RTA On-Device Component (TCP 9000). The * captured error is then handed to diagnose.ts like any other evidence. * * This mirrors the RTA framing used by src/tools/edit-ui.ts, kept self-contained * so the diagnoser has no cross-tool import coupling. */ import type { NormalizedRokuError } from './error-info.js'; /** Locate the bundled StreamProbe channel directory (ships in dist/assets). */ export declare function streamProbeDir(): string; export interface LiveCaptureParams { host: string; password: string; url: string; format?: string; drm?: { keySystem?: string; licenseServerUrl?: string; licenseHeaders?: Record; }; /** How long to wait for the stream to error or settle. */ timeoutMs?: number; } export interface LiveCaptureResult { error: NormalizedRokuError; finalState: string; raw: { probeState?: string; probeErrorCode?: number; probeErrorMsg?: string; probeErrorInfo?: string; }; } /** * Deploy StreamProbe, deep-link the stream, and capture the resulting error. */ export declare function captureLive(params: LiveCaptureParams): Promise; //# sourceMappingURL=live.d.ts.map