Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/WebKit/public/platform/WebMediaConstraints.h

Issue 2664673002: Media Capture Depth Stream Extensions API: videoKind settings and constraint. (Closed)
Patch Set: GetVideoKindForFormat moved to utility. thanks guidou@. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 DoubleConstraint volume; 225 DoubleConstraint volume;
226 LongConstraint sampleRate; 226 LongConstraint sampleRate;
227 LongConstraint sampleSize; 227 LongConstraint sampleSize;
228 BooleanConstraint echoCancellation; 228 BooleanConstraint echoCancellation;
229 DoubleConstraint latency; 229 DoubleConstraint latency;
230 LongConstraint channelCount; 230 LongConstraint channelCount;
231 StringConstraint deviceId; 231 StringConstraint deviceId;
232 BooleanConstraint disableLocalEcho; 232 BooleanConstraint disableLocalEcho;
233 StringConstraint groupId; 233 StringConstraint groupId;
234 // https://w3c.github.io/mediacapture-depth/#mediatrackconstraints 234 // https://w3c.github.io/mediacapture-depth/#mediatrackconstraints
235 StringConstraint videoKind;
235 DoubleConstraint depthNear; 236 DoubleConstraint depthNear;
236 DoubleConstraint depthFar; 237 DoubleConstraint depthFar;
237 DoubleConstraint focalLengthX; 238 DoubleConstraint focalLengthX;
238 DoubleConstraint focalLengthY; 239 DoubleConstraint focalLengthY;
239 // Constraints not exposed in Blink at the moment, only through 240 // Constraints not exposed in Blink at the moment, only through
240 // the legacy name interface. 241 // the legacy name interface.
241 StringConstraint mediaStreamSource; // tab, screen, desktop, system 242 StringConstraint mediaStreamSource; // tab, screen, desktop, system
242 BooleanConstraint renderToAssociatedSink; 243 BooleanConstraint renderToAssociatedSink;
243 BooleanConstraint hotwordEnabled; 244 BooleanConstraint hotwordEnabled;
244 BooleanConstraint googEchoCancellation; 245 BooleanConstraint googEchoCancellation;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 318
318 BLINK_PLATFORM_EXPORT const WebString toString() const; 319 BLINK_PLATFORM_EXPORT const WebString toString() const;
319 320
320 private: 321 private:
321 WebPrivatePtr<WebMediaConstraintsPrivate> m_private; 322 WebPrivatePtr<WebMediaConstraintsPrivate> m_private;
322 }; 323 };
323 324
324 } // namespace blink 325 } // namespace blink
325 326
326 #endif // WebMediaConstraints_h 327 #endif // WebMediaConstraints_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698