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

RTP participant identity. More...

#include <identity.h>

Inheritance diagram for roc::rtp::Identity:
Collaboration diagram for roc::rtp::Identity:

Public Member Functions

 Identity ()
 Initialize. More...
 
bool is_valid () const
 Check if was constructed successfully. More...
 
const char * cname () const
 Get generated CNAME. Uniquely identifies participant across all RTP sessions. It is expected that collisions are not practi cally possible. More...
 
packet::stream_source_t ssrc () const
 Get generated SSRC. Uniquely identifies participant within RTP session. It is expected that collisions are possible and should be resolved. More...
 
bool change_ssrc ()
 Regenerate SSRC. Used in case of SSRC collision. More...
 

Detailed Description

RTP participant identity.

Definition at line 23 of file identity.h.

Constructor & Destructor Documentation

◆ Identity()

roc::rtp::Identity::Identity ( )

Initialize.

Member Function Documentation

◆ change_ssrc()

bool roc::rtp::Identity::change_ssrc ( )

Regenerate SSRC. Used in case of SSRC collision.

◆ cname()

const char* roc::rtp::Identity::cname ( ) const

Get generated CNAME. Uniquely identifies participant across all RTP sessions. It is expected that collisions are not practi cally possible.

◆ is_valid()

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

Check if was constructed successfully.

◆ ssrc()

packet::stream_source_t roc::rtp::Identity::ssrc ( ) const

Get generated SSRC. Uniquely identifies participant within RTP session. It is expected that collisions are possible and should be resolved.


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