Skip to main content

Experimental

Observe Playback (experimental)​

Restrictions: "none"

Observe Playback

No docs available

Inputs​

NameTypeDescriptionRequiredDynamic
timeoutFirstFramedurationMaximum time to wait until seeing the first frame. If the first frame is not seen within this time, the step will fail.YesNo
timeoutdurationMaximum playing time to check if the playback has any issues. If no issues are detected within this time, the step will pass.YesNo
qoeIDtextThe QoE ID to use for the playback observer.YesYes
thresholdnumberDistance threshold for frame comparison.YesNo
distanceenumSelect distance metric to use.YesNo

Outputs​

NameTypeDescription
defaultbooleanIs the playback successful?
videoInitialBufferTimenumberThe initial buffer time of the video (in milliseconds).
videoStartTimenumberThe starting time of the video
firstFrameframeThe first frame when the measurement started.

HTTP Client (experimental)​

Restrictions: "none"

HTTP Client

Makes HTTP requests

Inputs​

NameTypeDescriptionRequiredDynamic
methodenumThe HTTP method to use for the requestYesNo
urltextThe URL to send the request toYesNo
headerscodeA Lua table of HTTP headers to include in the requestNoNo
bodycodeThe body of the request (for POST, PUT, etc.). Maximum size is 10 MB.NoNo
authcodeAuthentication details. Use { type = "basic", username = "user", password = "pass" } for Basic Auth, or { type = "bearer", token = "my-token" } for Bearer TokenNoNo
paramscodeA Lua table of query parameters to include in the URLNoNo
timeoutnumberRequest timeout in millisecondsNoNo
teleportbooleanEnables teleport for the request. If enabled the request is made from the teleport location of the device.YesNo

Outputs​

NameTypeDescription
defaultcodeThe full response object or JQ transformed result
statusnumberThe HTTP status code of the response
bodycodeThe body of the response
errorstringError message, if any

Detect Playback (experimental)​

Restrictions: "none"

Detect Playback

No docs available

Inputs​

NameTypeDescriptionRequiredDynamic
timeoutdurationFail if playback is not detected within this time.YesNo
detectMethodenumSelect the method to use for detecting playback.YesNo
thresholdnumberDistance threshold for frame comparison when detecting with Frame Distance method. Motion detection will use this value as the minimum percentage (0-100) of the motion area.YesNo
thresholdTypeenumAccumulated will sum the total distance from the first frame and compare it to the threshold value, while Single will only use the distance between current frame and the first frame. Only valid when using the Frame Distance detection methodYesNo
distanceTypeenumType of distance to use when comparing frames. Only valid when using the Frame Distance detection methodYesNo
motionMetricenumType of metric to use when comparing frames. Only valid when using the Video Motion detection methodYesNo
stableFramesnumberNumber of stable frames to wait for before detecting playback.YesNo
modeenumDetection mode to use when checking for playback. When audio is used for detecting, you can customize it with the audio level parameter.YesNo
maskregionSpecify an optional region to focus on when detecting video playback. If not specified, the entire screen will be used.NoNo
invertMaskbooleanWhen enabled, the content within the selected region will be ignored.YesNo
audioLevelnumberThe minimum audio level (dB) to consider playback when checking audio.YesNo
audioPresentbooleanFail if audio is not detected.YesNo

Outputs​

NameTypeDescription
defaultbooleanWhether the playback was detected or not
timenumberThe actual wait time (ms) until the first playback frame was detected
frameimageScreen capture when playback was detected (or timed out)
distancenumberAccmulated distance when Threshold Type is set to Accmulated or the maximum single frame distance when Threshold Type is set to Single.
maxAudioLevelnumberThe maximum audio level (dB) detected during playback