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

Issue 250363002: [Cast] Clean-up RtpCastHeader and RtpParser, removing the last WebRTC dependency. (Closed)

Created:
6 years, 8 months ago by miu
Modified:
6 years, 8 months ago
Reviewers:
imcheng, hubbe
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

[Cast] Clean-up RtpCastHeader and RtpParser, removing the last WebRTC dependency. Removed use of a WebRTC struct to hold the RTP-specific header values, and only include those struct members needed by Cast in RtpCastHeader. Also: 1. Cleaned up RtpParser, and fixed bugs relating to 8-->32 bit frame_id and reference_frame_id expansion. 2. Moved call to OnReceivedPayloadData() out of RtpParser::ParsePacket() and into RtpReceiver. 3. Massaged unit tests around RtpCastHeader changes. 4. Coding style violations fixed where code was touched. Testing: All cast_unittests pass. Also, manually casted from Chrome to cast_receiver_app to confirm everything works. BUG=347391 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266120

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Addressed hubbe's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -490 lines) Patch
M media/cast/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M media/cast/README View 1 chunk +0 lines, -3 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver_unittest.cc View 5 chunks +6 lines, -10 lines 0 comments Download
M media/cast/cast.gyp View 2 chunks +2 lines, -3 lines 0 comments Download
M media/cast/cast_testing.gypi View 1 chunk +0 lines, -3 lines 0 comments Download
M media/cast/framer/cast_message_builder_unittest.cc View 32 chunks +39 lines, -43 lines 0 comments Download
M media/cast/framer/frame_buffer.cc View 1 chunk +2 lines, -7 lines 0 comments Download
M media/cast/framer/frame_buffer_unittest.cc View 2 chunks +2 lines, -8 lines 0 comments Download
M media/cast/framer/frame_id_map.cc View 1 chunk +1 line, -5 lines 0 comments Download
M media/cast/framer/framer_unittest.cc View 15 chunks +17 lines, -13 lines 0 comments Download
M media/cast/rtp_receiver/receiver_stats.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/rtp_receiver/receiver_stats_unittest.cc View 9 chunks +18 lines, -23 lines 0 comments Download
M media/cast/rtp_receiver/rtp_parser/rtp_parser.h View 1 chunk +17 lines, -28 lines 0 comments Download
M media/cast/rtp_receiver/rtp_parser/rtp_parser.cc View 1 chunk +81 lines, -80 lines 0 comments Download
M media/cast/rtp_receiver/rtp_parser/rtp_parser_unittest.cc View 2 chunks +113 lines, -110 lines 0 comments Download
M media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.h View 2 chunks +3 lines, -3 lines 0 comments Download
M media/cast/rtp_receiver/rtp_parser/test/rtp_packet_builder.cc View 4 chunks +9 lines, -10 lines 0 comments Download
M media/cast/rtp_receiver/rtp_receiver.h View 1 2 chunks +10 lines, -1 line 0 comments Download
M media/cast/rtp_receiver/rtp_receiver.cc View 1 2 chunks +11 lines, -24 lines 0 comments Download
M media/cast/rtp_receiver/rtp_receiver_defines.h View 2 chunks +11 lines, -13 lines 0 comments Download
A media/cast/rtp_receiver/rtp_receiver_defines.cc View 1 chunk +25 lines, -0 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 7 chunks +32 lines, -81 lines 0 comments Download
M media/cast/transport/cast_transport_defines.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.h View 2 chunks +2 lines, -0 lines 0 comments Download
M media/cast/video_receiver/video_receiver.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M media/cast/video_receiver/video_receiver_unittest.cc View 4 chunks +5 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
miu
hubbe: PTAL at everything. Start with rtp_receiver_defines.h, then rtp_parser*, then the rest is mostly variable ...
6 years, 8 months ago (2014-04-23 23:41:58 UTC) #1
hubbe
https://codereview.chromium.org/250363002/diff/10001/media/cast/rtp_receiver/rtp_receiver.h File media/cast/rtp_receiver/rtp_receiver.h (right): https://codereview.chromium.org/250363002/diff/10001/media/cast/rtp_receiver/rtp_receiver.h#newcode20 media/cast/rtp_receiver/rtp_receiver.h:20: class RtpReceiver : public RtpParser { No need to ...
6 years, 8 months ago (2014-04-24 00:31:12 UTC) #2
miu
PTAL. https://codereview.chromium.org/250363002/diff/10001/media/cast/rtp_receiver/rtp_receiver.h File media/cast/rtp_receiver/rtp_receiver.h (right): https://codereview.chromium.org/250363002/diff/10001/media/cast/rtp_receiver/rtp_receiver.h#newcode20 media/cast/rtp_receiver/rtp_receiver.h:20: class RtpReceiver : public RtpParser { On 2014/04/24 ...
6 years, 8 months ago (2014-04-24 21:03:55 UTC) #3
hubbe
lgtm
6 years, 8 months ago (2014-04-24 22:00:04 UTC) #4
imcheng
lgtm end2end_unittest.cc LGTM.
6 years, 8 months ago (2014-04-24 22:02:40 UTC) #5
miu
The CQ bit was checked by miu@chromium.org
6 years, 8 months ago (2014-04-24 22:04:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/250363002/30001
6 years, 8 months ago (2014-04-24 22:05:20 UTC) #7
commit-bot: I haz the power
6 years, 8 months ago (2014-04-25 03:33:45 UTC) #8
Message was sent while issue was closed.
Change committed as 266120

Powered by Google App Engine
This is Rietveld 408576698