![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
RTP participant identity. More...
#include <roc_rtp/identity.h>
Public Member Functions | |
Identity () | |
Initialize. | |
bool | is_valid () const |
Check if was constructed successfully. | |
const char * | cname () const |
Get generated CNAME. Uniquely identifies participant across all RTP sessions. It is expected that collisions are not practi cally possible. | |
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. | |
bool | change_ssrc () |
Regenerate SSRC. Used in case of SSRC collision. | |
RTP participant identity.
Definition at line 23 of file identity.h.
roc::rtp::Identity::Identity | ( | ) |
Initialize.
bool roc::rtp::Identity::change_ssrc | ( | ) |
Regenerate SSRC. Used in case of SSRC collision.
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.
bool roc::rtp::Identity::is_valid | ( | ) | const |
Check if was constructed successfully.
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.