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

Issue 2972423002: Fix video_replay tool to respect RTX stream and fix default parameters. (Closed)

Created:
3 years, 5 months ago by ilnik
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix video_replay tool to respect RTX stream and fix default parameters. Defaults are consistent with these used in CallTest. BUG=none Review-Url: https://codereview.webrtc.org/2972423002 Cr-Commit-Position: refs/heads/master@{#18961} Committed: https://chromium.googlesource.com/external/webrtc/+/863f03ba38f397c078931d2bd27d40a4d60efc02

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use call test constants as defaults values #

Total comments: 9

Patch Set 3 : Fix types of moved constants #

Patch Set 4 : Fix format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -8 lines) Patch
M webrtc/test/call_test.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/test/call_test.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/video/replay.cc View 1 3 chunks +23 lines, -2 lines 0 comments Download
M webrtc/video/video_quality_test.cc View 1 2 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 33 (13 generated)
ilnik
3 years, 5 months ago (2017-07-10 15:38:03 UTC) #2
sprang_webrtc
nice! one comment though https://codereview.webrtc.org/2972423002/diff/1/webrtc/video/replay.cc File webrtc/video/replay.cc (right): https://codereview.webrtc.org/2972423002/diff/1/webrtc/video/replay.cc#newcode46 webrtc/video/replay.cc:46: DEFINE_int32(payload_type, 123, "Payload type"); The ...
3 years, 5 months ago (2017-07-10 16:00:48 UTC) #3
ilnik
https://codereview.webrtc.org/2972423002/diff/1/webrtc/video/replay.cc File webrtc/video/replay.cc (right): https://codereview.webrtc.org/2972423002/diff/1/webrtc/video/replay.cc#newcode46 webrtc/video/replay.cc:46: DEFINE_int32(payload_type, 123, "Payload type"); On 2017/07/10 16:00:48, sprang_webrtc wrote: ...
3 years, 5 months ago (2017-07-10 16:17:49 UTC) #4
sprang_webrtc
lgtm
3 years, 5 months ago (2017-07-10 16:40:35 UTC) #5
philipel
https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#newcode450 webrtc/test/call_test.cc:450: const int CallTest::kPayloadTypeH264 = 122; Codec payload types are ...
3 years, 5 months ago (2017-07-10 17:00:50 UTC) #6
ilnik
https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#newcode450 webrtc/test/call_test.cc:450: const int CallTest::kPayloadTypeH264 = 122; On 2017/07/10 17:00:50, philipel ...
3 years, 5 months ago (2017-07-10 17:06:19 UTC) #7
sprang_webrtc
https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#newcode450 webrtc/test/call_test.cc:450: const int CallTest::kPayloadTypeH264 = 122; On 2017/07/10 17:06:19, ilnik ...
3 years, 5 months ago (2017-07-10 17:29:39 UTC) #8
philipel
lgtm
3 years, 5 months ago (2017-07-10 17:36:06 UTC) #9
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/2972423002/20001
3 years, 5 months ago (2017-07-11 07:55:14 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/19104)
3 years, 5 months ago (2017-07-11 08:01:54 UTC) #17
ilnik
On 2017/07/11 08:01:54, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 5 months ago (2017-07-11 08:28:49 UTC) #20
tommi
rs lgtm https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#newcode452 webrtc/test/call_test.cc:452: const int CallTest::kPayloadTypeVP9 = 124; out of ...
3 years, 5 months ago (2017-07-11 08:34:48 UTC) #21
ilnik
https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#newcode452 webrtc/test/call_test.cc:452: const int CallTest::kPayloadTypeVP9 = 124; On 2017/07/11 08:34:47, tommi ...
3 years, 5 months ago (2017-07-11 08:43:43 UTC) #22
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/2972423002/60001
3 years, 5 months ago (2017-07-11 08:45:04 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/external/webrtc/+/863f03ba38f397c078931d2bd27d40a4d60efc02
3 years, 5 months ago (2017-07-11 09:38:48 UTC) #28
tommi
https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#newcode452 webrtc/test/call_test.cc:452: const int CallTest::kPayloadTypeVP9 = 124; On 2017/07/11 08:43:43, ilnik ...
3 years, 5 months ago (2017-07-11 10:14:45 UTC) #29
ilnik
https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#newcode452 webrtc/test/call_test.cc:452: const int CallTest::kPayloadTypeVP9 = 124; On 2017/07/11 10:14:45, tommi ...
3 years, 5 months ago (2017-07-11 10:20:59 UTC) #30
tommi
https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#newcode452 webrtc/test/call_test.cc:452: const int CallTest::kPayloadTypeVP9 = 124; On 2017/07/11 10:20:59, ilnik ...
3 years, 5 months ago (2017-07-11 11:41:36 UTC) #31
ilnik
https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#newcode452 webrtc/test/call_test.cc:452: const int CallTest::kPayloadTypeVP9 = 124; On 2017/07/11 11:41:36, tommi ...
3 years, 5 months ago (2017-07-11 12:20:30 UTC) #32
tommi
3 years, 5 months ago (2017-07-11 12:33:19 UTC) #33
Message was sent while issue was closed.
On 2017/07/11 12:20:30, ilnik wrote:
> https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc
> File webrtc/test/call_test.cc (right):
> 
>
https://codereview.webrtc.org/2972423002/diff/20001/webrtc/test/call_test.cc#...
> webrtc/test/call_test.cc:452: const int CallTest::kPayloadTypeVP9 = 124;
> On 2017/07/11 11:41:36, tommi (wëbrtc) wrote:
> > On 2017/07/11 10:20:59, ilnik wrote:
> > > On 2017/07/11 10:14:45, tommi (wëbrtc) wrote:
> > > > On 2017/07/11 08:43:43, ilnik wrote:
> > > > > On 2017/07/11 08:34:47, tommi (wëbrtc) wrote:
> > > > > > out of curiosity - should these be enum values? alternatively,
should
> > they
> > > > be
> > > > > > int32 if a particular size is needed?
> > > > > Actually, type really should be uint8_t. As for enum, I feel it's
better
> > > like
> > > > > that, similarly to all the constants at lines 422-429.
> > > > 
> > > > Assuming they're all mutually exclusive, it would make sense to me to
> group
> > > them
> > > > all together in a single enum like so:
> > > > 
> > > > enum class PayloadType : uint8_t {
> > > >   ...
> > > >   H264 = 122,
> > > >   VP8 = 123,
> > > >   VP9 = 124,
> > > >   ...
> > > > };
> > > 
> > > In fact, most of them are not mutually exclusive: E.g.
kFlexfecPayloadType,
> > > kSendRtxPayloadType and kVideoSendPayloadType may be used in the same send
> > > config at the same time. These 3 moved are exclusive, but it will look
worse
> > if
> > > half of these constants would be in enums, and half would be plain
> constants.
> > 
> > Oh I was thinking mutually exclusive values. Not usage. Seems to me that
> > grouping payload types into an enum would be a good thing. Also making sure
> > their value is limited to the underlying primitive type (8 bits instead of
32
> or
> > 64), would be good.
> 
> Makes sense. I am making a tracking bug for that refactoring. Will do it when
I
> have time.

thanks, there's no rush :)

Powered by Google App Engine
This is Rietveld 408576698