tv_video_state
Check video playback status on Smart TVs by sampling currentTime, readyState, size, muted, src, and MediaError code. Confirms active playback when screenshots fail due to black frames.
Instructions
Programmatic snapshot: whether currentTime is advancing (two samples), readyState, size, muted, src and MediaError code. The reliable way to confirm playback when a screenshot would be black.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device id from devices.json. Omit to use the default device. | |
| sampleGapMs | No | Gap between the two currentTime samples (default 600). |