Lines Matching refs:MediaConstraintsInterface
39 class FakeConstraints : public webrtc::MediaConstraintsInterface {
78 SetMandatory(MediaConstraintsInterface::kMinAspectRatio, ratio); in SetMandatoryMinAspectRatio()
82 SetMandatory(MediaConstraintsInterface::kMinWidth, width); in SetMandatoryMinWidth()
86 SetMandatory(MediaConstraintsInterface::kMinHeight, height); in SetMandatoryMinHeight()
90 AddOptional(MediaConstraintsInterface::kMaxWidth, width); in SetOptionalMaxWidth()
94 SetMandatory(MediaConstraintsInterface::kMaxFrameRate, frame_rate); in SetMandatoryMaxFrameRate()
98 SetMandatory(MediaConstraintsInterface::kOfferToReceiveAudio, enable); in SetMandatoryReceiveAudio()
102 SetMandatory(MediaConstraintsInterface::kOfferToReceiveVideo, enable); in SetMandatoryReceiveVideo()
106 SetMandatory(MediaConstraintsInterface::kUseRtpMux, enable); in SetMandatoryUseRtpMux()
110 SetMandatory(MediaConstraintsInterface::kIceRestart, enable); in SetMandatoryIceRestart()
114 SetMandatory(MediaConstraintsInterface::kEnableRtpDataChannels, true); in SetAllowRtpDataChannels()
115 SetMandatory(MediaConstraintsInterface::kEnableDtlsSrtp, false); in SetAllowRtpDataChannels()
119 AddOptional(MediaConstraintsInterface::kVoiceActivityDetection, enable); in SetOptionalVAD()
123 SetMandatory(MediaConstraintsInterface::kEnableDtlsSrtp, true); in SetAllowDtlsSctpDataChannels()