Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::sdp::ConnectionData Class Reference

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::SocketAddrconnection_address () const
 The SocketAddr of the ConnectionData. More...
 

Detailed Description

SDP connection data field.

Definition at line 26 of file connection_data.h.

Constructor & Destructor Documentation

◆ ConnectionData()

roc::sdp::ConnectionData::ConnectionData ( )

Initialize empty connection data.

Member Function Documentation

◆ clear()

void roc::sdp::ConnectionData::clear ( )

Clear all fields.

◆ connection_address()

const address::SocketAddr& roc::sdp::ConnectionData::connection_address ( ) const

The SocketAddr of the ConnectionData.

◆ set_connection_address()

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.


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