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