webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
cricket::StreamParams Struct Reference

#include <streamparams.h>

Public Member Functions

bool operator== (const StreamParams &other) const
 
bool operator!= (const StreamParams &other) const
 
uint32_t first_ssrc () const
 
bool has_ssrcs () const
 
bool has_ssrc (uint32_t ssrc) const
 
void add_ssrc (uint32_t ssrc)
 
bool has_ssrc_groups () const
 
bool has_ssrc_group (const std::string &semantics) const
 
const SsrcGroupget_ssrc_group (const std::string &semantics) const
 
bool AddFidSsrc (uint32_t primary_ssrc, uint32_t fid_ssrc)
 
bool GetFidSsrc (uint32_t primary_ssrc, uint32_t *fid_ssrc) const
 
bool AddFecFrSsrc (uint32_t primary_ssrc, uint32_t fecfr_ssrc)
 
bool GetFecFrSsrc (uint32_t primary_ssrc, uint32_t *fecfr_ssrc) const
 
void GetPrimarySsrcs (std::vector< uint32_t > *ssrcs) const
 
void GetFidSsrcs (const std::vector< uint32_t > &primary_ssrcs, std::vector< uint32_t > *fid_ssrcs) const
 
std::string ToString () const
 
bool operator== (const StreamParams &other) const
 
bool operator!= (const StreamParams &other) const
 
uint32_t first_ssrc () const
 
bool has_ssrcs () const
 
bool has_ssrc (uint32_t ssrc) const
 
void add_ssrc (uint32_t ssrc)
 
bool has_ssrc_groups () const
 
bool has_ssrc_group (const std::string &semantics) const
 
const SsrcGroupget_ssrc_group (const std::string &semantics) const
 
bool AddFidSsrc (uint32_t primary_ssrc, uint32_t fid_ssrc)
 
bool GetFidSsrc (uint32_t primary_ssrc, uint32_t *fid_ssrc) const
 
bool AddFecFrSsrc (uint32_t primary_ssrc, uint32_t fecfr_ssrc)
 
bool GetFecFrSsrc (uint32_t primary_ssrc, uint32_t *fecfr_ssrc) const
 
void GetPrimarySsrcs (std::vector< uint32_t > *ssrcs) const
 
void GetFidSsrcs (const std::vector< uint32_t > &primary_ssrcs, std::vector< uint32_t > *fid_ssrcs) const
 
std::string ToString () const
 

Static Public Member Functions

static StreamParams CreateLegacy (uint32_t ssrc)
 
static StreamParams CreateLegacy (uint32_t ssrc)
 

Public Attributes

std::string groupid
 
std::string id
 
std::vector< uint32_tssrcs
 
std::vector< SsrcGroupssrc_groups
 
std::string type
 
std::string display
 
std::string cname
 
std::string sync_label
 

Member Function Documentation

◆ add_ssrc() [1/2]

void cricket::StreamParams::add_ssrc ( uint32_t  ssrc)
inline

◆ add_ssrc() [2/2]

void cricket::StreamParams::add_ssrc ( uint32_t  ssrc)
inline

◆ AddFecFrSsrc() [1/2]

bool cricket::StreamParams::AddFecFrSsrc ( uint32_t  primary_ssrc,
uint32_t  fecfr_ssrc 
)
inline

◆ AddFecFrSsrc() [2/2]

bool cricket::StreamParams::AddFecFrSsrc ( uint32_t  primary_ssrc,
uint32_t  fecfr_ssrc 
)
inline

◆ AddFidSsrc() [1/2]

bool cricket::StreamParams::AddFidSsrc ( uint32_t  primary_ssrc,
uint32_t  fid_ssrc 
)
inline

◆ AddFidSsrc() [2/2]

bool cricket::StreamParams::AddFidSsrc ( uint32_t  primary_ssrc,
uint32_t  fid_ssrc 
)
inline

◆ CreateLegacy() [1/2]

static StreamParams cricket::StreamParams::CreateLegacy ( uint32_t  ssrc)
inlinestatic

◆ CreateLegacy() [2/2]

static StreamParams cricket::StreamParams::CreateLegacy ( uint32_t  ssrc)
inlinestatic

◆ first_ssrc() [1/2]

