|
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <sender_encoder.h>
Public Member Functions | |
| SenderEncoder (Context &context, const pipeline::SenderConfig &pipeline_config) | |
| Initialize. | |
| ~SenderEncoder () | |
| Deinitialize. | |
| bool | is_valid () const |
| Check if successfully constructed. | |
| bool | activate (address::Interface iface, address::Protocol proto) |
| Activate interface. | |
| bool | get_metrics (pipeline::SenderSlotMetrics &slot_metrics, pipeline::SenderSessionMetrics &sess_metrics) |
| Get metrics. | |
| bool | is_complete () |
| Check if everything is connected. | |
| ROC_ATTR_NODISCARD status::StatusCode | read (address::Interface iface, packet::PacketPtr &packet) |
| Read encoded packet. | |
| sndio::ISink & | sink () |
| Sink for writing frames for encoding. | |
Public Member Functions inherited from roc::node::Node | |
| Node (Context &context) | |
| Initialize. | |
| virtual | ~Node () |
| Deinitialize. | |
| Context & | context () |
| All nodes hold reference to context. | |
Sender encoder node.
Definition at line 33 of file sender_encoder.h.
| roc::node::SenderEncoder::SenderEncoder | ( | Context & | context, |
| const pipeline::SenderConfig & | pipeline_config ) |
Initialize.
| roc::node::SenderEncoder::~SenderEncoder | ( | ) |
Deinitialize.
| bool roc::node::SenderEncoder::activate | ( | address::Interface | iface, |
| address::Protocol | proto ) |
Activate interface.
| bool roc::node::SenderEncoder::get_metrics | ( | pipeline::SenderSlotMetrics & | slot_metrics, |
| pipeline::SenderSessionMetrics & | sess_metrics ) |
Get metrics.
| bool roc::node::SenderEncoder::is_complete | ( | ) |
Check if everything is connected.
| bool roc::node::SenderEncoder::is_valid | ( | ) | const |
Check if successfully constructed.
| ROC_ATTR_NODISCARD status::StatusCode roc::node::SenderEncoder::read | ( | address::Interface | iface, |
| packet::PacketPtr & | packet ) |
Read encoded packet.
| sndio::ISink & roc::node::SenderEncoder::sink | ( | ) |
Sink for writing frames for encoding.