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

Sender session sub-pipeline. More...

#include <sender_session.h>

Inheritance diagram for roc::pipeline::SenderSession:
roc::core::NonCopyable< T > roc::rtcp::ISenderHooks

Public Member Functions

 SenderSession (const SenderConfig &config, const rtp::FormatMap &format_map, packet::PacketFactory &packet_factory, core::BufferFactory< uint8_t > &byte_buffer_factory, core::BufferFactory< audio::sample_t > &sample_buffer_factory, core::IAllocator &allocator)
 Initialize.
 
bool create_transport_pipeline (SenderEndpoint *source_endpoint, SenderEndpoint *repair_endpoint)
 Create transport sub-pipeline.
 
bool create_control_pipeline (SenderEndpoint *control_endpoint)
 Create control sub-pipeline.
 
audio::IFrameWriterwriter () const
 Get audio writer.
 
core::nanoseconds_t get_update_deadline () const
 Get deadline when the pipeline should be updated.
 
void update ()
 Update pipeline.
 

Detailed Description

Sender session sub-pipeline.

Contains:

  • a pipeline for processing audio frames from single sender and converting them into packets

Definition at line 46 of file sender_session.h.

Constructor & Destructor Documentation

◆ SenderSession()

roc::pipeline::SenderSession::SenderSession ( const SenderConfig config,
const rtp::FormatMap format_map,
packet::PacketFactory packet_factory,
core::BufferFactory< uint8_t > &  byte_buffer_factory,
core::BufferFactory< audio::sample_t > &  sample_buffer_factory,
core::IAllocator allocator 
)

Initialize.

Member Function Documentation

◆ create_control_pipeline()

bool roc::pipeline::SenderSession::create_control_pipeline ( SenderEndpoint control_endpoint)

Create control sub-pipeline.

◆ create_transport_pipeline()

bool roc::pipeline::SenderSession::create_transport_pipeline ( SenderEndpoint source_endpoint,
SenderEndpoint repair_endpoint 
)

Create transport sub-pipeline.

◆ get_update_deadline()

core::nanoseconds_t roc::pipeline::SenderSession::get_update_deadline ( ) const

Get deadline when the pipeline should be updated.

◆ update()

void roc::pipeline::SenderSession::update ( )

Update pipeline.

◆ writer()

audio::IFrameWriter * roc::pipeline::SenderSession::writer ( ) const

Get audio writer.


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