webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::FakeConstraints Class Reference

#include <fakeconstraints.h>

Inheritance diagram for webrtc::FakeConstraints:
webrtc::MediaConstraintsInterface webrtc::MediaConstraintsInterface

Public Member Functions

 FakeConstraints ()
 
virtual ~FakeConstraints ()
 
virtual const ConstraintsGetMandatory () const
 
virtual const ConstraintsGetOptional () const
 
template<class T >
void AddMandatory (const std::string &key, const T &value)
 
template<class T >
void SetMandatory (const std::string &key, const T &value)
 
template<class T >
void AddOptional (const std::string &key, const T &value)
 
void SetMandatoryMinAspectRatio (double ratio)
 
void SetMandatoryMinWidth (int width)
 
void SetMandatoryMinHeight (int height)
 
void SetOptionalMaxWidth (int width)
 
void SetMandatoryMaxFrameRate (int frame_rate)
 
void SetMandatoryReceiveAudio (bool enable)
 
void SetMandatoryReceiveVideo (bool enable)
 
void SetMandatoryUseRtpMux (bool enable)
 
void SetMandatoryIceRestart (bool enable)
 
void SetAllowRtpDataChannels ()
 
void SetOptionalVAD (bool enable)
 
void SetAllowDtlsSctpDataChannels ()
 
 FakeConstraints ()
 
virtual ~FakeConstraints ()
 
virtual const ConstraintsGetMandatory () const
 
virtual const ConstraintsGetOptional () const
 
template<class T >
void AddMandatory (const std::string &key, const T &value)
 
template<class T >
void SetMandatory (const std::string &key, const T &value)
 
template<class T >
void AddOptional (const std::string &key, const T &value)
 
void SetMandatoryMinAspectRatio (double ratio)
 
void SetMandatoryMinWidth (int width)
 
void SetMandatoryMinHeight (int height)
 
void SetOptionalMaxWidth (int width)
 
void SetMandatoryMaxFrameRate (int frame_rate)
 
void SetMandatoryReceiveAudio (bool enable)
 
void SetMandatoryReceiveVideo (bool enable)
 
void SetMandatoryUseRtpMux (bool enable)
 
void SetMandatoryIceRestart (bool enable)
 
void SetAllowRtpDataChannels ()
 
void SetOptionalVAD (bool enable)
 
void SetAllowDtlsSctpDataChannels ()
 

Additional Inherited Members

- Static Public Attributes inherited from webrtc::MediaConstraintsInterface
static const char kMinAspectRatio [] = "minAspectRatio"
 
static const char kMaxAspectRatio [] = "maxAspectRatio"
 
static const char kMaxWidth [] = "maxWidth"
 
static const char kMinWidth [] = "minWidth"
 
static const char kMaxHeight [] = "maxHeight"
 
static const char kMinHeight [] = "minHeight"
 
static const char kMaxFrameRate [] = "maxFrameRate"
 
static const char kMinFrameRate [] = "minFrameRate"
 
static const char kEchoCancellation []
 
static const char kGoogEchoCancellation []
 
static const char kExtendedFilterEchoCancellation []
 
static const char kDAEchoCancellation []
 
static const char kAutoGainControl []
 
static const char kExperimentalAutoGainControl []
 
static const char kNoiseSuppression []
 
static const char kExperimentalNoiseSuppression []
 
static const char kIntelligibilityEnhancer []
 
static const char kLevelControl [] = "levelControl"
 
static const char kLevelControlInitialPeakLevelDBFS []
 
static const char kHighpassFilter []
 
static const char kTypingNoiseDetection []
 
static const char kAudioMirroring [] = "googAudioMirroring"
 
static const char kAudioNetworkAdaptorConfig []
 
static const char kNoiseReduction [] = "googNoiseReduction"
 
static const char kOfferToReceiveVideo []
 
static const char kOfferToReceiveAudio []
 
static const char kVoiceActivityDetection []
 
static const char kIceRestart []
 
static const char kUseRtpMux []
 
static const char kValueTrue [] = "true"
 
static const char kValueFalse [] = "false"
 
static const char kEnableDtlsSrtp []
 
static const char kEnableRtpDataChannels []
 
static const char kEnableDscp [] = "googDscp"
 
static const char kEnableIPv6 [] = "googIPv6"
 
static const char kEnableVideoSuspendBelowMinBitrate []
 
static const char kCombinedAudioVideoBwe []
 
static const char kScreencastMinBitrate []
 
static const char kCpuOveruseDetection []
 
static const char kPayloadPadding [] = "googPayloadPadding"
 
static const char kInternalConstraintPrefix []
 
- Protected Member Functions inherited from webrtc::MediaConstraintsInterface
virtual ~MediaConstraintsInterface ()
 
virtual ~MediaConstraintsInterface ()
 

Constructor & Destructor Documentation

◆ FakeConstraints() [1/2]

webrtc::FakeConstraints::FakeConstraints ( )
inline

◆ ~FakeConstraints() [1/2]

virtual webrtc::FakeConstraints::~FakeConstraints ( )
inlinevirtual

◆ FakeConstraints() [2/2]

webrtc::FakeConstraints::FakeConstraints ( )
inline

◆ ~FakeConstraints() [2/2]

