![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <receiver.h>
Public Member Functions | |
Receiver (Context &context, const pipeline::ReceiverConfig &pipeline_config) | |
Initialize. | |
~Receiver () | |
Deinitialize. | |
bool | valid () |
Check if successfully constructed. | |
bool | set_multicast_group (size_t slot_index, address::Interface iface, const char *ip) |
Set multicast interface address for given endpoint type. | |
bool | bind (size_t slot_index, address::Interface iface, address::EndpointUri &uri) |
Bind peer to local endpoint. | |
sndio::ISource & | source () |
Get receiver source. | |
![]() | |
BasicPeer (Context &context) | |
Initialize. | |
virtual | ~BasicPeer () |
Deinitialize. | |
Context & | context () |
Peer's context. | |
Receiver peer.
Definition at line 30 of file receiver.h.
roc::peer::Receiver::Receiver | ( | Context & | context, |
const pipeline::ReceiverConfig & | pipeline_config | ||
) |
Initialize.
roc::peer::Receiver::~Receiver | ( | ) |
Deinitialize.
bool roc::peer::Receiver::bind | ( | size_t | slot_index, |
address::Interface | iface, | ||
address::EndpointUri & | uri | ||
) |
Bind peer to local endpoint.
bool roc::peer::Receiver::set_multicast_group | ( | size_t | slot_index, |
address::Interface | iface, | ||
const char * | ip | ||
) |
Set multicast interface address for given endpoint type.
sndio::ISource & roc::peer::Receiver::source | ( | ) |
Get receiver source.
bool roc::peer::Receiver::valid | ( | ) |
Check if successfully constructed.