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, ReceiverState &receiver_state, ReceiverSessionGroup &session_group, const rtp::FormatMap &format_map, 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::IWriter & | writer () |
Get endpoint writer. More... | |
ROC_ATTR_NODISCARD status::StatusCode | pull_packets () |
Pull packets writter to endpoint writer. 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 | |
ListNodeData * | list_node_data () const |
Get list node data. More... | |
Additional Inherited Members | |
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 39 of file receiver_endpoint.h.
roc::pipeline::ReceiverEndpoint::ReceiverEndpoint | ( | address::Protocol | proto, |
ReceiverState & | receiver_state, | ||
ReceiverSessionGroup & | session_group, | ||
const rtp::FormatMap & | format_map, | ||
core::IArena & | arena | ||
) |
Initialize.
writer
to handle packets received on netio thread. bool roc::pipeline::ReceiverEndpoint::is_valid | ( | ) | const |
Check if the port pipeline was succefully constructed.
address::Protocol roc::pipeline::ReceiverEndpoint::proto | ( | ) | const |
Get protocol.
ROC_ATTR_NODISCARD status::StatusCode roc::pipeline::ReceiverEndpoint::pull_packets | ( | ) |
Pull packets writter to endpoint writer.
packet::IWriter& roc::pipeline::ReceiverEndpoint::writer | ( | ) |
Get endpoint writer.