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

Issue 2068133005: Refactoring: Use enum for RtpPayloadType. (Closed)

Created:
4 years, 6 months ago by xjz
Modified:
4 years, 5 months ago
CC:
avayvod+watch_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, imcheng+watch_chromium.org, isheriff+watch_chromium.org, jasonroberts+watch_google.com, miu+watch_chromium.org, xjz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use enum for RtpPayloadType. Change |rtp_payload_type| to enum to specify both the type (video/audio) and encoding codec of the RTP streaming. BUG=620445 Committed: https://crrev.com/1a96dfbda016edeb50e631e20fb3cd28bda49908 Cr-Commit-Position: refs/heads/master@{#403490}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments. #

Total comments: 12

Patch Set 3 : Addressed comments. #

Total comments: 3

Patch Set 4 : Revert to Patch 2. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -47 lines) Patch
M chrome/browser/media/cast_transport_host_filter_unittest.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/cast_messages.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/cast_streaming_native_handler.cc View 1 3 4 chunks +17 lines, -7 lines 0 comments Download
M chrome/renderer/media/cast_rtp_stream.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/media/cast_rtp_stream.cc View 1 5 chunks +5 lines, -6 lines 0 comments Download
M media/cast/cast_config.h View 4 chunks +3 lines, -7 lines 0 comments Download
M media/cast/cast_config.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M media/cast/net/cast_transport_config.h View 1 2 chunks +30 lines, -1 line 0 comments Download
M media/cast/net/cast_transport_config.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/cast/net/cast_transport_impl_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/net/rtp/rtp_sender.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/cast/receiver/frame_receiver.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/sender/audio_sender_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/test/receiver.cc View 1 3 chunks +14 lines, -12 lines 0 comments Download
M media/cast/test/utility/default_config.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
xjz
PTAL
4 years, 6 months ago (2016-06-20 17:05:17 UTC) #3
miu
https://codereview.chromium.org/2068133005/diff/1/chrome/common/cast_messages.h File chrome/common/cast_messages.h (right): https://codereview.chromium.org/2068133005/diff/1/chrome/common/cast_messages.h#newcode64 chrome/common/cast_messages.h:64: IPC_ENUM_TRAITS_MAX_VALUE(media::cast::RtpPayloadType, Because the minimum is non-zero: IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::cast::RtpPayloadType, media::cast::RtpPayloadType::FIRST, media::cast::RtpPayloadType::LAST); ...
4 years, 6 months ago (2016-06-20 21:00:27 UTC) #4
xjz
Addressed comments. PTAL. https://codereview.chromium.org/2068133005/diff/1/chrome/common/cast_messages.h File chrome/common/cast_messages.h (right): https://codereview.chromium.org/2068133005/diff/1/chrome/common/cast_messages.h#newcode64 chrome/common/cast_messages.h:64: IPC_ENUM_TRAITS_MAX_VALUE(media::cast::RtpPayloadType, On 2016/06/20 21:00:27, miu wrote: ...
4 years, 6 months ago (2016-06-21 17:24:31 UTC) #5
miu
https://codereview.chromium.org/2068133005/diff/40001/chrome/renderer/extensions/cast_streaming_native_handler.cc File chrome/renderer/extensions/cast_streaming_native_handler.cc (right): https://codereview.chromium.org/2068133005/diff/40001/chrome/renderer/extensions/cast_streaming_native_handler.cc#newcode116 chrome/renderer/extensions/cast_streaming_native_handler.cc:116: } nit: Please add a fail clause for an ...
4 years, 5 months ago (2016-06-23 23:19:03 UTC) #7
xjz
PTAL mek@: PTAL change in cast_streaming_native_handler.cc. dcheng@: PTAL change in cast_messages.h. https://codereview.chromium.org/2068133005/diff/40001/chrome/renderer/extensions/cast_streaming_native_handler.cc File chrome/renderer/extensions/cast_streaming_native_handler.cc (right): ...
4 years, 5 months ago (2016-06-24 01:22:45 UTC) #10
Marijn Kruisselbrink
https://codereview.chromium.org/2068133005/diff/60001/chrome/renderer/extensions/cast_streaming_native_handler.cc File chrome/renderer/extensions/cast_streaming_native_handler.cc (right): https://codereview.chromium.org/2068133005/diff/60001/chrome/renderer/extensions/cast_streaming_native_handler.cc#newcode118 chrome/renderer/extensions/cast_streaming_native_handler.cc:118: isolate->ThrowException( One of the now failing tests seems to ...
4 years, 5 months ago (2016-06-24 16:54:57 UTC) #11
miu
https://codereview.chromium.org/2068133005/diff/60001/chrome/renderer/extensions/cast_streaming_native_handler.cc File chrome/renderer/extensions/cast_streaming_native_handler.cc (right): https://codereview.chromium.org/2068133005/diff/60001/chrome/renderer/extensions/cast_streaming_native_handler.cc#newcode118 chrome/renderer/extensions/cast_streaming_native_handler.cc:118: isolate->ThrowException( On 2016/06/24 16:54:57, Marijn Kruisselbrink wrote: > And ...
4 years, 5 months ago (2016-06-27 21:00:36 UTC) #12
xjz
Addressed comments. PTAL. https://codereview.chromium.org/2068133005/diff/60001/chrome/renderer/extensions/cast_streaming_native_handler.cc File chrome/renderer/extensions/cast_streaming_native_handler.cc (right): https://codereview.chromium.org/2068133005/diff/60001/chrome/renderer/extensions/cast_streaming_native_handler.cc#newcode118 chrome/renderer/extensions/cast_streaming_native_handler.cc:118: isolate->ThrowException( On 2016/06/27 21:00:36, miu wrote: ...
4 years, 5 months ago (2016-06-28 16:46:26 UTC) #13
miu
lgtm
4 years, 5 months ago (2016-06-28 17:52:12 UTC) #14
xjz
mek@ and dcheng@: LGTY?
4 years, 5 months ago (2016-06-30 18:02:10 UTC) #15
Marijn Kruisselbrink
lgtm
4 years, 5 months ago (2016-06-30 18:05:57 UTC) #16
dcheng
ipc lgtm
4 years, 5 months ago (2016-07-01 12:31:58 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2068133005/80001
4 years, 5 months ago (2016-07-01 17:09:45 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 5 months ago (2016-07-01 18:41:31 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 18:43:48 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1a96dfbda016edeb50e631e20fb3cd28bda49908
Cr-Commit-Position: refs/heads/master@{#403490}

Powered by Google App Engine
This is Rietveld 408576698