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

Issue 10532211: Added piping for sending audio packets from host to client. (Closed)

Created:
8 years, 6 months ago by kxing
Modified:
8 years, 6 months ago
Reviewers:
Sergey Ulanov, Wez, garykac
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Added piping for sending audio packets from host to client. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143977

Patch Set 1 #

Total comments: 4

Patch Set 2 : Made the audio channel backwards-compatible #

Patch Set 3 : Removed unnecessary #include #

Total comments: 11

Patch Set 4 : Addressed comments #

Total comments: 8

Patch Set 5 : Moved is_audio_enabled() to the SessionConfig class #

Patch Set 6 : Updated documentation #

Total comments: 22

Patch Set 7 : Addressed Comments #

Patch Set 8 : Revised code to compile on the bots #

Patch Set 9 : Addressed linux_clang errors #

Patch Set 10 : Fixed unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -54 lines) Patch
M remoting/client/chromoting_client.h View 3 chunks +7 lines, -1 line 0 comments Download
M remoting/client/chromoting_client.cc View 7 3 chunks +8 lines, -1 line 0 comments Download
M remoting/protocol/audio_reader.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/protocol/audio_writer.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/protocol/connection_to_client.h View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M remoting/protocol/connection_to_client.cc View 1 2 3 4 5 6 4 chunks +22 lines, -4 lines 0 comments Download
M remoting/protocol/connection_to_host.h View 2 3 4 5 6 3 chunks +6 lines, -1 line 0 comments Download
M remoting/protocol/connection_to_host.cc View 1 2 3 4 5 6 6 chunks +29 lines, -9 lines 0 comments Download
M remoting/protocol/content_description.cc View 1 2 3 4 5 6 7 8 9 9 chunks +36 lines, -0 lines 0 comments Download
M remoting/protocol/jingle_messages_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +61 lines, -34 lines 0 comments Download
M remoting/protocol/session_config.h View 1 2 3 4 5 6 7 8 7 chunks +22 lines, -0 lines 0 comments Download
M remoting/protocol/session_config.cc View 1 2 3 4 5 6 7 8 9 7 chunks +31 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
kxing
8 years, 6 months ago (2012-06-18 18:49:57 UTC) #1
Wez
http://codereview.chromium.org/10532211/diff/1/remoting/client/chromoting_client.h File remoting/client/chromoting_client.h (right): http://codereview.chromium.org/10532211/diff/1/remoting/client/chromoting_client.h#newcode76 remoting/client/chromoting_client.h:76: virtual int GetPendingPackets() OVERRIDE; nit: This should be renamed ...
8 years, 6 months ago (2012-06-19 03:29:31 UTC) #2
kxing
http://codereview.chromium.org/10532211/diff/1/remoting/client/chromoting_client.h File remoting/client/chromoting_client.h (right): http://codereview.chromium.org/10532211/diff/1/remoting/client/chromoting_client.h#newcode76 remoting/client/chromoting_client.h:76: virtual int GetPendingPackets() OVERRIDE; This CL is already getting ...
8 years, 6 months ago (2012-06-20 22:30:06 UTC) #3
kxing
Ping
8 years, 6 months ago (2012-06-21 13:45:04 UTC) #4
Sergey Ulanov
Looks mostly good. I disagree with the changes in ScreenRecorder and have some other minor ...
8 years, 6 months ago (2012-06-21 17:24:56 UTC) #5
kxing
http://codereview.chromium.org/10532211/diff/9001/remoting/host/screen_recorder.h File remoting/host/screen_recorder.h (right): http://codereview.chromium.org/10532211/diff/9001/remoting/host/screen_recorder.h#newcode137 remoting/host/screen_recorder.h:137: void DoSendAudioPacket(scoped_ptr<AudioPacket> packet); On 2012/06/21 17:24:56, sergeyu wrote: > ...
8 years, 6 months ago (2012-06-21 18:09:22 UTC) #6
kxing
Also, should we call the host audio recorder class AudioRecorder? Or is there a better ...
8 years, 6 months ago (2012-06-21 18:12:45 UTC) #7
Sergey Ulanov
http://codereview.chromium.org/10532211/diff/9001/remoting/protocol/connection_to_client.cc File remoting/protocol/connection_to_client.cc (right): http://codereview.chromium.org/10532211/diff/9001/remoting/protocol/connection_to_client.cc#newcode131 remoting/protocol/connection_to_client.cc:131: audio_writer_ = AudioWriter::Create(session_->config()); On 2012/06/21 18:09:22, kxing wrote: > ...
8 years, 6 months ago (2012-06-21 18:20:45 UTC) #8
Sergey Ulanov
http://codereview.chromium.org/10532211/diff/14002/remoting/protocol/connection_to_client.cc File remoting/protocol/connection_to_client.cc (right): http://codereview.chromium.org/10532211/diff/14002/remoting/protocol/connection_to_client.cc#newcode191 remoting/protocol/connection_to_client.cc:191: bool ConnectionToClient::AudioEnabled() { Actually it's better to call it ...
8 years, 6 months ago (2012-06-21 18:36:04 UTC) #9
kxing
http://codereview.chromium.org/10532211/diff/14002/remoting/protocol/connection_to_client.cc File remoting/protocol/connection_to_client.cc (right): http://codereview.chromium.org/10532211/diff/14002/remoting/protocol/connection_to_client.cc#newcode191 remoting/protocol/connection_to_client.cc:191: bool ConnectionToClient::AudioEnabled() { On 2012/06/21 18:36:04, sergeyu wrote: > ...
8 years, 6 months ago (2012-06-21 18:53:28 UTC) #10
kxing
Ping
8 years, 6 months ago (2012-06-22 14:11:41 UTC) #11
Wez
http://codereview.chromium.org/10532211/diff/21001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): http://codereview.chromium.org/10532211/diff/21001/remoting/client/chromoting_client.cc#newcode11 remoting/client/chromoting_client.cc:11: #include "remoting/proto/audio.pb.h" nit: Why do we need to include ...
8 years, 6 months ago (2012-06-22 18:29:52 UTC) #12
kxing
http://codereview.chromium.org/10532211/diff/21001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): http://codereview.chromium.org/10532211/diff/21001/remoting/client/chromoting_client.cc#newcode11 remoting/client/chromoting_client.cc:11: #include "remoting/proto/audio.pb.h" On 2012/06/22 18:29:53, Wez wrote: > nit: ...
8 years, 6 months ago (2012-06-22 19:12:31 UTC) #13
Wez
LGTM but see comment. http://codereview.chromium.org/10532211/diff/21001/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10532211/diff/21001/remoting/protocol/content_description.cc#newcode282 remoting/protocol/content_description.cc:282: } On 2012/06/22 19:12:31, kxing ...
8 years, 6 months ago (2012-06-22 21:14:06 UTC) #14
kxing
I'll commit pretty soon, unless someone objects. http://codereview.chromium.org/10532211/diff/21001/remoting/protocol/content_description.cc File remoting/protocol/content_description.cc (right): http://codereview.chromium.org/10532211/diff/21001/remoting/protocol/content_description.cc#newcode282 remoting/protocol/content_description.cc:282: } Sure. ...
8 years, 6 months ago (2012-06-22 21:21:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kxing@chromium.org/10532211/19003
8 years, 6 months ago (2012-06-22 21:48:01 UTC) #16
commit-bot: I haz the power
Try job failure for 10532211-19003 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-22 22:01:14 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kxing@chromium.org/10532211/31007
8 years, 6 months ago (2012-06-25 15:18:25 UTC) #18
commit-bot: I haz the power
Try job failure for 10532211-31007 (retry) on linux_rel for step "remoting_unittests". It's a second try, ...
8 years, 6 months ago (2012-06-25 15:54:58 UTC) #19
kxing
PTAL
8 years, 6 months ago (2012-06-25 17:29:38 UTC) #20
Wez
lgtm
8 years, 6 months ago (2012-06-25 17:47:46 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kxing@chromium.org/10532211/38002
8 years, 6 months ago (2012-06-25 17:48:13 UTC) #22
commit-bot: I haz the power
8 years, 6 months ago (2012-06-25 19:26:35 UTC) #23
Change committed as 143977

Powered by Google App Engine
This is Rietveld 408576698