| Index: content/test/data/media/depth_stream_test_utilities.js
|
| diff --git a/content/test/data/media/depth_stream_test_utilities.js b/content/test/data/media/depth_stream_test_utilities.js
|
| index 0aa763e90882d24b512c42812a71123748c7775b..4350c30d068fc78aedb6dabe6cad386922c0a849 100644
|
| --- a/content/test/data/media/depth_stream_test_utilities.js
|
| +++ b/content/test/data/media/depth_stream_test_utilities.js
|
| @@ -32,6 +32,15 @@ function getFake16bitStream() {
|
| });
|
| }
|
|
|
| +function getStreamOfVideoKind(constraint_kind) {
|
| + var constraints = {
|
| + video:{
|
| + videoKind: constraint_kind
|
| + }
|
| + }
|
| + return navigator.mediaDevices.getUserMedia(constraints);
|
| +}
|
| +
|
| // Data is RGBA array data and could be used with different formats:
|
| // e.g. Uint8Array, Uint8ClampedArray, Float32Array...
|
| // Value at point (row, column) is calculated as
|
|
|