![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <sender.h>
Public Member Functions | |
Sender (Context &context, const pipeline::SenderConfig &pipeline_config) | |
Initialize. | |
~Sender () | |
Deinitialize. | |
bool | valid () const |
Check if successfully constructed. | |
bool | set_outgoing_address (size_t slot_index, address::Interface iface, const char *ip) |
Set outgoing interface address. | |
bool | connect (size_t slot_index, address::Interface iface, const address::EndpointUri &uri) |
Connect peer to remote endpoint. | |
bool | is_ready () |
Check if all necessary bind and connect calls were made. | |
sndio::ISink & | sink () |
Get sender sink.y. | |
![]() | |
BasicPeer (Context &context) | |
Initialize. | |
virtual | ~BasicPeer () |
Deinitialize. | |
Context & | context () |
Peer's context. | |
roc::peer::Sender::Sender | ( | Context & | context, |
const pipeline::SenderConfig & | pipeline_config | ||
) |
Initialize.
roc::peer::Sender::~Sender | ( | ) |
Deinitialize.
bool roc::peer::Sender::connect | ( | size_t | slot_index, |
address::Interface | iface, | ||
const address::EndpointUri & | uri | ||
) |
Connect peer to remote endpoint.
bool roc::peer::Sender::is_ready | ( | ) |
Check if all necessary bind and connect calls were made.
bool roc::peer::Sender::set_outgoing_address | ( | size_t | slot_index, |
address::Interface | iface, | ||
const char * | ip | ||
) |
Set outgoing interface address.
sndio::ISink & roc::peer::Sender::sink | ( | ) |
Get sender sink.y.
bool roc::peer::Sender::valid | ( | ) | const |
Check if successfully constructed.