Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::rtp::Sequencer Class Reference

RTP packet sequencer. More...

#include <sequencer.h>

Inheritance diagram for roc::rtp::Sequencer:
Collaboration diagram for roc::rtp::Sequencer:

Public Member Functions

 Sequencer (Identity &identity, unsigned int payload_type)
 Initialize. More...
 
bool is_valid () const
 Check if was constructed successfully. More...
 
virtual void next (packet::Packet &packet, core::nanoseconds_t capture_ts, packet::stream_timestamp_t duration)
 Fill next packet. More...
 

Detailed Description

RTP packet sequencer.

Definition at line 23 of file sequencer.h.

Constructor & Destructor Documentation

◆ Sequencer()

roc::rtp::Sequencer::Sequencer ( Identity identity,
unsigned int  payload_type 
)

Initialize.

Member Function Documentation

◆ is_valid()

bool roc::rtp::Sequencer::is_valid ( ) const

Check if was constructed successfully.

◆ next()

virtual void roc::rtp::Sequencer::next ( packet::Packet packet,
core::nanoseconds_t  capture_ts,
packet::stream_timestamp_t  duration 
)
virtual

Fill next packet.

Implements roc::packet::ISequencer.


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