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

Issue 15994021: Fix VideoScheduler to set client_sequence_number in video packets. (Closed)

Created:
7 years, 6 months ago by Sergey Ulanov
Modified:
7 years, 6 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Fix VideoScheduler to set client_sequence_number in video packets. Not setting client_sequence_number breaks latency calculation. Previously the scheduler was setting sequence_number filed instead. BUG=247863 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205089

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M remoting/host/video_scheduler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/video_scheduler.cc View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Sergey Ulanov
7 years, 6 months ago (2013-06-08 02:06:25 UTC) #1
Wez
lgtm We should follow-up with a CL to make the naming of the |sequence_number_| member ...
7 years, 6 months ago (2013-06-08 20:57:25 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/15994021/1
7 years, 6 months ago (2013-06-08 20:57:34 UTC) #3
Sergey Ulanov
On Sat, Jun 8, 2013 at 1:57 PM, <wez@chromium.org> wrote: > lgtm > > We ...
7 years, 6 months ago (2013-06-08 23:41:53 UTC) #4
commit-bot: I haz the power
Change committed as 205089
7 years, 6 months ago (2013-06-08 23:58:40 UTC) #5
Wez
7 years, 6 months ago (2013-06-09 05:42:49 UTC) #6
IIRC originally the client sequence number is not a timestamp, but the
sequence number of the most recent input event received before the current
capture was taken; if it's currently a timestamp then that's a client
implementation detail and not necessary something we should call out at the
protocol level.


On 8 June 2013 16:41, Sergey Ulanov <sergeyu@chromium.org> wrote:

>
> On Sat, Jun 8, 2013 at 1:57 PM, <wez@chromium.org> wrote:
>
>> lgtm
>>
>> We should follow-up with a CL to make the naming of the |sequence_number_|
>> member consistent with the proto |client_sequence_number| field, and
>> perhaps
>> re-name the proto's |sequence_number| to |packet_sequence_number| for
>> clarity.
>>
>
> I agree. client_sequence_number is not really a sequence number. It's just
> a timestamp of the last event received from the client, so it should be
> called something like last_event_timestamp. Also, I think sequence_number
> field in the VideoPacket protobuf isn't actually used, so we should
> deprecate it.
>
>
>
>>
>>
https://codereview.chromium.**org/15994021/<https://codereview.chromium.org/1...
>>
>
>

Powered by Google App Engine
This is Rietveld 408576698