virtual webrtc::FakeConstraints::~FakeConstraints ( )
inlinevirtual

Member Function Documentation

◆ AddMandatory() [1/2]

template<class T >
void webrtc::FakeConstraints::AddMandatory ( const std::string key,
const T value 
)
inline

◆ AddMandatory() [2/2]

template<class T >
void webrtc::FakeConstraints::AddMandatory ( const std::string key,
const T value 
)
inline

◆ AddOptional() [1/2]

template<class T >
void webrtc::FakeConstraints::AddOptional ( const std::string key,
const T value 
)
inline

◆ AddOptional() [2/2]

template<class T >
void webrtc::FakeConstraints::AddOptional ( const std::string key,
const T value 
)
inline

◆ GetMandatory() [1/2]

virtual const Constraints& webrtc::FakeConstraints::GetMandatory ( ) const
inlinevirtual

◆ GetMandatory() [2/2]

virtual const Constraints& webrtc::FakeConstraints::GetMandatory ( ) const
inlinevirtual

◆ GetOptional() [1/2]

virtual const Constraints& webrtc::FakeConstraints::GetOptional ( ) const
inlinevirtual

◆ GetOptional() [2/2]

virtual const Constraints& webrtc::FakeConstraints::GetOptional ( ) const
inlinevirtual

◆ SetAllowDtlsSctpDataChannels() [1/2]

void webrtc::FakeConstraints::SetAllowDtlsSctpDataChannels ( )
inline

◆ SetAllowDtlsSctpDataChannels() [2/2]

void webrtc::FakeConstraints::SetAllowDtlsSctpDataChannels ( )
inline

◆ SetAllowRtpDataChannels() [1/2]

void webrtc::FakeConstraints::SetAllowRtpDataChannels ( )
inline

◆ SetAllowRtpDataChannels() [2/2]

void webrtc::FakeConstraints::SetAllowRtpDataChannels ( )
inline

◆ SetMandatory() [1/2]

template<class T >
void webrtc::FakeConstraints::SetMandatory ( const std::string key,
const T value 
)
inline

◆ SetMandatory() [2/2]

template<class T >
void webrtc::FakeConstraints::SetMandatory ( const std::string key,
const T value 
)
inline

◆ SetMandatoryIceRestart() [1/2]

void webrtc::FakeConstraints::SetMandatoryIceRestart ( bool  enable)
inline

◆ SetMandatoryIceRestart() [2/2]

void webrtc::FakeConstraints::SetMandatoryIceRestart ( bool  enable)
inline

◆ SetMandatoryMaxFrameRate() [1/2]

void webrtc::FakeConstraints::SetMandatoryMaxFrameRate ( int  frame_rate)
inline

◆ SetMandatoryMaxFrameRate() [2/2]

void webrtc::FakeConstraints::SetMandatoryMaxFrameRate ( int  frame_rate)
inline

◆ SetMandatoryMinAspectRatio() [1/2]

void webrtc::FakeConstraints::SetMandatoryMinAspectRatio ( double  ratio)
inline

◆ SetMandatoryMinAspectRatio() [2/2]

void webrtc::FakeConstraints::SetMandatoryMinAspectRatio ( double  ratio)
inline

◆ SetMandatoryMinHeight() [1/2]

void webrtc::FakeConstraints::SetMandatoryMinHeight ( int  height)
inline

◆ SetMandatoryMinHeight() [2/2]

void webrtc::FakeConstraints::SetMandatoryMinHeight ( int  height)
inline

◆ SetMandatoryMinWidth() [1/2]

void webrtc::FakeConstraints::SetMandatoryMinWidth ( int  width)
inline

◆ SetMandatoryMinWidth() [2/2]

void webrtc::FakeConstraints::SetMandatoryMinWidth ( int  width)
inline

◆ SetMandatoryReceiveAudio() [1/2]

void webrtc::FakeConstraints::SetMandatoryReceiveAudio ( bool  enable)
inline

◆ SetMandatoryReceiveAudio() [2/2]

void webrtc::FakeConstraints::SetMandatoryReceiveAudio ( bool  enable)
inline

◆ SetMandatoryReceiveVideo() [1/2]

void webrtc::FakeConstraints::SetMandatoryReceiveVideo ( bool  enable)
inline

◆ SetMandatoryReceiveVideo() [2/2]

void webrtc::FakeConstraints::SetMandatoryReceiveVideo ( bool  enable)
inline

◆ SetMandatoryUseRtpMux() [1/2]

void webrtc::FakeConstraints::SetMandatoryUseRtpMux ( bool  enable)
inline

◆ SetMandatoryUseRtpMux() [2/2]

void webrtc::FakeConstraints::SetMandatoryUseRtpMux ( bool  enable)
inline

◆ SetOptionalMaxWidth() [1/2]

void webrtc::FakeConstraints::SetOptionalMaxWidth ( int  width)
inline

◆ SetOptionalMaxWidth() [2/2]

void webrtc::FakeConstraints::SetOptionalMaxWidth ( int  width)
inline

◆ SetOptionalVAD() [1/2]

void webrtc::FakeConstraints::SetOptionalVAD ( bool  enable)
inline

◆ SetOptionalVAD() [2/2]

void webrtc::FakeConstraints::SetOptionalVAD ( bool  enable)
inline

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