Skip to main content

Module processing_graph

Module processing_graph 

Source
Expand description

Media processing graph with nodes, edges, topological execution ordering, and retry-with-exponential-backoff for transient node failures.

This module models a directed acyclic graph (DAG) of media processing nodes. Nodes represent processing stages (source, filter, encoder, etc.), and edges represent data flow between them.

Structs§

GraphEdge
A directed connection between two ports on two nodes.
GraphNode
A single node in a media ProcessingGraph.
ProcessingGraph
A directed acyclic graph of media processing nodes.
RetryPolicy
Policy controlling how many times a failing node operation should be retried and how long to wait between attempts.

Enums§

NodeType
Classification of a processing node.

Traits§

TransientError
Marker trait for errors that are considered transient (i.e. worth retrying, such as a temporary resource contention or a momentary decode stall).