Home
last modified time | relevance | path

Searched refs:MediaConstraintsInterface (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediaconstraintsinterface.cc34 const char MediaConstraintsInterface::kValueTrue[] = "true";
35 const char MediaConstraintsInterface::kValueFalse[] = "false";
39 const char MediaConstraintsInterface::kMinAspectRatio[] = "minAspectRatio";
40 const char MediaConstraintsInterface::kMaxAspectRatio[] = "maxAspectRatio";
41 const char MediaConstraintsInterface::kMaxWidth[] = "maxWidth";
42 const char MediaConstraintsInterface::kMinWidth[] = "minWidth";
43 const char MediaConstraintsInterface::kMaxHeight[] = "maxHeight";
44 const char MediaConstraintsInterface::kMinHeight[] = "minHeight";
45 const char MediaConstraintsInterface::kMaxFrameRate[] = "maxFrameRate";
46 const char MediaConstraintsInterface::kMinFrameRate[] = "minFrameRate";
[all …]
Dlocalaudiosource.cc35 using webrtc::MediaConstraintsInterface;
44 void FromConstraints(const MediaConstraintsInterface::Constraints& constraints, in FromConstraints()
46 MediaConstraintsInterface::Constraints::const_iterator iter; in FromConstraints()
58 if (iter->key == MediaConstraintsInterface::kEchoCancellation) in FromConstraints()
61 MediaConstraintsInterface::kExperimentalEchoCancellation) in FromConstraints()
63 else if (iter->key == MediaConstraintsInterface::kAutoGainControl) in FromConstraints()
66 MediaConstraintsInterface::kExperimentalAutoGainControl) in FromConstraints()
68 else if (iter->key == MediaConstraintsInterface::kNoiseSuppression) in FromConstraints()
71 MediaConstraintsInterface::kExperimentalNoiseSuppression) in FromConstraints()
73 else if (iter->key == MediaConstraintsInterface::kHighpassFilter) in FromConstraints()
[all …]
Dvideosource.cc37 using webrtc::MediaConstraintsInterface;
94 const MediaConstraintsInterface::Constraint& constraint, in SetUpperLimitFromConstraint()
96 if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in SetUpperLimitFromConstraint()
99 } else if (constraint.key == MediaConstraintsInterface::kMaxHeight) { in SetUpperLimitFromConstraint()
107 const MediaConstraintsInterface::Constraints& constraints, in FromConstraintsForScreencast()
109 typedef MediaConstraintsInterface::Constraints::const_iterator in FromConstraintsForScreencast()
127 const MediaConstraintsInterface::Constraint& constraint, in NewFormatWithConstraints()
134 if (constraint.key == MediaConstraintsInterface::kMinWidth) { in NewFormatWithConstraints()
137 } else if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in NewFormatWithConstraints()
140 } else if (constraint.key == MediaConstraintsInterface::kMinHeight) { in NewFormatWithConstraints()
[all …]
Dvideosource_unittest.cc43 using webrtc::MediaConstraintsInterface;
146 const webrtc::MediaConstraintsInterface* constraints) { in CreateVideoSource()
230 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 352); in TEST_F()
231 constraints.AddMandatory(MediaConstraintsInterface::kMaxHeight, 288); in TEST_F()
232 constraints.AddMandatory(MediaConstraintsInterface::kMaxFrameRate, 5); in TEST_F()
248 constraints.AddMandatory(MediaConstraintsInterface::kMinWidth, 640); in TEST_F()
249 constraints.AddMandatory(MediaConstraintsInterface::kMinHeight, 480); in TEST_F()
250 constraints.AddOptional(MediaConstraintsInterface::kMinWidth, 1280); in TEST_F()
251 constraints.AddOptional(MediaConstraintsInterface::kMinAspectRatio, in TEST_F()
269 constraints.AddMandatory(MediaConstraintsInterface::kMinWidth, 640); in TEST_F()
[all …]
Dlocalaudiosource_unittest.cc40 using webrtc::MediaConstraintsInterface;
46 constraints.AddMandatory(MediaConstraintsInterface::kEchoCancellation, false); in TEST()
48 MediaConstraintsInterface::kExperimentalEchoCancellation, true); in TEST()
49 constraints.AddOptional(MediaConstraintsInterface::kAutoGainControl, true); in TEST()
51 MediaConstraintsInterface::kExperimentalAutoGainControl, true); in TEST()
52 constraints.AddMandatory(MediaConstraintsInterface::kNoiseSuppression, false); in TEST()
53 constraints.AddOptional(MediaConstraintsInterface::kHighpassFilter, true); in TEST()
85 constraints.AddMandatory(MediaConstraintsInterface::kEchoCancellation, false); in TEST()
86 constraints.AddOptional(MediaConstraintsInterface::kEchoCancellation, true); in TEST()
99 constraints.AddOptional(MediaConstraintsInterface::kHighpassFilter, false); in TEST()
[all …]
Dpeerconnectionfactory.cc56 const webrtc::MediaConstraintsInterface* constraints, in CreatePeerConnectionParams()
68 const webrtc::MediaConstraintsInterface* constraints;
76 const webrtc::MediaConstraintsInterface* constraints) in CreateAudioSourceParams()
79 const webrtc::MediaConstraintsInterface* constraints;
85 const webrtc::MediaConstraintsInterface* constraints) in CreateVideoSourceParams()
90 const webrtc::MediaConstraintsInterface* constraints;
266 const MediaConstraintsInterface* constraints) { in CreateAudioSource_s()
275 const MediaConstraintsInterface* constraints) { in CreateVideoSource_s()
288 const MediaConstraintsInterface* constraints, in CreatePeerConnection()
303 const MediaConstraintsInterface* constraints, in CreatePeerConnection_s()
[all …]
Dpeerconnectionfactory.h50 const MediaConstraintsInterface* constraints,
61 const MediaConstraintsInterface* constraints);
65 const MediaConstraintsInterface* constraints);
96 const MediaConstraintsInterface* constraints);
99 const MediaConstraintsInterface* constraints);
103 const MediaConstraintsInterface* constraints,
Dpeerconnectionproxy.h43 const MediaConstraintsInterface*)
55 const MediaConstraintsInterface*)
57 const MediaConstraintsInterface*)
63 const MediaConstraintsInterface*)
Dlocalaudiosource.h42 class MediaConstraintsInterface; variable
49 const MediaConstraintsInterface* constraints);
64 const MediaConstraintsInterface* constraints);
Dpeerconnectioninterface.h95 class MediaConstraintsInterface; variable
259 const MediaConstraintsInterface* constraints) = 0;
285 const MediaConstraintsInterface* constraints) {} in CreateOffer()
295 const MediaConstraintsInterface* constraints) = 0;
309 const MediaConstraintsInterface* constraints) = 0;
496 const MediaConstraintsInterface* constraints,
510 const MediaConstraintsInterface* constraints, in CreatePeerConnection()
526 const MediaConstraintsInterface* constraints) = 0;
533 const MediaConstraintsInterface* constraints) = 0;
Dpeerconnection.h62 const MediaConstraintsInterface* constraints,
69 const MediaConstraintsInterface* constraints);
94 const MediaConstraintsInterface* constraints);
98 const MediaConstraintsInterface* constraints);
105 const MediaConstraintsInterface* constraints);
166 const MediaConstraintsInterface* constraints,
Dmediaconstraintsinterface.h44 class MediaConstraintsInterface {
144 virtual ~MediaConstraintsInterface() {} in ~MediaConstraintsInterface()
147 bool FindConstraint(const MediaConstraintsInterface* constraints,
Dvideosource.h55 class MediaConstraintsInterface; variable
67 const webrtc::MediaConstraintsInterface* constraints);
85 void Initialize(const webrtc::MediaConstraintsInterface* constraints);
Dpeerconnection.cc322 const MediaConstraintsInterface* constraints, in Initialize()
340 const MediaConstraintsInterface* constraints, in DoInitialize()
359 constraints, MediaConstraintsInterface::kEnableIPv6, &value, NULL)) { in DoInitialize()
407 const MediaConstraintsInterface* constraints) { in AddStream()
510 const MediaConstraintsInterface* constraints) { in CreateOffer()
521 MediaConstraintsInterface::kOfferToReceiveAudio, in CreateOffer()
529 MediaConstraintsInterface::kOfferToReceiveVideo, in CreateOffer()
537 MediaConstraintsInterface::kVoiceActivityDetection, in CreateOffer()
544 MediaConstraintsInterface::kIceRestart, in CreateOffer()
551 MediaConstraintsInterface::kUseRtpMux, in CreateOffer()
[all …]
Dwebrtcsession.cc376 const MediaConstraintsInterface* constraints, in SetOptionFromOptionalConstraint()
510 const MediaConstraintsInterface* constraints, in Initialize()
526 MediaConstraintsInterface::kEnableDtlsSrtp, in Initialize()
536 constraints, MediaConstraintsInterface::kEnableRtpDataChannels, in Initialize()
554 MediaConstraintsInterface::kEnableDscp, in Initialize()
563 MediaConstraintsInterface::kEnableVideoSuspendBelowMinBitrate, in Initialize()
570 MediaConstraintsInterface::kScreencastMinBitrate, in Initialize()
575 MediaConstraintsInterface::kCpuUnderuseThreshold, in Initialize()
578 MediaConstraintsInterface::kCpuOveruseThreshold, in Initialize()
581 MediaConstraintsInterface::kCpuOveruseDetection, in Initialize()
[all …]
Dpeerconnection_unittest.cc76 using webrtc::MediaConstraintsInterface;
168 MediaConstraintsInterface::kHighpassFilter, false); in AddMediaStream()
477 bool Init(const MediaConstraintsInterface* constraints) { in Init()
505 const MediaConstraintsInterface* constraints) = 0;
595 const MediaConstraintsInterface* constraints) { in CreateClient()
697 MediaConstraintsInterface::kOfferToReceiveAudio, &value, NULL)) { in can_receive_audio()
706 MediaConstraintsInterface::kOfferToReceiveVideo, &value, NULL)) { in can_receive_video()
744 const MediaConstraintsInterface* constraints) { in CreatePeerConnection()
939 bool CreateTestClients(MediaConstraintsInterface* init_constraints, in CreateTestClients()
940 MediaConstraintsInterface* recv_constraints) { in CreateTestClients()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
Dfakeconstraints.h39 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()
[all …]
Dpeerconnectiontestwrapper.cc46 using webrtc::MediaConstraintsInterface;
72 const MediaConstraintsInterface* constraints) { in CreatePc()
154 const MediaConstraintsInterface* constraints) { in CreateOffer()
161 const MediaConstraintsInterface* constraints) { in CreateAnswer()
273 MediaConstraintsInterface::kHighpassFilter, false); in GetUserMedia()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objc/
DRTCMediaConstraintsNative.h34 class RTCMediaConstraintsNative : public MediaConstraintsInterface {
39 const MediaConstraintsInterface::Constraints& mandatory,
40 const MediaConstraintsInterface::Constraints& optional);
45 MediaConstraintsInterface::Constraints mandatory_;
46 MediaConstraintsInterface::Constraints optional_;
DRTCMediaConstraintsNative.cc37 const MediaConstraintsInterface::Constraints& mandatory, in RTCMediaConstraintsNative()
38 const MediaConstraintsInterface::Constraints& optional) in RTCMediaConstraintsNative()
41 const MediaConstraintsInterface::Constraints&
46 const MediaConstraintsInterface::Constraints&
DRTCMediaConstraints.mm43 webrtc::MediaConstraintsInterface::Constraints _mandatory;
44 webrtc::MediaConstraintsInterface::Constraints _optional;
58 + (webrtc::MediaConstraintsInterface::Constraints)constraintsFromArray:
60 webrtc::MediaConstraintsInterface::Constraints constraints;
62 constraints.push_back(webrtc::MediaConstraintsInterface::Constraint(
/external/chromium_org/content/renderer/media/
Dmock_media_constraint_factory.cc86 webrtc::MediaConstraintsInterface::kEchoCancellation, in DisableDefaultAudioConstraints()
87 webrtc::MediaConstraintsInterface::kExperimentalEchoCancellation, in DisableDefaultAudioConstraints()
88 webrtc::MediaConstraintsInterface::kAutoGainControl, in DisableDefaultAudioConstraints()
89 webrtc::MediaConstraintsInterface::kExperimentalAutoGainControl, in DisableDefaultAudioConstraints()
90 webrtc::MediaConstraintsInterface::kNoiseSuppression, in DisableDefaultAudioConstraints()
91 webrtc::MediaConstraintsInterface::kHighpassFilter, in DisableDefaultAudioConstraints()
92 webrtc::MediaConstraintsInterface::kTypingNoiseDetection, in DisableDefaultAudioConstraints()
93 webrtc::MediaConstraintsInterface::kExperimentalNoiseSuppression in DisableDefaultAudioConstraints()
Drtc_media_constraints.cc21 webrtc::MediaConstraintsInterface::Constraints* native_constraints) { in GetNativeMediaConstraints()
24 webrtc::MediaConstraintsInterface::Constraint new_constraint; in GetNativeMediaConstraints()
65 const webrtc::MediaConstraintsInterface::Constraints&
70 const webrtc::MediaConstraintsInterface::Constraints&
Dmock_peer_connection_impl.h33 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE;
81 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE;
84 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE;
99 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE;
/external/chromium_org/content/renderer/media/webrtc/
Dmock_peer_connection_dependency_factory.h78 const webrtc::MediaConstraintsInterface* constraints);
89 const webrtc::MediaConstraintsInterface::Constraints& optional_constraints() { in optional_constraints()
93 const webrtc::MediaConstraintsInterface::Constraints&
104 webrtc::MediaConstraintsInterface::Constraints optional_constraints_;
105 webrtc::MediaConstraintsInterface::Constraints mandatory_constraints_;
179 const webrtc::MediaConstraintsInterface* constraints,
184 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE;

12