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

Issue 391263002: Cast: cast.streaming API to support null audio (or video) track (Closed)

Created:
6 years, 5 months ago by Alpha Left Google
Modified:
6 years, 5 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, posciak+watch_chromium.org, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, chromium-apps-reviews_chromium.org, wjia+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Cast: cast.streaming API to support null audio (or video) track Modify the API to accept null audio or video track, both of them cannot be null however. This change is to support Cast Streaming for a MediaStream from desktop capture where there is no audio. Also changed the authorization for using desktop capture device on non- official builds. This enables local testing. Added new API tests. TEST=browser_tests --gtest_filter=CastStreaming* BUG=388355 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284244

Patch Set 1 #

Total comments: 6

Patch Set 2 : comments #

Total comments: 3

Patch Set 3 : less chrome/renderer/media/OWNERS #

Patch Set 4 : idl compiler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -36 lines) Patch
M chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/media/media_capture_devices_dispatcher.cc View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/api/cast_streaming_session.idl View 1 2 3 1 chunk +8 lines, -5 lines 0 comments Download
M chrome/renderer/extensions/cast_streaming_native_handler.cc View 1 2 3 3 chunks +46 lines, -23 lines 0 comments Download
M chrome/renderer/media/cast_rtp_stream.cc View 1 2 6 chunks +18 lines, -3 lines 0 comments Download
A + chrome/test/data/extensions/api_test/cast_streaming/null_stream.html View 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/cast_streaming/null_stream.js View 1 chunk +59 lines, -0 lines 0 comments Download
M tools/json_schema_compiler/idl_schema.py View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Alpha Left Google
Please review. kalman: extension API changes miu: cast_rtp_stream.cc
6 years, 5 months ago (2014-07-15 23:19:52 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/391263002/diff/1/chrome/common/extensions/api/cast_streaming_session.idl File chrome/common/extensions/api/cast_streaming_session.idl (right): https://codereview.chromium.org/391263002/diff/1/chrome/common/extensions/api/cast_streaming_session.idl#newcode29 chrome/common/extensions/api/cast_streaming_session.idl:29: // track then the created stream ID will be ...
6 years, 5 months ago (2014-07-15 23:32:18 UTC) #2
Alpha Left Google
https://codereview.chromium.org/391263002/diff/1/chrome/common/extensions/api/cast_streaming_session.idl File chrome/common/extensions/api/cast_streaming_session.idl (right): https://codereview.chromium.org/391263002/diff/1/chrome/common/extensions/api/cast_streaming_session.idl#newcode29 chrome/common/extensions/api/cast_streaming_session.idl:29: // track then the created stream ID will be ...
6 years, 5 months ago (2014-07-15 23:48:42 UTC) #3
not at google - send to devlin
lgtm but you should look into that null vs undefined thing. https://codereview.chromium.org/391263002/diff/20001/chrome/renderer/extensions/cast_streaming_native_handler.cc File chrome/renderer/extensions/cast_streaming_native_handler.cc (right): ...
6 years, 5 months ago (2014-07-15 23:55:42 UTC) #4
miu
lgtm, but please consider kalman's concern and the following nit comment before commit: https://codereview.chromium.org/391263002/diff/20001/chrome/renderer/media/cast_rtp_stream.cc File ...
6 years, 5 months ago (2014-07-16 00:16:22 UTC) #5
Alpha Left Google
+dalecurtis for chrome/browser/media https://codereview.chromium.org/391263002/diff/20001/chrome/renderer/extensions/cast_streaming_native_handler.cc File chrome/renderer/extensions/cast_streaming_native_handler.cc (right): https://codereview.chromium.org/391263002/diff/20001/chrome/renderer/extensions/cast_streaming_native_handler.cc#newcode202 chrome/renderer/extensions/cast_streaming_native_handler.cc:202: if (args[0]->IsNull() && args[1]->IsNull()) { On ...
6 years, 5 months ago (2014-07-16 21:47:47 UTC) #6
Alpha Left Google
ping dalecurtis.
6 years, 5 months ago (2014-07-17 18:13:21 UTC) #7
DaleCurtis
lgtm
6 years, 5 months ago (2014-07-17 18:35:16 UTC) #8
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 5 months ago (2014-07-17 18:35:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/391263002/40001
6 years, 5 months ago (2014-07-17 18:38:04 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 23:26:13 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-18 00:55:54 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/48890) linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/52889)
6 years, 5 months ago (2014-07-18 00:55:55 UTC) #13
Alpha Left Google
kalman: I've added a property of allowAmbiguousOptionalArguments to idl compilek. Please take another look.
6 years, 5 months ago (2014-07-18 19:26:55 UTC) #14
not at google - send to devlin
lgtm
6 years, 5 months ago (2014-07-18 20:05:21 UTC) #15
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 5 months ago (2014-07-18 20:08:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/391263002/60001
6 years, 5 months ago (2014-07-18 20:09:51 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-18 21:48:41 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-18 22:20:32 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/29860)
6 years, 5 months ago (2014-07-18 22:20:33 UTC) #20
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 5 months ago (2014-07-18 22:53:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/391263002/60001
6 years, 5 months ago (2014-07-18 22:54:44 UTC) #22
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 23:08:19 UTC) #23
Message was sent while issue was closed.
Change committed as 284244

Powered by Google App Engine
This is Rietveld 408576698