Description was changed from ========== Media Capture Depth Stream Extensions API: videoKind settings and constraint. ...
3 years, 10 months ago
(2017-02-06 19:28:28 UTC)
#4
Description was changed from
==========
Media Capture Depth Stream Extensions API: videoKind settings and constraint.
Under experimental MediaCaptureDepth feature, implements [1]:
partial dictionary MediaTrackSettings {
DOMString videoKind;
};
partial dictionary MediaTrackSettings {
DOMString videoKind;
};
and constaining logic for videoKind.
This patch adds the support for it to fake capture device only.
[1]
https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary
BUG=616098
==========
to
==========
Media Capture Depth Stream Extensions API: videoKind settings and constraint.
This enables selection of depth stream on Linux; both color and
depth device have the same Label and it is not possible to apart
depth from color stream (https://crbug.com/686756).
Under experimental MediaCaptureDepth feature, implements [1]:
partial dictionary MediaTrackConstraintSet {
ConstrainDOMString videoKind;
};
and constraining logic applying it to MediaStreamTrack object.
partial dictionary MediaTrackSettings {
DOMString videoKind;
};
This patch is verified to work with fake capture device and RealSense SR300.
[1]
https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary
BUG=686756, 616098
==========
aleksandar.stojiljkovic
Patchset #1 (id:20001) has been deleted
3 years, 10 months ago
(2017-02-06 20:34:55 UTC)
#5
Patchset #1 (id:20001) has been deleted
aleksandar.stojiljkovic
Patchset #1 (id:40001) has been deleted
3 years, 10 months ago
(2017-02-06 20:48:36 UTC)
#6
Patchset #1 (id:40001) has been deleted
aleksandar.stojiljkovic
The CQ bit was checked by aleksandar.stojiljkovic@intel.com to run a CQ dry run
3 years, 10 months ago
(2017-02-06 20:49:00 UTC)
#7
mcasas@chromium.org: PTAL at content/renderer/media guidou@chromium.org: PTAL at content/browser third_party/WebKit/Source/modules/mediastream kinuko@chromium.org: PTAL at third_party/WebKit/Source/platform/ third_party/WebKit/public/platform/ content/common/
3 years, 10 months ago
(2017-02-07 04:32:45 UTC)
#12
mcasas@chromium.org: PTAL at
content/renderer/media
guidou@chromium.org: PTAL at
content/browser
third_party/WebKit/Source/modules/mediastream
kinuko@chromium.org: PTAL at
third_party/WebKit/Source/platform/
third_party/WebKit/public/platform/
content/common/
https://codereview.chromium.org/2664673002/diff/60001/content/browser/renderer_host/media/media_stream_manager.cc File content/browser/renderer_host/media/media_stream_manager.cc (right): https://codereview.chromium.org/2664673002/diff/60001/content/browser/renderer_host/media/media_stream_manager.cc#newcode837 content/browser/renderer_host/media/media_stream_manager.cc:837: if (request->controls.video.device_id.empty() && There is a CL (http://crrev.com/2669243004/) close ...
3 years, 10 months ago
(2017-02-07 10:26:04 UTC)
#15
3 years, 10 months ago
(2017-02-09 22:29:19 UTC)
#23
Dry run: This issue passed the CQ dry run.
Guido Urdaneta
https://codereview.chromium.org/2664673002/diff/100001/content/renderer/media/media_stream_video_track.h File content/renderer/media/media_stream_video_track.h (right): https://codereview.chromium.org/2664673002/diff/100001/content/renderer/media/media_stream_video_track.h#newcode24 content/renderer/media/media_stream_video_track.h:24: // VideoKind enum values. https://w3c.github.io/mediacapture-depth. These are used only ...
3 years, 10 months ago
(2017-02-10 12:45:21 UTC)
#24
3 years, 10 months ago
(2017-02-10 15:06:51 UTC)
#25
PS#4 : videoKind string constants removed from header.
https://codereview.chromium.org/2664673002/diff/100001/content/renderer/media...
File content/renderer/media/media_stream_video_track.h (right):
https://codereview.chromium.org/2664673002/diff/100001/content/renderer/media...
content/renderer/media/media_stream_video_track.h:24: // VideoKind enum values.
https://w3c.github.io/mediacapture-depth.
On 2017/02/10 12:45:21, Guido Urdaneta wrote:
> These are used only here and in media_stream_constraints_util_video_source
> files.
>
> Since this is more a utility than a MediaStreamVideoTrack-specific thing, I
> would prefer that you move this to
media_stream_constraints_util_video_source.*
>
String constants removed. It is not needed to have them in header anymore.
However, left the GetVideoKindForFormat here - it is used in
media_stream_video_track.cc (settings), media_stream_video_source (filter
formats by constraint) and media_stream_constraints_util_video_source.cc.
Guido Urdaneta
lgtm https://codereview.chromium.org/2664673002/diff/120001/content/renderer/media/media_stream_video_track.cc File content/renderer/media/media_stream_video_track.cc (right): https://codereview.chromium.org/2664673002/diff/120001/content/renderer/media/media_stream_video_track.cc#newcode20 content/renderer/media/media_stream_video_track.cc:20: blink::WebString GetVideoKindForFormat( nit: I still would prefer the ...
3 years, 10 months ago
(2017-02-10 15:36:17 UTC)
#26
lgtm
https://codereview.chromium.org/2664673002/diff/120001/content/renderer/media...
File content/renderer/media/media_stream_video_track.cc (right):
https://codereview.chromium.org/2664673002/diff/120001/content/renderer/media...
content/renderer/media/media_stream_video_track.cc:20: blink::WebString
GetVideoKindForFormat(
nit: I still would prefer the function to be in
media_stream_constraints_util_video_source.cc since this is more an utility than
a Track-specific function.
I particularly dislike the inclusion of media_stream_video_track.h in
media_stream_constraints_util_video_source.cc since the latter should not depend
on anything track related.
aleksandar.stojiljkovic
PS#5 : GetVideoKindForFormat moved to utility. thanks guidou@. Done as you suggested. In previous patch ...
3 years, 10 months ago
(2017-02-10 16:29:23 UTC)
#27
PS#5 : GetVideoKindForFormat moved to utility. thanks guidou@.
Done as you suggested. In previous patch I just needed to point out it is used
elsewhere as setting; though it could go to media_stream_video_source.cc before
track, it is better to have it in utility.
I trust that you have reviewed all the code under content.
The owner's approval is in place but let me wait today if mcasas@ has some
comments before committing.
https://codereview.chromium.org/2664673002/diff/120001/content/renderer/media...
File content/renderer/media/media_stream_video_track.cc (right):
https://codereview.chromium.org/2664673002/diff/120001/content/renderer/media...
content/renderer/media/media_stream_video_track.cc:20: blink::WebString
GetVideoKindForFormat(
On 2017/02/10 15:36:17, Guido Urdaneta wrote:
> nit: I still would prefer the function to be in
> media_stream_constraints_util_video_source.cc since this is more an utility
than
> a Track-specific function.
> I particularly dislike the inclusion of media_stream_video_track.h in
> media_stream_constraints_util_video_source.cc since the latter should not
depend
> on anything track related.
Done.
Guido Urdaneta
still lgtm > I trust that you have reviewed all the code under content. > ...
3 years, 10 months ago
(2017-02-10 16:38:27 UTC)
#28
still lgtm
> I trust that you have reviewed all the code under content.
> The owner's approval is in place but let me wait today if mcasas@ has some
> comments before committing.
sgtm
aleksandar.stojiljkovic
The CQ bit was checked by aleksandar.stojiljkovic@intel.com
3 years, 10 months ago
(2017-02-14 07:07:43 UTC)
#29
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/382115)
3 years, 10 months ago
(2017-02-14 09:15:58 UTC)
#33
CQ is committing da patch. Bot data: {"patchset_id": 140001, "attempt_start_ts": 1487071732472340, "parent_rev": "68e6b8117a29dbbaec5a1f38d0d41926ec19fc4c", "commit_rev": "28ea8a96d0788781f3ef06053c921d8e740a30ef"}
3 years, 10 months ago
(2017-02-14 13:31:19 UTC)
#36
CQ is committing da patch.
Bot data: {"patchset_id": 140001, "attempt_start_ts": 1487071732472340,
"parent_rev": "68e6b8117a29dbbaec5a1f38d0d41926ec19fc4c", "commit_rev":
"28ea8a96d0788781f3ef06053c921d8e740a30ef"}
commit-bot: I haz the power
Description was changed from ========== Media Capture Depth Stream Extensions API: videoKind settings and constraint. ...
3 years, 10 months ago
(2017-02-14 13:32:49 UTC)
#37
Message was sent while issue was closed.
Description was changed from
==========
Media Capture Depth Stream Extensions API: videoKind settings and constraint.
This enables selection of depth stream on Linux; both color and
depth device have the same Label and it is not possible to apart
depth from color stream (https://crbug.com/686756).
Under experimental MediaCaptureDepth feature, implements [1]:
partial dictionary MediaTrackConstraintSet {
ConstrainDOMString videoKind;
};
and constraining logic applying it to MediaStreamTrack object.
partial dictionary MediaTrackSettings {
DOMString videoKind;
};
This patch is verified to work with fake capture device and RealSense SR300.
[1]
https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary
BUG=686756, 616098
==========
to
==========
Media Capture Depth Stream Extensions API: videoKind settings and constraint.
This enables selection of depth stream on Linux; both color and
depth device have the same Label and it is not possible to apart
depth from color stream (https://crbug.com/686756).
Under experimental MediaCaptureDepth feature, implements [1]:
partial dictionary MediaTrackConstraintSet {
ConstrainDOMString videoKind;
};
and constraining logic applying it to MediaStreamTrack object.
partial dictionary MediaTrackSettings {
DOMString videoKind;
};
This patch is verified to work with fake capture device and RealSense SR300.
[1]
https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary
BUG=686756, 616098
Review-Url: https://codereview.chromium.org/2664673002
Cr-Commit-Position: refs/heads/master@{#450335}
Committed:
https://chromium.googlesource.com/chromium/src/+/28ea8a96d0788781f3ef06053c92...
==========
commit-bot: I haz the power
Committed patchset #5 (id:140001) as https://chromium.googlesource.com/chromium/src/+/28ea8a96d0788781f3ef06053c921d8e740a30ef
3 years, 10 months ago
(2017-02-14 13:32:52 UTC)
#38
Issue 2664673002: Media Capture Depth Stream Extensions API: videoKind settings and constraint.
(Closed)
Created 3 years, 10 months ago by aleksandar.stojiljkovic
Modified 3 years, 10 months ago
Reviewers: mcasas, Guido Urdaneta, kinuko, hta - Chromium
Base URL:
Comments: 21