| OLD | NEW |
| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 StringConstraint facingMode; | 224 StringConstraint facingMode; |
| 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 |
| 235 DoubleConstraint depthNear; |
| 236 DoubleConstraint depthFar; |
| 237 DoubleConstraint focalLengthX; |
| 238 DoubleConstraint focalLengthY; |
| 234 // Constraints not exposed in Blink at the moment, only through | 239 // Constraints not exposed in Blink at the moment, only through |
| 235 // the legacy name interface. | 240 // the legacy name interface. |
| 236 StringConstraint mediaStreamSource; // tab, screen, desktop, system | 241 StringConstraint mediaStreamSource; // tab, screen, desktop, system |
| 237 BooleanConstraint renderToAssociatedSink; | 242 BooleanConstraint renderToAssociatedSink; |
| 238 BooleanConstraint hotwordEnabled; | 243 BooleanConstraint hotwordEnabled; |
| 239 BooleanConstraint googEchoCancellation; | 244 BooleanConstraint googEchoCancellation; |
| 240 BooleanConstraint googExperimentalEchoCancellation; | 245 BooleanConstraint googExperimentalEchoCancellation; |
| 241 BooleanConstraint googAutoGainControl; | 246 BooleanConstraint googAutoGainControl; |
| 242 BooleanConstraint googExperimentalAutoGainControl; | 247 BooleanConstraint googExperimentalAutoGainControl; |
| 243 BooleanConstraint googNoiseSuppression; | 248 BooleanConstraint googNoiseSuppression; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 | 317 |
| 313 BLINK_PLATFORM_EXPORT const WebString toString() const; | 318 BLINK_PLATFORM_EXPORT const WebString toString() const; |
| 314 | 319 |
| 315 private: | 320 private: |
| 316 WebPrivatePtr<WebMediaConstraintsPrivate> m_private; | 321 WebPrivatePtr<WebMediaConstraintsPrivate> m_private; |
| 317 }; | 322 }; |
| 318 | 323 |
| 319 } // namespace blink | 324 } // namespace blink |
| 320 | 325 |
| 321 #endif // WebMediaConstraints_h | 326 #endif // WebMediaConstraints_h |
| OLD | NEW |