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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp

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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 facingMode("facingMode"), 350 facingMode("facingMode"),
351 volume("volume"), 351 volume("volume"),
352 sampleRate("sampleRate"), 352 sampleRate("sampleRate"),
353 sampleSize("sampleSize"), 353 sampleSize("sampleSize"),
354 echoCancellation("echoCancellation"), 354 echoCancellation("echoCancellation"),
355 latency("latency"), 355 latency("latency"),
356 channelCount("channelCount"), 356 channelCount("channelCount"),
357 deviceId("deviceId"), 357 deviceId("deviceId"),
358 disableLocalEcho("disableLocalEcho"), 358 disableLocalEcho("disableLocalEcho"),
359 groupId("groupId"), 359 groupId("groupId"),
360 videoKind("videoKind"),
360 depthNear("depthNear"), 361 depthNear("depthNear"),
361 depthFar("depthFar"), 362 depthFar("depthFar"),
362 focalLengthX("focalLengthX"), 363 focalLengthX("focalLengthX"),
363 focalLengthY("focalLengthY"), 364 focalLengthY("focalLengthY"),
364 mediaStreamSource("mediaStreamSource"), 365 mediaStreamSource("mediaStreamSource"),
365 renderToAssociatedSink("chromeRenderToAssociatedSink"), 366 renderToAssociatedSink("chromeRenderToAssociatedSink"),
366 hotwordEnabled("hotwordEnabled"), 367 hotwordEnabled("hotwordEnabled"),
367 googEchoCancellation("googEchoCancellation"), 368 googEchoCancellation("googEchoCancellation"),
368 googExperimentalEchoCancellation("googExperimentalEchoCancellation"), 369 googExperimentalEchoCancellation("googExperimentalEchoCancellation"),
369 googAutoGainControl("googAutoGainControl"), 370 googAutoGainControl("googAutoGainControl"),
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 &frameRate, 411 &frameRate,
411 &facingMode, 412 &facingMode,
412 &volume, 413 &volume,
413 &sampleRate, 414 &sampleRate,
414 &sampleSize, 415 &sampleSize,
415 &echoCancellation, 416 &echoCancellation,
416 &latency, 417 &latency,
417 &channelCount, 418 &channelCount,
418 &deviceId, 419 &deviceId,
419 &groupId, 420 &groupId,
421 &videoKind,
420 &depthNear, 422 &depthNear,
421 &depthFar, 423 &depthFar,
422 &focalLengthX, 424 &focalLengthX,
423 &focalLengthY, 425 &focalLengthY,
424 &mediaStreamSource, 426 &mediaStreamSource,
425 &disableLocalEcho, 427 &disableLocalEcho,
426 &renderToAssociatedSink, 428 &renderToAssociatedSink,
427 &hotwordEnabled, 429 &hotwordEnabled,
428 &googEchoCancellation, 430 &googEchoCancellation,
429 &googExperimentalEchoCancellation, 431 &googExperimentalEchoCancellation,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 return m_private->advanced(); 548 return m_private->advanced();
547 } 549 }
548 550
549 const WebString WebMediaConstraints::toString() const { 551 const WebString WebMediaConstraints::toString() const {
550 if (isNull()) 552 if (isNull())
551 return WebString(""); 553 return WebString("");
552 return m_private->toString(); 554 return m_private->toString();
553 } 555 }
554 556
555 } // namespace blink 557 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698