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

Issue 229463002: Add audio playback (all platforms) to cast_receiver_app. (Closed)

Created:
6 years, 8 months ago by miu
Modified:
6 years, 8 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Visibility:
Public.

Description

Add audio playback (all platforms) to cast_receiver_app. This change not only adds audio playback, but also adds an implementation that delays rendering of video/audio frames to the desired playout_times. In addition, console logging has been added to expose: 1) Whether frames were skipped because playback was running behind; 2) Whether frames were skipped by the receiver because packets were too late; 3) When frames are actually being played versus the desired playout_time. BUG=360776 R=imcheng@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262796

Patch Set 1 #

Total comments: 15

Patch Set 2 : Addressed imcheng's comments. #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -84 lines) Patch
M chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M media/cast/test/receiver.cc View 1 2 5 chunks +325 lines, -57 lines 0 comments Download
M media/cast/test/utility/in_process_receiver.h View 1 2 3 chunks +2 lines, -12 lines 0 comments Download
M media/cast/test/utility/in_process_receiver.cc View 1 2 2 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
miu
imcheng: PTAL at everything. hclam: OWNERS stamp.
6 years, 8 months ago (2014-04-08 22:19:50 UTC) #1
imcheng
Looks good, mostly just comments with memory management and questions for my own curiousity. https://codereview.chromium.org/229463002/diff/1/media/cast/test/receiver.cc ...
6 years, 8 months ago (2014-04-09 01:34:45 UTC) #2
miu
https://codereview.chromium.org/229463002/diff/1/media/cast/test/receiver.cc File media/cast/test/receiver.cc (right): https://codereview.chromium.org/229463002/diff/1/media/cast/test/receiver.cc#newcode178 media/cast/test/receiver.cc:178: max_frame_age_(base::TimeDelta::FromSeconds(1) * 3 / On 2014/04/09 01:34:45, imcheng1 wrote: ...
6 years, 8 months ago (2014-04-09 04:07:19 UTC) #3
imcheng
lgtm
6 years, 8 months ago (2014-04-09 19:30:25 UTC) #4
miu
Committed patchset #3 manually as r262796 (presubmit successful).
6 years, 8 months ago (2014-04-09 20:26:35 UTC) #5
miu
6 years, 8 months ago (2014-04-09 20:28:05 UTC) #6
Message was sent while issue was closed.
I've dcommitted to unblock team members.  This shouldn't impact the Chromium
tree, as none of this code is executed in the browser.

Powered by Google App Engine
This is Rietveld 408576698