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

Issue 1377273003: cast: cleanup rtp header and parsing (Closed)

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

Description

cast: clean up lint errors on commit cast: cleanup rtp header and parsing - Remove redundant rtp_header_parser which was mostly duplicated code that was modified for tests. Add all the necessary functionality to the existing rtp_parser and update tests to use rtp_parser - remove rtp_receiver_defines.h and integrate it with rtp_defines.h where it makes more sense since it is not specific to receiver - These changes help bring in adaptive playout data parsing into the tests which will help add unittests for adaptive playout for future CLs BUG= Committed: https://crrev.com/64c95062775d2779d6a588942f3b9ac24f5ccb9b Cr-Commit-Position: refs/heads/master@{#352853}

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Patch Set 3 : Rebased the commits #

Total comments: 2

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -304 lines) Patch
M media/cast/BUILD.gn View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M media/cast/cast.gyp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/cast_testing.gypi View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M media/cast/net/rtp/cast_message_builder.h View 2 chunks +4 lines, -4 lines 0 comments Download
M media/cast/net/rtp/cast_message_builder_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M media/cast/net/rtp/frame_buffer.h View 2 chunks +4 lines, -4 lines 0 comments Download
M media/cast/net/rtp/framer.h View 3 chunks +4 lines, -4 lines 0 comments Download
M media/cast/net/rtp/mock_rtp_feedback.h View 2 chunks +3 lines, -3 lines 0 comments Download
M media/cast/net/rtp/mock_rtp_payload_feedback.h View 2 chunks +4 lines, -4 lines 0 comments Download
M media/cast/net/rtp/receiver_stats.h View 2 chunks +4 lines, -4 lines 0 comments Download
M media/cast/net/rtp/receiver_stats.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/net/rtp/receiver_stats_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M media/cast/net/rtp/rtp_defines.h View 1 1 chunk +42 lines, -1 line 0 comments Download
A + media/cast/net/rtp/rtp_defines.cc View 1 chunk +2 lines, -2 lines 0 comments Download
D media/cast/net/rtp/rtp_header_parser.h View 1 chunk +0 lines, -62 lines 0 comments Download
D media/cast/net/rtp/rtp_header_parser.cc View 1 chunk +0 lines, -103 lines 0 comments Download
M media/cast/net/rtp/rtp_packet_builder.h View 2 chunks +4 lines, -4 lines 0 comments Download
M media/cast/net/rtp/rtp_packet_builder.cc View 1 3 chunks +4 lines, -9 lines 0 comments Download
M media/cast/net/rtp/rtp_packetizer_unittest.cc View 5 chunks +13 lines, -8 lines 0 comments Download
M media/cast/net/rtp/rtp_parser.h View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/net/rtp/rtp_parser.cc View 4 chunks +3 lines, -4 lines 0 comments Download
M media/cast/net/rtp/rtp_parser_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
D media/cast/net/rtp/rtp_receiver_defines.h View 1 chunk +0 lines, -46 lines 0 comments Download
D media/cast/net/rtp/rtp_receiver_defines.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M media/cast/receiver/frame_receiver.h View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 14 (3 generated)
Irfan
This clean up CL mostly started as a result of me needing to add unit ...
5 years, 2 months ago (2015-09-30 23:04:05 UTC) #2
xjz
lgtm
5 years, 2 months ago (2015-10-01 00:11:53 UTC) #3
miu
lgtm! Minor things: https://chromiumcodereview.appspot.com/1377273003/diff/1/media/cast/BUILD.gn File media/cast/BUILD.gn (right): https://chromiumcodereview.appspot.com/1377273003/diff/1/media/cast/BUILD.gn#newcode309 media/cast/BUILD.gn:309: "net/rtp/rtp_defines.h", Since this target depends on ...
5 years, 2 months ago (2015-10-01 00:36:23 UTC) #4
Irfan
https://chromiumcodereview.appspot.com/1377273003/diff/1/media/cast/BUILD.gn File media/cast/BUILD.gn (right): https://chromiumcodereview.appspot.com/1377273003/diff/1/media/cast/BUILD.gn#newcode309 media/cast/BUILD.gn:309: "net/rtp/rtp_defines.h", On 2015/10/01 00:36:22, miu wrote: > Since this ...
5 years, 2 months ago (2015-10-01 19:26:52 UTC) #5
Irfan
PTAL, I cleaned up some duplicated constants in rtp_defines.h in patchset #2 as well
5 years, 2 months ago (2015-10-01 19:32:39 UTC) #6
miu
https://codereview.chromium.org/1377273003/diff/40001/media/cast/net/rtp/rtp_defines.h File media/cast/net/rtp/rtp_defines.h (right): https://codereview.chromium.org/1377273003/diff/40001/media/cast/net/rtp/rtp_defines.h#newcode15 media/cast/net/rtp/rtp_defines.h:15: static const uint16 kCastHeaderLength = 7; If any of ...
5 years, 2 months ago (2015-10-02 19:13:45 UTC) #7
Irfan
https://codereview.chromium.org/1377273003/diff/40001/media/cast/net/rtp/rtp_defines.h File media/cast/net/rtp/rtp_defines.h (right): https://codereview.chromium.org/1377273003/diff/40001/media/cast/net/rtp/rtp_defines.h#newcode15 media/cast/net/rtp/rtp_defines.h:15: static const uint16 kCastHeaderLength = 7; On 2015/10/02 19:13:45, ...
5 years, 2 months ago (2015-10-06 21:33:03 UTC) #8
miu
still lgtm
5 years, 2 months ago (2015-10-06 22:01:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1377273003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1377273003/60001
5 years, 2 months ago (2015-10-07 16:09:12 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-10-07 16:16:57 UTC) #13
commit-bot: I haz the power
5 years, 2 months ago (2015-10-07 16:17:41 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/64c95062775d2779d6a588942f3b9ac24f5ccb9b
Cr-Commit-Position: refs/heads/master@{#352853}

Powered by Google App Engine
This is Rietveld 408576698