sleep

package
v0.0.0-...-57137be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "mmsys-test-scene-detection"

	TestParameterKey                        = "mmsys-test-scene-detection.engine.nagare.media/test"
	MaxNumberOfSimulatedCrashesParameterKey = "mmsys-test-scene-detection.engine.nagare.media/max-number-of-simulated-crashes"
	SimulatedCrashWaitDurationParameterKey  = "mmsys-test-scene-detection.engine.nagare.media/simulated-crash-wait-duration"

	DefaultMaxNumberOfSimulatedCrashes = 1
	DefaultSimulatedCrashWaitDuration  = 20 * time.Second
)

Function description

View Source
const (
	Baseline       = "baseline"
	TestNoRecovery = "test-no-recovery"
	TestRecovery   = "test-recovery"
)
View Source
const (
	SceneDetectedEventType = "media.nagare.engine.v1alpha1.functions.mmsys-test-scene-detection.scene-detected"
)

Variables

This section is empty.

Functions

func BuildTask

func BuildTask(ctx context.Context, t *nbmpv2.Task) (nbmp.Function, error)

BuildTask from mmsys-test-scene-detection function.

Types

type SceneDetectionEventData

type SceneDetectionEventData struct {
	Time float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL