Home
last modified time | relevance | path

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

12

/external/webrtc/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()
54 {MediaConstraintsInterface::kGoogEchoCancellation, in FromConstraints()
56 {MediaConstraintsInterface::kExtendedFilterEchoCancellation, in FromConstraints()
58 {MediaConstraintsInterface::kDAEchoCancellation, in FromConstraints()
60 {MediaConstraintsInterface::kAutoGainControl, options->auto_gain_control}, in FromConstraints()
61 {MediaConstraintsInterface::kExperimentalAutoGainControl, in FromConstraints()
63 {MediaConstraintsInterface::kNoiseSuppression, in FromConstraints()
65 {MediaConstraintsInterface::kExperimentalNoiseSuppression, in FromConstraints()
67 {MediaConstraintsInterface::kHighpassFilter, options->highpass_filter}, in FromConstraints()
[all …]
Dvideosource_unittest.cc43 using webrtc::MediaConstraintsInterface;
145 const webrtc::MediaConstraintsInterface* constraints) { in CreateVideoSource()
252 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 352); in TEST_F()
253 constraints.AddMandatory(MediaConstraintsInterface::kMaxHeight, 288); in TEST_F()
254 constraints.AddMandatory(MediaConstraintsInterface::kMaxFrameRate, 5); in TEST_F()
270 constraints.AddMandatory(MediaConstraintsInterface::kMinWidth, 640); in TEST_F()
271 constraints.AddMandatory(MediaConstraintsInterface::kMinHeight, 480); in TEST_F()
272 constraints.AddOptional(MediaConstraintsInterface::kMinWidth, 1280); in TEST_F()
273 constraints.AddOptional(MediaConstraintsInterface::kMinAspectRatio, in TEST_F()
291 constraints.AddMandatory(MediaConstraintsInterface::kMinWidth, 640); in TEST_F()
[all …]
Dvideosource.cc38 using webrtc::MediaConstraintsInterface;
95 const MediaConstraintsInterface::Constraint& constraint, in SetUpperLimitFromConstraint()
97 if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in SetUpperLimitFromConstraint()
100 } else if (constraint.key == MediaConstraintsInterface::kMaxHeight) { in SetUpperLimitFromConstraint()
108 const MediaConstraintsInterface::Constraints& constraints, in FromConstraintsForScreencast()
110 typedef MediaConstraintsInterface::Constraints::const_iterator in FromConstraintsForScreencast()
128 const MediaConstraintsInterface::Constraint& constraint, in NewFormatWithConstraints()
135 if (constraint.key == MediaConstraintsInterface::kMinWidth) { in NewFormatWithConstraints()
138 } else if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in NewFormatWithConstraints()
141 } else if (constraint.key == MediaConstraintsInterface::kMinHeight) { in NewFormatWithConstraints()
[all …]
Dlocalaudiosource_unittest.cc39 using webrtc::MediaConstraintsInterface;
46 MediaConstraintsInterface::kGoogEchoCancellation, false); in TEST()
48 MediaConstraintsInterface::kExtendedFilterEchoCancellation, true); in TEST()
49 constraints.AddOptional(MediaConstraintsInterface::kDAEchoCancellation, true); in TEST()
50 constraints.AddOptional(MediaConstraintsInterface::kAutoGainControl, true); in TEST()
52 MediaConstraintsInterface::kExperimentalAutoGainControl, true); in TEST()
53 constraints.AddMandatory(MediaConstraintsInterface::kNoiseSuppression, false); in TEST()
54 constraints.AddOptional(MediaConstraintsInterface::kHighpassFilter, true); in TEST()
55 constraints.AddOptional(MediaConstraintsInterface::kAecDump, true); in TEST()
82 MediaConstraintsInterface::kGoogEchoCancellation, false); in TEST()
[all …]
Dpeerconnectionfactoryproxy.h46 const MediaConstraintsInterface* a2, in PROXY_METHOD1()
57 CreateAudioSource, const MediaConstraintsInterface*) in PROXY_METHOD1()
60 const MediaConstraintsInterface*) in PROXY_METHOD1()
73 const MediaConstraintsInterface* a2, in PROXY_METHOD1()
Dlocalaudiosource.h42 class MediaConstraintsInterface; variable
49 const MediaConstraintsInterface* constraints);
65 const MediaConstraintsInterface* constraints);
Dpeerconnectioninterface.h104 class MediaConstraintsInterface; variable
373 const MediaConstraintsInterface* constraints) {} in CreateOffer()
383 const MediaConstraintsInterface* constraints) = 0;
398 const MediaConstraintsInterface* constraints) { in UpdateIce()
530 const MediaConstraintsInterface* constraints,
541 const MediaConstraintsInterface* constraints) = 0;
548 const MediaConstraintsInterface* constraints) = 0;
Dmediaconstraintsinterface.h44 class MediaConstraintsInterface {
144 virtual ~MediaConstraintsInterface() {} in ~MediaConstraintsInterface()
147 bool FindConstraint(const MediaConstraintsInterface* constraints,
Dvideosource.h57 class MediaConstraintsInterface; variable
69 const webrtc::MediaConstraintsInterface* constraints,
95 void Initialize(const webrtc::MediaConstraintsInterface* constraints);
Dpeerconnectioninterface_unittest.cc266 using webrtc::MediaConstraintsInterface;
537 void CreatePeerConnection(webrtc::MediaConstraintsInterface* constraints) { in CreatePeerConnection()
543 webrtc::MediaConstraintsInterface* constraints) { in CreatePeerConnection()
564 webrtc::MediaConstraintsInterface::kEnableDtlsSrtp, false); in CreatePeerConnection()
570 webrtc::MediaConstraintsInterface::kEnableDtlsSrtp, in CreatePeerConnection()
669 MediaConstraintsInterface* constraints) { in DoCreateOfferAnswer()
684 MediaConstraintsInterface* constraints) { in DoCreateOffer()
689 MediaConstraintsInterface* constraints) { in DoCreateAnswer()
1522 constraints.AddMandatory(webrtc::MediaConstraintsInterface::kEnableDtlsSrtp, in TEST_F()
1609 constraints.AddMandatory(webrtc::MediaConstraintsInterface::kEnableDtlsSrtp, in TEST_F()
[all …]
Dpeerconnectionfactory.h60 const MediaConstraintsInterface* constraints,
71 const MediaConstraintsInterface* constraints) override;
75 const MediaConstraintsInterface* constraints) override;
Dpeerconnection.h56 bool ParseConstraintsForAnswer(const MediaConstraintsInterface* constraints,
76 const MediaConstraintsInterface* constraints,
119 const MediaConstraintsInterface* constraints) override;
123 const MediaConstraintsInterface* constraints) override;
225 const MediaConstraintsInterface* constraints,
Dpeerconnection_unittest.cc81 using webrtc::MediaConstraintsInterface;
151 const MediaConstraintsInterface* constraints, in CreateClientWithDtlsIdentityStore()
164 const MediaConstraintsInterface* constraints, in CreateClient()
372 MediaConstraintsInterface::kOfferToReceiveAudio, in can_receive_audio()
382 MediaConstraintsInterface::kOfferToReceiveVideo, in can_receive_video()
407 constraints.AddMandatory(MediaConstraintsInterface::kHighpassFilter, false); in CreateLocalAudioTrack()
738 const MediaConstraintsInterface* constraints, in Init()
769 const MediaConstraintsInterface* constraints, in CreatePeerConnection()
1010 bool CreateTestClients(MediaConstraintsInterface* init_constraints, in CreateTestClients()
1011 MediaConstraintsInterface* recv_constraints) { in CreateTestClients()
[all …]
Dpeerconnectionproxy.h62 const MediaConstraintsInterface*)
64 const MediaConstraintsInterface*)
/external/webrtc/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.cc48 using webrtc::MediaConstraintsInterface;
74 const MediaConstraintsInterface* constraints) { in CreatePc()
154 const MediaConstraintsInterface* constraints) { in CreateOffer()
161 const MediaConstraintsInterface* constraints) { in CreateAnswer()
273 MediaConstraintsInterface::kHighpassFilter, false); in GetUserMedia()
Dpeerconnectiontestwrapper.h48 bool CreatePc(const webrtc::MediaConstraintsInterface* constraints);
74 void CreateOffer(const webrtc::MediaConstraintsInterface* constraints);
75 void CreateAnswer(const webrtc::MediaConstraintsInterface* constraints);
/external/webrtc/webrtc/api/objc/
DRTCMediaConstraints+Private.h18 class MediaConstraints : public MediaConstraintsInterface {
23 const MediaConstraintsInterface::Constraints& mandatory,
24 const MediaConstraintsInterface::Constraints& optional);
29 MediaConstraintsInterface::Constraints mandatory_;
30 MediaConstraintsInterface::Constraints optional_;
47 + (webrtc::MediaConstraintsInterface::Constraints)
DRTCMediaConstraints.mm23 const MediaConstraintsInterface::Constraints& mandatory,
24 const MediaConstraintsInterface::Constraints& optional)
27 const MediaConstraintsInterface::Constraints&
32 const MediaConstraintsInterface::Constraints&
67 webrtc::MediaConstraintsInterface::Constraints mandatory =
69 webrtc::MediaConstraintsInterface::Constraints optional =
77 + (webrtc::MediaConstraintsInterface::Constraints)
80 webrtc::MediaConstraintsInterface::Constraints nativeConstraints;
86 nativeConstraints.push_back(webrtc::MediaConstraintsInterface::Constraint(
/external/webrtc/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(
DRTCPeerConnection+Internal.h41 constraints:(const webrtc::MediaConstraintsInterface *)constraints;
45 constraints:(const webrtc::MediaConstraintsInterface *)constraints
/external/webrtc/webrtc/api/objctests/
DRTCMediaConstraintsTest.mm35 webrtc::MediaConstraintsInterface::Constraints nativeMandatory =
39 webrtc::MediaConstraintsInterface::Constraints nativeOptional =
46 (webrtc::MediaConstraintsInterface::Constraints)nativeConstraints {

12