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

Issue 2805023002: Add read support of RtpStreamId/RepairedRtpStreamId header extensions. (Closed)

Created:
3 years, 8 months ago by danilchap
Modified:
3 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, yujie_mao (webrtc), zhuangzesen_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman, pthatcher1, erikvarga, perkj_webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add read support of RtpStreamId/RepairedRtpStreamId header extensions. BUG=webrtc:7433 Review-Url: https://codereview.webrtc.org/2805023002 Cr-Commit-Position: refs/heads/master@{#17759} Committed: https://chromium.googlesource.com/external/webrtc/+/ef8d773d26bc4e9c39b78cd86318b2c9c07dc939

Patch Set 1 : . #

Total comments: 9

Patch Set 2 : repair -> repaired and other renamings #

Patch Set 3 : +fuzzer #

Patch Set 4 : fix msan warning #

Patch Set 5 : +rtp_header_fuzzer #

Total comments: 6

Patch Set 6 : Use dedicated class for StreamId #

Patch Set 7 : Rebase #

Total comments: 13

Patch Set 8 : More feedback #

Patch Set 9 : Restore RtpStreamId::Parse function with std::string as an output parameter #

Patch Set 10 : restore std::string in the fuzzer #

Patch Set 11 : RtpStreamId::Parse return false on empty rsid #

Total comments: 6

Patch Set 12 : Added ParseMalformedRsid test #

Patch Set 13 : Add data accessors and operator!= to StreamId #

Patch Set 14 : Rebase #

Total comments: 4

Patch Set 15 : +Comments #

Total comments: 5

Patch Set 16 : +one more comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -22 lines) Patch
M webrtc/common_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +43 lines, -0 lines 0 comments Download
M webrtc/common_types.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +16 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_header_extension.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +27 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +40 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +39 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_utility.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +9 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_utility_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +34 lines, -3 lines 0 comments Download
M webrtc/test/fuzzers/rtp_header_fuzzer.cc View 1 2 3 4 1 chunk +9 lines, -8 lines 0 comments Download
M webrtc/test/fuzzers/rtp_packet_fuzzer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +21 lines, -10 lines 0 comments Download

Messages

