Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Receiver endpoint sub-pipeline. More...
#include <receiver_endpoint.h>
Public Member Functions | |
ReceiverEndpoint (address::Protocol proto, StateTracker &state_tracker, ReceiverSessionGroup &session_group, const rtp::EncodingMap &encoding_map, const address::SocketAddr &inbound_address, packet::IWriter *outbound_writer, core::IArena &arena) | |
Initialize. More... | |
bool | is_valid () const |
Check if the port pipeline was succefully constructed. More... | |
address::Protocol | proto () const |
Get protocol. More... | |
packet::IComposer * | outbound_composer () |
Get composer for outbound packets. More... | |
packet::IWriter * | outbound_writer () |
Get writer for outbound packets. This way feedback packets for sender generated by receiver reach network. More... | |
const address::SocketAddr & | inbound_address () const |
Get bind address for inbound packets. More... | |
packet::IWriter & | inbound_writer () |
Get writer for inbound packets. This way packets from network reach receiver pipeline. More... | |
ROC_ATTR_NODISCARD status::StatusCode | pull_packets (core::nanoseconds_t current_time) |
Pull packets written to inbound writer into pipeline. More... | |
Public Member Functions inherited from roc::core::RefCounted< ReceiverEndpoint, core::ArenaAllocation > | |
RefCounted () | |
Initialize. More... | |
RefCounted (const core::ArenaAllocation &policy) | |
Initialize. More... | |
int | getref () const |
Get reference counter. More... | |
void | incref () const |
Increment reference counter. More... | |
void | decref () const |
Decrement reference counter. More... | |
Public Member Functions inherited from roc::core::ListNode< Tag > | |
ListData * | list_data () const |
Get pointer to internal data. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from roc::core::ListNode< Tag > | |
static ListNode * | list_node (ListData *data) |
Get pointer to parent node from pointer to internal data. More... | |
Protected Member Functions inherited from roc::core::ArenaAllocation | |
IArena & | arena () const |
Get arena. More... | |
ArenaAllocation (IArena &arena) | |
Initialize. More... | |
template<class T > | |
void | destroy (T &object) |
Destroy object and return memory to arena. More... | |
Receiver endpoint sub-pipeline.
Contains:
Definition at line 42 of file receiver_endpoint.h.
roc::pipeline::ReceiverEndpoint::ReceiverEndpoint | ( | address::Protocol | proto, |
StateTracker & | state_tracker, | ||
ReceiverSessionGroup & | session_group, | ||
const rtp::EncodingMap & | encoding_map, | ||
const address::SocketAddr & | inbound_address, | ||
packet::IWriter * | outbound_writer, | ||
core::IArena & | arena | ||
) |
Initialize.
const address::SocketAddr& roc::pipeline::ReceiverEndpoint::inbound_address | ( | ) | const |
Get bind address for inbound packets.
packet::IWriter& roc::pipeline::ReceiverEndpoint::inbound_writer | ( | ) |
Get writer for inbound packets. This way packets from network reach receiver pipeline.
bool roc::pipeline::ReceiverEndpoint::is_valid | ( | ) | const |
Check if the port pipeline was succefully constructed.
packet::IComposer* roc::pipeline::ReceiverEndpoint::outbound_composer | ( | ) |
Get composer for outbound packets.
packet::IWriter* roc::pipeline::ReceiverEndpoint::outbound_writer | ( | ) |
Get writer for outbound packets. This way feedback packets for sender generated by receiver reach network.
address::Protocol roc::pipeline::ReceiverEndpoint::proto | ( | ) | const |
Get protocol.
ROC_ATTR_NODISCARD status::StatusCode roc::pipeline::ReceiverEndpoint::pull_packets | ( | core::nanoseconds_t | current_time | ) |
Pull packets written to inbound writer into pipeline.