Experimental
Detect Playback (experimental)
Restrictions: "none"
No docs available
Inputs
Name | Type | Description | Required | Dynamic |
---|---|---|---|---|
timeout | duration | Fail if playback is not detected within this time. | Yes | No |
threshold | number | Distance threshold for frame comparison. | Yes | No |
mode | enum | Detection mode to use when checking for playback. When audio is used for detecting, you can customize it with the audio level parameter. | Yes | No |
mask | region | Specify an optional region to focus on when detecting video playback. If not specified, the entire screen will be used. | No | No |
audioLevel | number | The minimum audio level (dB) to consider playback when checking audio. | Yes | No |
audioPresent | boolean | Fail if audio is not detected. | Yes | No |
Outputs
Name | Type | Description |
---|---|---|
default | boolean | Whether the playback was detected or not |
time | number | The actual wait time (ms) |
frame | image | Screen capture when playback was detected (or timed out) |
distance | number | Detected distance |
maxAudioLevel | number | The maximum audio level (dB) detected during playback |
Observe Playback
Restrictions: "none"
No docs available
Inputs
Name | Type | Description | Required | Dynamic |
---|---|---|---|---|
firstFrame | image | This frame marks the beginning of the playback. | Yes | No |
timeoutFirstFrame | duration | Maximum time to wait until seeing the first frame. If the first frame is not seen within this time, the step will fail. | Yes | No |
timeout | duration | Maximum playing time to check if the playback has any issues. If no issues are detected within this time, the step will pass. | Yes | No |
qoeID | text | The QoE ID to use for the playback observer. | No | No |
threshold | number | Distance threshold for frame comparison. | Yes | No |
distance | enum | Select distance metric to use. | Yes | No |
Outputs
Name | Type | Description |
---|---|---|
default | boolean | Is the playback successful? |
videoInitialBufferTime | number | The initial buffer time of the video (in milliseconds). |
videoStartTime | number | The starting time of the video |