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

Issue 2794243002: Making FakeNetworkPipe demux audio and video packets. (Closed)

Created:
3 years, 8 months ago by minyue-webrtc
Modified:
3 years, 8 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

Making FakeNetworkPipe demux audio and video packets. BUG=None Review-Url: https://codereview.webrtc.org/2794243002 Cr-Commit-Position: refs/heads/master@{#17629} Committed: https://chromium.googlesource.com/external/webrtc/+/20c84ccd483df1e73a51f9852a9e25949f2a71cd

Patch Set 1 #

Total comments: 3

Patch Set 2 : further fixing #

Total comments: 3

Patch Set 3 : new solution #

Total comments: 20

Patch Set 4 : separate demux from pipe #

Patch Set 5 : backward compatibility #

Patch Set 6 : on other comments #

Total comments: 12

Patch Set 7 : remaining comments addressed #

Total comments: 1

Patch Set 8 : missing stuff #

Patch Set 9 : rebasing #

Patch Set 10 : fixing android #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -303 lines) Patch
M webrtc/audio/test/low_bandwidth_audio_test.cc View 1 2 3 chunks +13 lines, -16 lines 0 comments Download
M webrtc/call/bitrate_estimator_tests.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/call/call_perf_tests.cc View 1 2 3 4 5 6 7 8 4 chunks +27 lines, -16 lines 0 comments Download
M webrtc/call/rampup_tests.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M webrtc/test/call_test.h View 1 2 3 4 5 6 7 8 3 chunks +1 line, -24 lines 0 comments Download
M webrtc/test/call_test.cc View 1 2 3 4 5 6 7 8 5 chunks +15 lines, -53 lines 0 comments Download
M webrtc/test/direct_transport.h View 1 2 3 4 5 6 7 8 9 2 chunks +46 lines, -5 lines 1 comment Download
M webrtc/test/direct_transport.cc View 1 2 3 4 2 chunks +32 lines, -4 lines 0 comments Download
M webrtc/test/fake_network_pipe.h View 1 2 3 4 5 6 7 5 chunks +35 lines, -9 lines 0 comments Download
M webrtc/test/fake_network_pipe.cc View 1 2 3 4 5 6 7 5 chunks +38 lines, -12 lines 0 comments Download
M webrtc/test/fake_network_pipe_unittest.cc View 1 2 3 19 chunks +112 lines, -89 lines 0 comments Download
M webrtc/test/layer_filtering_transport.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/test/layer_filtering_transport.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/test/rtp_rtcp_observer.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 7 8 19 chunks +57 lines, -50 lines 0 comments Download
M webrtc/video/video_quality_test.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/video/video_quality_test.cc View 1 2 3 4 5 6 7 8 6 chunks +21 lines, -6 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 62 (27 generated)
minyue-webrtc
Karl, Would you take a look at this? Please also my question inline. https://codereview.webrtc.org/2794243002/diff/1/webrtc/video/video_quality_test.cc File ...
3 years, 8 months ago (2017-04-04 06:47:59 UTC) #3
minyue-webrtc
On 2017/04/04 06:47:59, minyue-webrtc wrote: > Karl, > > Would you take a look at ...
3 years, 8 months ago (2017-04-04 06:57:45 UTC) #4
minyue-webrtc
I found another cause of failure. Now this should be fixed totally. PTAL. https://codereview.webrtc.org/2794243002/diff/1/webrtc/video/video_quality_test.cc File ...
3 years, 8 months ago (2017-04-04 09:35:44 UTC) #7
minyue-webrtc
https://codereview.webrtc.org/2794243002/diff/1/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/2794243002/diff/1/webrtc/video/video_quality_test.cc#newcode1715 webrtc/video/video_quality_test.cc:1715: CodecInst{103, "OPUS", 48000, 960, 2, 64000}; On 2017/04/04 09:35:44, ...
3 years, 8 months ago (2017-04-04 09:38:42 UTC) #8
nisse-webrtc
https://codereview.webrtc.org/2794243002/diff/20001/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/2794243002/diff/20001/webrtc/video/video_quality_test.cc#newcode1767 webrtc/video/video_quality_test.cc:1767: MediaTypePacketReceiver audio_receiver(call->Receiver(), MediaType::AUDIO); If it's ok to use two ...
3 years, 8 months ago (2017-04-04 09:57:28 UTC) #9
stefan-webrtc
https://codereview.webrtc.org/2794243002/diff/20001/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/2794243002/diff/20001/webrtc/video/video_quality_test.cc#newcode1767 webrtc/video/video_quality_test.cc:1767: MediaTypePacketReceiver audio_receiver(call->Receiver(), MediaType::AUDIO); On 2017/04/04 09:57:27, nisse-webrtc wrote: > ...
3 years, 8 months ago (2017-04-05 08:52:17 UTC) #11
minyue-webrtc
On 2017/04/05 08:52:17, stefan-webrtc wrote: > https://codereview.webrtc.org/2794243002/diff/20001/webrtc/video/video_quality_test.cc > File webrtc/video/video_quality_test.cc (right): > > https://codereview.webrtc.org/2794243002/diff/20001/webrtc/video/video_quality_test.cc#newcode1767 > ...
3 years, 8 months ago (2017-04-05 08:55:10 UTC) #12
minyue-webrtc
I solved the problem from a lower level. Basically, per nisse@'s suggestion, I moved the ...
3 years, 8 months ago (2017-04-06 11:33:38 UTC) #21
minyue-webrtc
+oleh for the change in low bit rate audio test.
3 years, 8 months ago (2017-04-06 11:35:01 UTC) #23
oprypin_webrtc
low_bandwidth_audio_test works fine after the change, just one question^ https://codereview.webrtc.org/2794243002/diff/180001/webrtc/audio/test/low_bandwidth_audio_test.cc File webrtc/audio/test/low_bandwidth_audio_test.cc (left): https://codereview.webrtc.org/2794243002/diff/180001/webrtc/audio/test/low_bandwidth_audio_test.cc#oldcode25 webrtc/audio/test/low_bandwidth_audio_test.cc:25: ...
3 years, 8 months ago (2017-04-06 11:45:32 UTC) #24
stefan-webrtc
Looks like a nice solution. I wonder if it would be good to isolate demuxing ...
3 years, 8 months ago (2017-04-06 11:54:51 UTC) #25
minyue-webrtc
https://codereview.webrtc.org/2794243002/diff/180001/webrtc/audio/test/low_bandwidth_audio_test.cc File webrtc/audio/test/low_bandwidth_audio_test.cc (left): https://codereview.webrtc.org/2794243002/diff/180001/webrtc/audio/test/low_bandwidth_audio_test.cc#oldcode25 webrtc/audio/test/low_bandwidth_audio_test.cc:25: On 2017/04/06 11:45:32, oprypin_webrtc wrote: > Why does the ...
3 years, 8 months ago (2017-04-06 11:56:33 UTC) #26
nisse-webrtc
Thanks for doing this! Adding perkj@, who implemented a related workaround in an internal application. ...
3 years, 8 months ago (2017-04-06 12:23:56 UTC) #28
perkj_webrtc
I like the approach with a map at creation time. It will work for our ...
3 years, 8 months ago (2017-04-06 13:49:54 UTC) #29
minyue-webrtc
Per stefan's suggestion, I separated demuxer out of FakeNetworkPipe. To avoid extensive changes, FakeNetworkPipe creates ...
3 years, 8 months ago (2017-04-06 18:45:10 UTC) #30
perkj_webrtc
https://codereview.webrtc.org/2794243002/diff/180001/webrtc/test/fake_network_pipe.cc File webrtc/test/fake_network_pipe.cc (right): https://codereview.webrtc.org/2794243002/diff/180001/webrtc/test/fake_network_pipe.cc#newcode217 webrtc/test/fake_network_pipe.cc:217: RTC_CHECK(it != payload_type_map_.end()) On 2017/04/06 18:45:10, minyue-webrtc wrote: > ...
3 years, 8 months ago (2017-04-06 19:13:15 UTC) #31
minyue-webrtc
Hej Per, PS5 handles backward compatibility. PTAL.
3 years, 8 months ago (2017-04-07 08:30:04 UTC) #34
minyue-webrtc
Hi all, PS6 addresses other (small) comments. PTAL. https://codereview.webrtc.org/2794243002/diff/180001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2794243002/diff/180001/webrtc/test/call_test.cc#newcode433 webrtc/test/call_test.cc:433: {CallTest::kRedPayloadType, ...
3 years, 8 months ago (2017-04-07 09:16:28 UTC) #35
nisse-webrtc
On 2017/04/07 09:16:28, minyue-webrtc wrote: > > On 2017/04/06 12:23:56, nisse-webrtc wrote: > > > ...
3 years, 8 months ago (2017-04-07 10:04:26 UTC) #36
minyue-webrtc
On 2017/04/07 10:04:26, nisse-webrtc wrote: > On 2017/04/07 09:16:28, minyue-webrtc wrote: > > > On ...
3 years, 8 months ago (2017-04-07 13:17:31 UTC) #37
perkj_webrtc
lgtm % https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/fake_network_pipe.cc File webrtc/test/fake_network_pipe.cc (right): https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/fake_network_pipe.cc#newcode92 webrtc/test/fake_network_pipe.cc:92: if (!demuxer_) demuxer always exists right? It ...
3 years, 8 months ago (2017-04-07 14:24:15 UTC) #38
stefan-webrtc
https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/call_test.cc#newcode472 webrtc/test/call_test.cc:472: CallTest::payload_type_map_, Wouldn't it be cleaner to pass the payload_type_map ...
3 years, 8 months ago (2017-04-10 07:45:26 UTC) #39
minyue-webrtc
https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/call_test.cc#newcode472 webrtc/test/call_test.cc:472: CallTest::payload_type_map_, On 2017/04/10 07:45:26, stefan-webrtc wrote: > Wouldn't it ...
3 years, 8 months ago (2017-04-10 07:58:46 UTC) #40
nisse-webrtc
On 2017/04/07 14:24:15, perkj_webrtc wrote: > lgtm % > > https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/fake_network_pipe.cc > File webrtc/test/fake_network_pipe.cc (right): ...
3 years, 8 months ago (2017-04-10 09:33:57 UTC) #41
minyue-webrtc
Hi, comments are all addressed except for the kCamelCase on the none-POD const. Stefan, do ...
3 years, 8 months ago (2017-04-10 09:56:10 UTC) #42
minyue-webrtc
https://codereview.webrtc.org/2794243002/diff/300001/webrtc/test/fake_network_pipe.cc File webrtc/test/fake_network_pipe.cc (right): https://codereview.webrtc.org/2794243002/diff/300001/webrtc/test/fake_network_pipe.cc#newcode122 webrtc/test/fake_network_pipe.cc:122: // No demuxer means that this pipe will terminate ...
3 years, 8 months ago (2017-04-10 09:57:26 UTC) #43
stefan-webrtc
lgtm https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/call_test.cc#newcode472 webrtc/test/call_test.cc:472: CallTest::payload_type_map_, On 2017/04/10 07:58:46, minyue-webrtc wrote: > On ...
3 years, 8 months ago (2017-04-10 12:04:15 UTC) #44
minyue-webrtc
On 2017/04/10 12:04:15, stefan-webrtc wrote: > lgtm > > https://codereview.webrtc.org/2794243002/diff/280001/webrtc/test/call_test.cc > File webrtc/test/call_test.cc (right): > ...
3 years, 8 months ago (2017-04-10 12:18:52 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/2794243002/320001
3 years, 8 months ago (2017-04-10 13:56:20 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/3412) ios64_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 8 months ago (2017-04-10 13:57:52 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/2794243002/340001
3 years, 8 months ago (2017-04-10 18:19:40 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/17430) android_compile_x64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 8 months ago (2017-04-10 18:28:11 UTC) #55
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/2794243002/360001
3 years, 8 months ago (2017-04-10 20:52:43 UTC) #58
minyue-webrtc
https://codereview.webrtc.org/2794243002/diff/360001/webrtc/test/direct_transport.h File webrtc/test/direct_transport.h (right): https://codereview.webrtc.org/2794243002/diff/360001/webrtc/test/direct_transport.h#newcode44 webrtc/test/direct_transport.h:44: : DirectTransport( android bots do not allow a deprecated ...
3 years, 8 months ago (2017-04-10 21:36:37 UTC) #59
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 23:58:04 UTC) #62
Message was sent while issue was closed.
Committed patchset #10 (id:360001) as
https://chromium.googlesource.com/external/webrtc/+/20c84ccd483df1e73a51f9852...

Powered by Google App Engine
This is Rietveld 408576698