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 555563003: Cast: Flow hw encoder initialization error to extensions API (Closed)

Created:
6 years, 3 months ago by Alpha Left Google
Modified:
6 years, 3 months ago
Reviewers:
hubbe
CC:
chromium-reviews, hclam+watch_chromium.org, cbentzel+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, mcasas+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, posciak+watch_chromium.org, miu+watch_chromium.org, wjia+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cast: Flow hw encoder initialization error to extensions API cast.streaming API will be notified if there is a hardware initialization error. This way extension can decide whether to restart with a different codec or just fail. Also fixed a small issue that Framer is printing too many messages. BUG=402182 Committed: https://crrev.com/42d3637eb8a7a82ac5a3183272224b6c2b5f2249 Cr-Commit-Position: refs/heads/master@{#294216}

Patch Set 1 #

Patch Set 2 : error #

Patch Set 3 : fixed comments and missing patch" #

Total comments: 6

Patch Set 4 : comments #

Total comments: 12

Patch Set 5 : fixed #

Patch Set 6 : merged #

Patch Set 7 : fixed compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -59 lines) Patch
M chrome/renderer/media/cast_session_delegate.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/media/cast_session_delegate.cc View 1 2 3 4 5 6 3 chunks +37 lines, -9 lines 0 comments Download
M media/cast/cast_defines.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M media/cast/cast_sender_impl.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M media/cast/cast_sender_impl.cc View 1 3 chunks +17 lines, -14 lines 0 comments Download
M media/cast/net/rtp/framer.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/sender/external_video_encoder.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M media/cast/sender/external_video_encoder.cc View 1 4 chunks +16 lines, -4 lines 0 comments Download
M media/cast/sender/external_video_encoder_unittest.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M media/cast/sender/video_sender.h View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M media/cast/sender/video_sender.cc View 1 2 3 4 5 4 chunks +24 lines, -5 lines 0 comments Download
M media/cast/sender/video_sender_unittest.cc View 1 2 13 chunks +39 lines, -17 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/test/fake_video_encode_accelerator.h View 2 chunks +4 lines, -0 lines 0 comments Download
M media/cast/test/fake_video_encode_accelerator.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M media/cast/test/simulator.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
Alpha Left Google
6 years, 3 months ago (2014-09-09 00:14:19 UTC) #2
hubbe
https://codereview.chromium.org/555563003/diff/40001/chrome/renderer/media/cast_session_delegate.cc File chrome/renderer/media/cast_session_delegate.cc (right): https://codereview.chromium.org/555563003/diff/40001/chrome/renderer/media/cast_session_delegate.cc#newcode50 chrome/renderer/media/cast_session_delegate.cc:50: default: Remove the default so that we get a ...
6 years, 3 months ago (2014-09-09 00:25:45 UTC) #3
Alpha Left Google
https://codereview.chromium.org/555563003/diff/40001/chrome/renderer/media/cast_session_delegate.cc File chrome/renderer/media/cast_session_delegate.cc (right): https://codereview.chromium.org/555563003/diff/40001/chrome/renderer/media/cast_session_delegate.cc#newcode50 chrome/renderer/media/cast_session_delegate.cc:50: default: On 2014/09/09 00:25:45, hubbe wrote: > Remove the ...
6 years, 3 months ago (2014-09-09 00:37:11 UTC) #4
hubbe
https://codereview.chromium.org/555563003/diff/60001/chrome/renderer/media/cast_session_delegate.cc File chrome/renderer/media/cast_session_delegate.cc (right): https://codereview.chromium.org/555563003/diff/60001/chrome/renderer/media/cast_session_delegate.cc#newcode210 chrome/renderer/media/cast_session_delegate.cc:210: if (result == media::cast::STATUS_AUDIO_INITIALIZED) { Make this part of ...
6 years, 3 months ago (2014-09-09 19:11:03 UTC) #5
Alpha Left Google
https://codereview.chromium.org/555563003/diff/60001/chrome/renderer/media/cast_session_delegate.cc File chrome/renderer/media/cast_session_delegate.cc (right): https://codereview.chromium.org/555563003/diff/60001/chrome/renderer/media/cast_session_delegate.cc#newcode210 chrome/renderer/media/cast_session_delegate.cc:210: if (result == media::cast::STATUS_AUDIO_INITIALIZED) { On 2014/09/09 19:11:03, hubbe ...
6 years, 3 months ago (2014-09-09 19:41:18 UTC) #6
hubbe
lgtm
6 years, 3 months ago (2014-09-09 20:11:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/555563003/80001
6 years, 3 months ago (2014-09-09 22:23:25 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/64675) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/53677) android_aosp ...
6 years, 3 months ago (2014-09-09 22:29:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/555563003/100001
6 years, 3 months ago (2014-09-09 23:51:55 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/64734) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/53744) win_gpu ...
6 years, 3 months ago (2014-09-10 00:26:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/555563003/120001
6 years, 3 months ago (2014-09-10 19:05:03 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:120001) as cb91e2509ebf045b414f2cdf56a29492fd8b153e
6 years, 3 months ago (2014-09-10 20:33:01 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 20:40:25 UTC) #19
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/42d3637eb8a7a82ac5a3183272224b6c2b5f2249
Cr-Commit-Position: refs/heads/master@{#294216}

Powered by Google App Engine
This is Rietveld 408576698