Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
SDP connection data field. More...
#include <connection_data.h>
Public Member Functions | |
ConnectionData () | |
Initialize empty connection data. More... | |
void | clear () |
Clear all fields. More... | |
ROC_ATTR_NODISCARD bool | set_connection_address (address::AddrFamily addrtype, const char *str, size_t str_len) |
Check and set connection address from a string. More... | |
const address::SocketAddr & | connection_address () const |
The SocketAddr of the ConnectionData. More... | |
SDP connection data field.
Definition at line 26 of file connection_data.h.
roc::sdp::ConnectionData::ConnectionData | ( | ) |
Initialize empty connection data.
void roc::sdp::ConnectionData::clear | ( | ) |
Clear all fields.
const address::SocketAddr& roc::sdp::ConnectionData::connection_address | ( | ) | const |
The SocketAddr of the ConnectionData.
ROC_ATTR_NODISCARD bool roc::sdp::ConnectionData::set_connection_address | ( | address::AddrFamily | addrtype, |
const char * | str, | ||
size_t | str_len | ||
) |
Check and set connection address from a string.