|
|
Created:
4 years ago by michaelt Modified:
3 years, 11 months ago CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, Andrew MacDonald, henrika_webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc Target Ref:
refs/heads/master Project:
webrtc Visibility:
Public. |
DescriptionPass event log to ANA.
BUG=webrtc:6845
Review-Url: https://codereview.webrtc.org/2553413002
Cr-Commit-Position: refs/heads/master@{#16052}
Committed: https://chromium.googlesource.com/external/webrtc/+/bf279fc4b90d8c1c40570ddd361c69831107fbbf
Patch Set 1 : Pass event log to ANA #
Total comments: 2
Patch Set 2 : Respond to comments #Patch Set 3 : Fix unittest build #Patch Set 4 : Rebased #Messages
Total messages: 70 (44 generated)
The CQ bit was checked by michaelt@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_dbg/builds/20763)
Patchset #1 (id:1) has been deleted
The CQ bit was checked by michaelt@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/16900)
Patchset #1 (id:20001) has been deleted
The CQ bit was checked by michaelt@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
Description was changed from ========== Pass event log to ANA. BUG=webrtc:6845 ========== to ========== Pass event log to ANA. BUG=webrtc:6845 ==========
michaelt@webrtc.org changed reviewers: + minyue@webrtc.org, solenberg@webrtc.org
Hi, Here the first CL regarding logging the decisions of ANA.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2016/12/07 12:22:00, michaelt wrote: > Hi, > Here the first CL regarding logging the decisions of ANA. Good work. Would you upload the next CLs to show how this is going to work?
solenberg@webrtc.org changed reviewers: + ossu@webrtc.org
I think it would make the relationship between RtcEventLog/Channel/AudioEncoder simpler if the RtcEventLog* was handled to the encoder when it is created, instead of when ANA is enabled. ossu@, WDYT? Can you provide input on how to best propagate the RtcEventLog*, with the upcoming changes for injectable codecs in mind.
Passing the event_log to the AudioEncoder on construction would make the CL more complex. Since I would have to pass it first from channel to CodecManager then to RentACodec before i could pass it to the audio encoder. The pointer of the event log will be hold in the audio network adapter. And ANA is at the moment the only class which will use the event log in the AudioEncoder. So i see no pressing reason to pass the event log at the construction of the AudioEncoder.
The goal of the cl is to pass the eventlog to the audio network adapter, not to the AudioEncoder.
On 2017/01/12 10:11:51, the sun wrote: > I think it would make the relationship between RtcEventLog/Channel/AudioEncoder > simpler if the RtcEventLog* was handled to the encoder when it is created, > instead of when ANA is enabled. > > ossu@, WDYT? Can you provide input on how to best propagate the RtcEventLog*, > with the upcoming changes for injectable codecs in mind. At SomePointInTheFuture(tm), I believe we might want to bundle things like the RtcEventLog and the Clock and have them universally available to WebRTC components, i.e. by sending along some sort of context upon construction. Then the AudioEncoder instance would have these things available and could use them when setting up its audio network adaptor. For now, I think this is good enough. There's nothing in this change that goes against my injectable audio encoder work and I believe it will be easier to change how these things are passed after my changes. So for me, this can go ahead, and once encoder creation is changed we can revisit if necessary.
Oh, right, I'm a reviewer. LGTM. :)
On 2017/01/12 12:21:58, ossu wrote: > On 2017/01/12 10:11:51, the sun wrote: > > I think it would make the relationship between > RtcEventLog/Channel/AudioEncoder > > simpler if the RtcEventLog* was handled to the encoder when it is created, > > instead of when ANA is enabled. > > > > ossu@, WDYT? Can you provide input on how to best propagate the RtcEventLog*, > > with the upcoming changes for injectable codecs in mind. > > At SomePointInTheFuture(tm), I believe we might want to bundle things like the > RtcEventLog and the Clock and have them universally available to WebRTC > components, i.e. by sending along some sort of context upon construction. Then > the AudioEncoder instance would have these things available and could use them > when setting up its audio network adaptor. FYI: The Clock interface is being deprecated (is it even used here anymore?) so we won't be passing that around in a context. > For now, I think this is good enough. There's nothing in this change that goes > against my injectable audio encoder work and I believe it will be easier to > change how these things are passed after my changes. So for me, this can go > ahead, and once encoder creation is changed we can revisit if necessary. sgtm
lgtm % comment https://codereview.webrtc.org/2553413002/diff/40001/webrtc/modules/audio_codi... File webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.h (right): https://codereview.webrtc.org/2553413002/diff/40001/webrtc/modules/audio_codi... webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.h:32: RtcEventLog* event_log; Init to nullptr either here or in ctor init list.
https://codereview.webrtc.org/2553413002/diff/40001/webrtc/modules/audio_codi... File webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.h (right): https://codereview.webrtc.org/2553413002/diff/40001/webrtc/modules/audio_codi... webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.h:32: RtcEventLog* event_log; On 2017/01/12 13:15:36, the sun wrote: > Init to nullptr either here or in ctor init list. Done.
The CQ bit was checked by michaelt@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: 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/buil...)
The CQ bit was checked by michaelt@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by michaelt@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from solenberg@webrtc.org, ossu@webrtc.org Link to the patchset: https://codereview.webrtc.org/2553413002/#ps80001 (title: "Fix unittest build")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/12168)
The CQ bit was checked by michaelt@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/12170)
The CQ bit was checked by michaelt@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/12175)
The CQ bit was checked by michaelt@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/12177)
The CQ bit was checked by michaelt@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/12179)
The CQ bit was checked by minyue@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/12201)
The CQ bit was checked by minyue@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/12212)
The CQ bit was checked by michaelt@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from solenberg@webrtc.org, ossu@webrtc.org Link to the patchset: https://codereview.webrtc.org/2553413002/#ps100001 (title: "Rebased")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1484305124336840, "parent_rev": "bb341975fd60bb646068be65ec35363e12903737", "commit_rev": "bf279fc4b90d8c1c40570ddd361c69831107fbbf"}
Message was sent while issue was closed.
Description was changed from ========== Pass event log to ANA. BUG=webrtc:6845 ========== to ========== Pass event log to ANA. BUG=webrtc:6845 Review-Url: https://codereview.webrtc.org/2553413002 Cr-Commit-Position: refs/heads/master@{#16052} Committed: https://chromium.googlesource.com/external/webrtc/+/bf279fc4b90d8c1c40570ddd3... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as https://chromium.googlesource.com/external/webrtc/+/bf279fc4b90d8c1c40570ddd3... |