uint32_t cricket::StreamParams::first_ssrc ( ) const
inline

◆ first_ssrc() [2/2]

uint32_t cricket::StreamParams::first_ssrc ( ) const
inline

◆ get_ssrc_group() [1/2]

const SsrcGroup* cricket::StreamParams::get_ssrc_group ( const std::string semantics) const
inline

◆ get_ssrc_group() [2/2]

const SsrcGroup* cricket::StreamParams::get_ssrc_group ( const std::string semantics) const
inline

◆ GetFecFrSsrc() [1/2]

bool cricket::StreamParams::GetFecFrSsrc ( uint32_t  primary_ssrc,
uint32_t fecfr_ssrc 
) const
inline

◆ GetFecFrSsrc() [2/2]

bool cricket::StreamParams::GetFecFrSsrc ( uint32_t  primary_ssrc,
uint32_t fecfr_ssrc 
) const
inline

◆ GetFidSsrc() [1/2]

bool cricket::StreamParams::GetFidSsrc ( uint32_t  primary_ssrc,
uint32_t fid_ssrc 
) const
inline

◆ GetFidSsrc() [2/2]

bool cricket::StreamParams::GetFidSsrc ( uint32_t  primary_ssrc,
uint32_t fid_ssrc 
) const
inline

◆ GetFidSsrcs() [1/2]

void cricket::StreamParams::GetFidSsrcs ( const std::vector< uint32_t > &  primary_ssrcs,
std::vector< uint32_t > *  fid_ssrcs 
) const

◆ GetFidSsrcs() [2/2]

void cricket::StreamParams::GetFidSsrcs ( const std::vector< uint32_t > &  primary_ssrcs,
std::vector< uint32_t > *  fid_ssrcs 
) const

◆ GetPrimarySsrcs() [1/2]

void cricket::StreamParams::GetPrimarySsrcs ( std::vector< uint32_t > *  ssrcs) const

◆ GetPrimarySsrcs() [2/2]

void cricket::StreamParams::GetPrimarySsrcs ( std::vector< uint32_t > *  ssrcs) const

◆ has_ssrc() [1/2]

bool cricket::StreamParams::has_ssrc ( uint32_t  ssrc) const
inline

◆ has_ssrc() [2/2]

bool cricket::StreamParams::has_ssrc ( uint32_t  ssrc) const
inline

◆ has_ssrc_group() [1/2]

bool cricket::StreamParams::has_ssrc_group ( const std::string semantics) const
inline

◆ has_ssrc_group() [2/2]

bool cricket::StreamParams::has_ssrc_group ( const std::string semantics) const
inline

◆ has_ssrc_groups() [1/2]

bool cricket::StreamParams::has_ssrc_groups ( ) const
inline

◆ has_ssrc_groups() [2/2]

bool cricket::StreamParams::has_ssrc_groups ( ) const
inline

◆ has_ssrcs() [1/2]

bool cricket::StreamParams::has_ssrcs ( ) const
inline

◆ has_ssrcs() [2/2]

bool cricket::StreamParams::has_ssrcs ( ) const
inline

◆ operator!=() [1/2]

bool cricket::StreamParams::operator!= ( const StreamParams other) const
inline

◆ operator!=() [2/2]

bool cricket::StreamParams::operator!= ( const StreamParams other) const
inline

◆ operator==() [1/2]

bool cricket::StreamParams::operator== ( const StreamParams other) const
inline

◆ operator==() [2/2]

bool cricket::StreamParams::operator== ( const StreamParams other) const
inline

◆ ToString() [1/2]

std::string cricket::StreamParams::ToString ( ) const

◆ ToString() [2/2]

std::string cricket::StreamParams::ToString ( ) const

Member Data Documentation

◆ cname

std::string cricket::StreamParams::cname

◆ display

std::string cricket::StreamParams::display

◆ groupid

std::string cricket::StreamParams::groupid

◆ id

std::string cricket::StreamParams::id

◆ ssrc_groups

std::vector< SsrcGroup > cricket::StreamParams::ssrc_groups

◆ ssrcs

std::vector< uint32_t > cricket::StreamParams::ssrcs

◆ sync_label

std::string cricket::StreamParams::sync_label

◆ type

std::string cricket::StreamParams::type

The documentation for this struct was generated from the following files: