Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
port_utils.h File Reference

Validate port protocols consistency. More...

#include "roc_packet/fec.h"
#include "roc_pipeline/port.h"
Include dependency graph for port_utils.h:

Go to the source code of this file.

Namespaces

 roc
 Root namespace.
 
 roc::pipeline
 High-level sending/receiving pipelines.
 

Functions

packet::FECScheme roc::pipeline::port_fec_scheme (PortProtocol proto)
 Get FEC scheme for given protocol. More...
 
bool roc::pipeline::validate_port (packet::FECScheme fec_scheme, PortProtocol port_protocol, PortType port_type)
 Validate consistency of a single port and FEC scheme. More...
 
bool roc::pipeline::validate_ports (packet::FECScheme fec_scheme, PortProtocol source_port, PortProtocol repair_port)
 Validate consistency of two ports and FEC scheme. More...
 

Detailed Description

Validate port protocols consistency.

Definition in file port_utils.h.