Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <sender.h>
Public Types | |
typedef uint64_t | slot_index_t |
Slot index. More... | |
Public Member Functions | |
Sender (Context &context, const pipeline::SenderConfig &pipeline_config) | |
Initialize. More... | |
~Sender () | |
Deinitialize. More... | |
bool | is_valid () const |
Check if successfully constructed. More... | |
bool | configure (slot_index_t slot_index, address::Interface iface, const netio::UdpSenderConfig &config) |
Set interface config. More... | |
bool | connect (slot_index_t slot_index, address::Interface iface, const address::EndpointUri &uri) |
Connect to remote endpoint. More... | |
bool | unlink (slot_index_t slot_index) |
Remove slot. More... | |
bool | get_metrics (slot_index_t slot_index, pipeline::SenderSlotMetrics &slot_metrics, pipeline::SenderSessionMetrics &sess_metrics) |
Get slot metrics. More... | |
bool | has_incomplete () |
Check if there are incomplete or broken slots. More... | |
bool | has_broken () |
Check if there are broken slots. More... | |
sndio::ISink & | sink () |
Get sender sink. More... | |
Public Member Functions inherited from roc::node::Node | |
Node (Context &context) | |
Initialize. More... | |
virtual | ~Node () |
Deinitialize. More... | |
Context & | context () |
All nodes hold reference to context. More... | |
typedef uint64_t roc::node::Sender::slot_index_t |
roc::node::Sender::Sender | ( | Context & | context, |
const pipeline::SenderConfig & | pipeline_config | ||
) |
Initialize.
roc::node::Sender::~Sender | ( | ) |
Deinitialize.
bool roc::node::Sender::configure | ( | slot_index_t | slot_index, |
address::Interface | iface, | ||
const netio::UdpSenderConfig & | config | ||
) |
Set interface config.
bool roc::node::Sender::connect | ( | slot_index_t | slot_index, |
address::Interface | iface, | ||
const address::EndpointUri & | uri | ||
) |
Connect to remote endpoint.
bool roc::node::Sender::get_metrics | ( | slot_index_t | slot_index, |
pipeline::SenderSlotMetrics & | slot_metrics, | ||
pipeline::SenderSessionMetrics & | sess_metrics | ||
) |
Get slot metrics.
bool roc::node::Sender::has_broken | ( | ) |
Check if there are broken slots.
bool roc::node::Sender::has_incomplete | ( | ) |
Check if there are incomplete or broken slots.
bool roc::node::Sender::is_valid | ( | ) | const |
Check if successfully constructed.
sndio::ISink& roc::node::Sender::sink | ( | ) |
Get sender sink.
bool roc::node::Sender::unlink | ( | slot_index_t | slot_index | ) |
Remove slot.