Total messages: 55 (28 generated)
danilchap
3 years, 8 months ago (2017-04-06 15:19:55 UTC) #3
pthatcher1
https://codereview.webrtc.org/2805023002/diff/20001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2805023002/diff/20001/webrtc/common_types.h#newcode725 webrtc/common_types.h:725: char rid[16]; The SDP level uses "rid=", but the ...
3 years, 8 months ago (2017-04-06 21:17:35 UTC) #5
danilchap
https://codereview.webrtc.org/2805023002/diff/20001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2805023002/diff/20001/webrtc/common_types.h#newcode725 webrtc/common_types.h:725: char rid[16]; On 2017/04/06 21:17:34, pthatcher1 wrote: > The ...
3 years, 8 months ago (2017-04-07 07:07:49 UTC) #9
nisse-webrtc
https://codereview.webrtc.org/2805023002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h (right): https://codereview.webrtc.org/2805023002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h#newcode80 webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h:80: kRtpExtensionRepairRtpStreamId, On 2017/04/07 07:07:49, danilchap wrote: > On 2017/04/06 ...
3 years, 8 months ago (2017-04-07 08:41:23 UTC) #14
danilchap
On 2017/04/07 08:41:23, nisse-webrtc wrote: > https://codereview.webrtc.org/2805023002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h > File webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h (right): > > https://codereview.webrtc.org/2805023002/diff/20001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h#newcode80 > ...
3 years, 8 months ago (2017-04-07 08:53:44 UTC) #16
pthatcher1
lgtm
3 years, 8 months ago (2017-04-07 22:24:01 UTC) #17
nisse-webrtc
https://codereview.webrtc.org/2805023002/diff/160001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2805023002/diff/160001/webrtc/common_types.h#newcode727 webrtc/common_types.h:727: char stream_id[16]; This is intended as an arbitrary octet ...
3 years, 8 months ago (2017-04-10 07:15:27 UTC) #18
danilchap
https://codereview.webrtc.org/2805023002/diff/160001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2805023002/diff/160001/webrtc/common_types.h#newcode727 webrtc/common_types.h:727: char stream_id[16]; On 2017/04/10 07:15:27, nisse-webrtc wrote: > This ...
3 years, 8 months ago (2017-04-10 08:39:41 UTC) #19
nisse-webrtc
https://codereview.webrtc.org/2805023002/diff/160001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2805023002/diff/160001/webrtc/common_types.h#newcode727 webrtc/common_types.h:727: char stream_id[16]; On 2017/04/10 08:39:41, danilchap wrote: > On ...
3 years, 8 months ago (2017-04-10 09:18:33 UTC) #20
danilchap
https://codereview.webrtc.org/2805023002/diff/160001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2805023002/diff/160001/webrtc/common_types.h#newcode727 webrtc/common_types.h:727: char stream_id[16]; On 2017/04/10 09:18:33, nisse-webrtc wrote: > On ...
3 years, 8 months ago (2017-04-10 11:44:16 UTC) #27
nisse-webrtc
Looks pretty good. I have a few comments, sorry for being picky. https://codereview.webrtc.org/2805023002/diff/200001/webrtc/common_types.cc File webrtc/common_types.cc ...
3 years, 8 months ago (2017-04-10 12:25:00 UTC) #28
danilchap
Don't be sorry for pointing out unclear bits, your comments make code more readable. https://codereview.webrtc.org/2805023002/diff/200001/webrtc/common_types.cc ...
3 years, 8 months ago (2017-04-10 13:27:05 UTC) #29
nisse-webrtc
https://codereview.webrtc.org/2805023002/diff/200001/webrtc/common_types.cc File webrtc/common_types.cc (right): https://codereview.webrtc.org/2805023002/diff/200001/webrtc/common_types.cc#newcode27 webrtc/common_types.cc:27: RTC_DCHECK_LE(size, kMaxSize); On 2017/04/10 13:27:05, danilchap wrote: > On ...
3 years, 8 months ago (2017-04-11 07:59:25 UTC) #31
danilchap
https://codereview.webrtc.org/2805023002/diff/200001/webrtc/common_types.cc File webrtc/common_types.cc (right): https://codereview.webrtc.org/2805023002/diff/200001/webrtc/common_types.cc#newcode27 webrtc/common_types.cc:27: RTC_DCHECK_LE(size, kMaxSize); On 2017/04/11 07:59:24, nisse-webrtc wrote: > On ...
3 years, 8 months ago (2017-04-11 10:05:26 UTC) #32
nisse-webrtc
https://codereview.webrtc.org/2805023002/diff/200001/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc File webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc (right): https://codereview.webrtc.org/2805023002/diff/200001/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc#newcode224 webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc:224: if (data.empty()) On 2017/04/11 10:05:26, danilchap wrote: > Good ...
3 years, 8 months ago (2017-04-11 10:42:54 UTC) #33
danilchap
https://codereview.webrtc.org/2805023002/diff/300001/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc File webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc (right): https://codereview.webrtc.org/2805023002/diff/300001/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc#newcode231 webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc:231: bool RtpStreamId::Parse(rtc::ArrayView<const uint8_t> data, std::string* rsid) { On 2017/04/11 ...
3 years, 8 months ago (2017-04-11 12:51:27 UTC) #34
nisse-webrtc
lgtm! https://codereview.webrtc.org/2805023002/diff/300001/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc File webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc (right): https://codereview.webrtc.org/2805023002/diff/300001/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc#newcode231 webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc:231: bool RtpStreamId::Parse(rtc::ArrayView<const uint8_t> data, std::string* rsid) { On ...
3 years, 8 months ago (2017-04-11 13:34:50 UTC) #35
danilchap
Stefan, ptal, specially at the changes to /common_types.h
3 years, 8 months ago (2017-04-18 15:14:42 UTC) #36
stefan-webrtc
lgtm % nits https://codereview.webrtc.org/2805023002/diff/360001/webrtc/common_types.cc File webrtc/common_types.cc (right): https://codereview.webrtc.org/2805023002/diff/360001/webrtc/common_types.cc#newcode34 webrtc/common_types.cc:34: static_assert(std::is_trivially_destructible<StreamId>::value, ""); Maybe add a message ...
3 years, 8 months ago (2017-04-19 06:46:16 UTC) #37
danilchap
https://codereview.webrtc.org/2805023002/diff/360001/webrtc/common_types.cc File webrtc/common_types.cc (right): https://codereview.webrtc.org/2805023002/diff/360001/webrtc/common_types.cc#newcode34 webrtc/common_types.cc:34: static_assert(std::is_trivially_destructible<StreamId>::value, ""); On 2017/04/19 06:46:16, stefan-webrtc_OOO_Apr_18 wrote: > Maybe ...
3 years, 8 months ago (2017-04-19 08:16:55 UTC) #40
nisse-webrtc
https://codereview.webrtc.org/2805023002/diff/380001/webrtc/common_types.cc File webrtc/common_types.cc (right): https://codereview.webrtc.org/2805023002/diff/380001/webrtc/common_types.cc#newcode35 webrtc/common_types.cc:35: // and thus asume trivial destructibility. Spelling of "assume". ...
3 years, 8 months ago (2017-04-19 08:30:08 UTC) #41
danilchap
https://codereview.webrtc.org/2805023002/diff/380001/webrtc/common_types.cc File webrtc/common_types.cc (right): https://codereview.webrtc.org/2805023002/diff/380001/webrtc/common_types.cc#newcode35 webrtc/common_types.cc:35: // and thus asume trivial destructibility. On 2017/04/19 08:30:08, ...
3 years, 8 months ago (2017-04-19 08:45:22 UTC) #44
nisse-webrtc
https://codereview.webrtc.org/2805023002/diff/380001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2805023002/diff/380001/webrtc/common_types.h#newcode700 webrtc/common_types.h:700: // Unlike std::string, it can be copied with memcpy ...
3 years, 8 months ago (2017-04-19 08:49:01 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2805023002/400001
3 years, 8 months ago (2017-04-19 08:50:55 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/23431)
3 years, 8 months ago (2017-04-19 09:32:14 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2805023002/400001
3 years, 8 months ago (2017-04-19 09:34:55 UTC) #52
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 09:59:54 UTC) #55
Message was sent while issue was closed.
Committed patchset #16 (id:400001) as
https://chromium.googlesource.com/external/webrtc/+/ef8d773d26bc4e9c39b78cd86...

Powered by Google App Engine
This is Rietveld 408576698