![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Receiver endpoint sub-pipeline. More...
#include <roc_pipeline/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. | |
| bool | is_valid () const |
| Check if the port pipeline was succefully constructed. | |
| address::Protocol | proto () const |
| Get protocol. | |
| packet::IComposer * | outbound_composer () |
| Get composer for outbound packets. | |
| packet::IWriter * | outbound_writer () |
| Get writer for outbound packets. This way feedback packets for sender generated by receiver reach network. | |
| const address::SocketAddr & | inbound_address () const |
| Get bind address for inbound packets. | |
| packet::IWriter & | inbound_writer () |
| Get writer for inbound packets. This way packets from network reach receiver pipeline. | |
| status::StatusCode | pull_packets (core::nanoseconds_t current_time) |
| Pull packets written to inbound writer into pipeline. | |
Public Member Functions inherited from roc::core::RefCounted< ReceiverEndpoint, core::ArenaAllocation > | |
| RefCounted () | |
| Initialize. | |
| RefCounted (const core::ArenaAllocation &policy) | |
| Initialize. | |
| int | getref () const |
| Get reference counter. | |
| void | incref () const |
| Increment reference counter. | |
| void | decref () const |
| Decrement reference counter. | |
Public Member Functions inherited from roc::core::ListNode< Tag > | |
| ListData * | list_data () const |
| Get pointer to internal data. | |
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. | |
Protected Member Functions inherited from roc::core::ArenaAllocation | |
| IArena & | arena () const |
| Get arena. | |
| ArenaAllocation (IArena &arena) | |
| Initialize. | |
| template<class T > | |
| void | destroy (T &object) |
| Destroy object and return memory to arena. | |
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.
| status::StatusCode roc::pipeline::ReceiverEndpoint::pull_packets | ( | core::nanoseconds_t | current_time | ) |
Pull packets written to inbound writer into pipeline.