Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
RTP participant identity. More...
#include <identity.h>
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... | |
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.