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

Sender peer. More...

#include <sender.h>

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

Public Member Functions

 Sender (Context &context, const pipeline::SenderConfig &pipeline_config)
 Initialize.
 
 ~Sender ()
 Deinitialize.
 
bool valid () const
 Check if successfully constructed.
 
bool set_outgoing_address (size_t slot_index, address::Interface iface, const char *ip)
 Set outgoing interface address.
 
bool connect (size_t slot_index, address::Interface iface, const address::EndpointUri &uri)
 Connect peer to remote endpoint.
 
bool is_ready ()
 Check if all necessary bind and connect calls were made.
 
sndio::ISinksink ()
 Get sender sink.y.
 
- Public Member Functions inherited from roc::peer::BasicPeer
 BasicPeer (Context &context)
 Initialize.
 
virtual ~BasicPeer ()
 Deinitialize.
 
Contextcontext ()
 Peer's context.
 

Detailed Description

Sender peer.

Definition at line 31 of file sender.h.

Constructor & Destructor Documentation

◆ Sender()

roc::peer::Sender::Sender ( Context context,
const pipeline::SenderConfig pipeline_config 
)

Initialize.

◆ ~Sender()

roc::peer::Sender::~Sender ( )

Deinitialize.

Member Function Documentation

◆ connect()

bool roc::peer::Sender::connect ( size_t  slot_index,
address::Interface  iface,
const address::EndpointUri uri 
)

Connect peer to remote endpoint.

◆ is_ready()

bool roc::peer::Sender::is_ready ( )

Check if all necessary bind and connect calls were made.

◆ set_outgoing_address()

bool roc::peer::Sender::set_outgoing_address ( size_t  slot_index,
address::Interface  iface,
const char *  ip 
)

Set outgoing interface address.

◆ sink()

sndio::ISink & roc::peer::Sender::sink ( )

Get sender sink.y.

◆ valid()

bool roc::peer::Sender::valid ( ) const

Check if successfully constructed.


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