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

Issue 2241193002: StartTimestamp generated randomly in RtpSender constructor (Closed)

Created:
4 years, 4 months ago by danilchap
Modified:
4 years, 4 months ago
Reviewers:
terelius, åsapersson
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, mflodman, philipel
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

StartTimestamp generated randomly in RtpSender constructor instead of not-randomly at SetSendingState(true) Renamed to timestamp_offset_ to better match meaning of the variable. R=asapersson@webrtc.org, terelius@webrtc.org Committed: https://crrev.com/4466782ae43e1b1125a55ee7e18abd10dd37cede Cr-Commit-Position: refs/heads/master@{#13796}

Patch Set 1 #

Patch Set 2 : Fix RtpSender tests #

Patch Set 3 : copy default random timestamp_offset to rtcp #

Total comments: 6

Patch Set 4 : Renames start_timestamp->timestamp_offset in RtcpSender #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -44 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtcp_sender.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 1 2 3 4 chunks +9 lines, -9 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.h View 2 chunks +3 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 8 chunks +11 lines, -23 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
danilchap
Åsa, do you know any use case where start timestamp need to be (re)generated when ...
4 years, 4 months ago (2016-08-15 11:14:48 UTC) #4
terelius
Looks good. Some comments below. https://codereview.webrtc.org/2241193002/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/2241193002/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode110 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:110: rtcp_sender_.SetStartTimestamp(rtp_sender_.TimestampOffset()); Could we rename ...
4 years, 4 months ago (2016-08-15 14:56:03 UTC) #5
danilchap
https://codereview.webrtc.org/2241193002/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/2241193002/diff/40001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode110 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:110: rtcp_sender_.SetStartTimestamp(rtp_sender_.TimestampOffset()); On 2016/08/15 14:56:03, terelius wrote: > Could we ...
4 years, 4 months ago (2016-08-15 15:23:17 UTC) #6
terelius
lgtm
4 years, 4 months ago (2016-08-16 09:09:37 UTC) #7
terelius
Stefan suggested creating a unit test to verify that the offset doesn't change when pausing ...
4 years, 4 months ago (2016-08-16 10:49:24 UTC) #8
stefan-webrtc
On 2016/08/16 10:49:24, terelius wrote: > Stefan suggested creating a unit test to verify that ...
4 years, 4 months ago (2016-08-16 10:52:36 UTC) #9
danilchap
On 2016/08/16 10:52:36, stefan-webrtc (holmer) wrote: > On 2016/08/16 10:49:24, terelius wrote: > > Stefan ...
4 years, 4 months ago (2016-08-16 13:47:27 UTC) #10
åsapersson
lgtm
4 years, 4 months ago (2016-08-17 10:53:24 UTC) #11
danilchap
Committed patchset #4 (id:60001) manually as 4466782ae43e1b1125a55ee7e18abd10dd37cede (presubmit successful).
4 years, 4 months ago (2016-08-17 13:07:56 UTC) #13
danilchap
4 years, 4 months ago (2016-08-17 15:12:09 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.webrtc.org/2248413002/ by danilchap@webrtc.org.

The reason for reverting is: Breaks downstream code..

Powered by Google App Engine
This is Rietveld 408576698