Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::peer::Receiver Class Reference

Receiver peer. More...

#include <receiver.h>

Inheritance diagram for roc::peer::Receiver:
roc::peer::BasicPeer roc::pipeline::IPipelineTaskScheduler roc::core::NonCopyable< T >

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::ISourcesource ()
 Get receiver source.
 
- Public Member Functions inherited from roc::peer::BasicPeer
 BasicPeer (Context &context)
 Initialize.
 
virtual ~BasicPeer ()
 Deinitialize.
 
Contextcontext ()
 Peer's context.
 

Detailed Description

Receiver peer.

Definition at line 30 of file receiver.h.

Constructor & Destructor Documentation

◆ Receiver()

roc::peer::Receiver::Receiver ( Context context,
const pipeline::ReceiverConfig pipeline_config 
)

Initialize.

◆ ~Receiver()

roc::peer::Receiver::~Receiver ( )

Deinitialize.

Member Function Documentation

◆ bind()

bool roc::peer::Receiver::bind ( size_t  slot_index,
address::Interface  iface,
address::EndpointUri uri 
)

Bind peer to local endpoint.

◆ set_multicast_group()

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.

◆ source()

sndio::ISource & roc::peer::Receiver::source ( )

Get receiver source.

◆ valid()

bool roc::peer::Receiver::valid ( )

Check if successfully constructed.


The documentation for this class was generated from the following file: