|
[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
Total comments: 8
|
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
|
Total messages: 8 (0 generated)
|