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

Issue 1374253002: Added functions on libjingle API to start and stop the recording of an RtcEventLog. (Closed)

Created:
5 years, 2 months ago by ivoc
Modified:
5 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added functions on libjingle API to start and stop the recording of an RtcEventLog. BUG=webrtc:4741 Committed: https://crrev.com/112a3d81db02d349af0ce6c0827da6d8fbc421a8 Cr-Commit-Position: refs/heads/master@{#10297}

Patch Set 1 : Initial incomplete version. #

Total comments: 1

Patch Set 2 : Added functions to start and stop logging. #

Total comments: 19

Patch Set 3 : Fixed log message and added brackets to if statement. #

Patch Set 4 : Rebase and added comment on PeerConnectionFactoryInterface #

Total comments: 7

Patch Set 5 : RtcEventLog takes ownership of the rtc::PlatformFile. #

Total comments: 16

Patch Set 6 : Addressed comments from the sun. #

Total comments: 7

Patch Set 7 : Addressed more comments from the sun. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -16 lines) Patch
M talk/app/webrtc/peerconnectionfactory.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M talk/app/webrtc/peerconnectionfactory.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M talk/app/webrtc/peerconnectionfactoryproxy.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M talk/app/webrtc/peerconnectioninterface.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M talk/media/base/fakemediaengine.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M talk/media/base/mediaengine.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.cc View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M talk/session/media/channelmanager.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M talk/session/media/channelmanager.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M webrtc/call/rtc_event_log.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/call/rtc_event_log.cc View 1 2 3 4 5 6 7 chunks +48 lines, -16 lines 0 comments Download

Messages

Total messages: 46 (14 generated)
ivoc
Hi guys, Please have a look at this small CL which adds two functions on ...
5 years, 2 months ago (2015-09-29 14:44:39 UTC) #4
the sun
https://codereview.webrtc.org/1374253002/diff/1/talk/media/webrtc/webrtcvoiceengine.h File talk/media/webrtc/webrtcvoiceengine.h (right): https://codereview.webrtc.org/1374253002/diff/1/talk/media/webrtc/webrtcvoiceengine.h#newcode112 talk/media/webrtc/webrtcvoiceengine.h:112: bool StartRtcEventLog(rtc::PlatformFile file); So, how do you intend to ...
5 years, 2 months ago (2015-09-29 15:03:08 UTC) #5
ivoc
On 2015/09/29 15:03:08, the sun wrote: > https://codereview.webrtc.org/1374253002/diff/1/talk/media/webrtc/webrtcvoiceengine.h > File talk/media/webrtc/webrtcvoiceengine.h (right): > > https://codereview.webrtc.org/1374253002/diff/1/talk/media/webrtc/webrtcvoiceengine.h#newcode112 ...
5 years, 2 months ago (2015-09-29 15:24:18 UTC) #6
ivoc
Hi guys, Please have another look at this CL to expose the starting/stopping of the ...
5 years, 2 months ago (2015-10-01 14:15:23 UTC) #14
terelius
Nice work! Some questions below: https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.cc File talk/app/webrtc/peerconnectionfactory.cc (right): https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.cc#newcode221 talk/app/webrtc/peerconnectionfactory.cc:221: RTC_DCHECK(signaling_thread_->IsCurrent()); Could someone explain ...
5 years, 2 months ago (2015-10-02 10:07:14 UTC) #15
Henrik Grunell WebRTC
I'm not an owner, and took a high level look. lgtm. https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.cc File talk/app/webrtc/peerconnectionfactory.cc (right): ...
5 years, 2 months ago (2015-10-02 10:23:43 UTC) #16
terelius
https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h File talk/app/webrtc/peerconnectionfactory.h (right): https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h#newcode82 talk/app/webrtc/peerconnectionfactory.h:82: bool StartRtcEventLog(rtc::PlatformFile file) override; On 2015/10/02 10:23:42, Henrik Grunell ...
5 years, 2 months ago (2015-10-02 12:16:26 UTC) #17
Henrik Grunell WebRTC
https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h File talk/app/webrtc/peerconnectionfactory.h (right): https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h#newcode82 talk/app/webrtc/peerconnectionfactory.h:82: bool StartRtcEventLog(rtc::PlatformFile file) override; On 2015/10/02 12:16:26, terelius wrote: ...
5 years, 2 months ago (2015-10-02 12:23:41 UTC) #18
terelius
https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h File talk/app/webrtc/peerconnectionfactory.h (right): https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h#newcode82 talk/app/webrtc/peerconnectionfactory.h:82: bool StartRtcEventLog(rtc::PlatformFile file) override; On 2015/10/02 12:23:40, Henrik Grunell ...
5 years, 2 months ago (2015-10-02 12:46:34 UTC) #19
ivoc
https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h File talk/app/webrtc/peerconnectionfactory.h (right): https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h#newcode83 talk/app/webrtc/peerconnectionfactory.h:83: void StopRtcEventLog() override; On 2015/10/02 10:07:14, terelius wrote: > ...
5 years, 2 months ago (2015-10-05 14:16:32 UTC) #20
pthatcher1
https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h File talk/app/webrtc/peerconnectionfactory.h (right): https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h#newcode83 talk/app/webrtc/peerconnectionfactory.h:83: void StopRtcEventLog() override; On 2015/10/05 14:16:32, ivoc wrote: > ...
5 years, 2 months ago (2015-10-06 20:49:09 UTC) #21
ivoc
https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h File talk/app/webrtc/peerconnectionfactory.h (right): https://codereview.webrtc.org/1374253002/diff/40001/talk/app/webrtc/peerconnectionfactory.h#newcode83 talk/app/webrtc/peerconnectionfactory.h:83: void StopRtcEventLog() override; On 2015/10/06 20:49:09, pthatcher1 wrote: > ...
5 years, 2 months ago (2015-10-07 14:27:27 UTC) #22
pthatcher1
https://codereview.webrtc.org/1374253002/diff/40001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/40001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1349 talk/media/webrtc/webrtcvoiceengine.cc:1349: LOG_RTCERR0(StartLogging); On 2015/10/07 14:27:27, ivoc wrote: > On 2015/10/06 ...
5 years, 2 months ago (2015-10-07 15:59:23 UTC) #23
ivoc
https://codereview.webrtc.org/1374253002/diff/40001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/40001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1349 talk/media/webrtc/webrtcvoiceengine.cc:1349: LOG_RTCERR0(StartLogging); On 2015/10/07 15:59:23, pthatcher1 wrote: > On 2015/10/07 ...
5 years, 2 months ago (2015-10-08 16:20:17 UTC) #24
pthatcher1
lgtm
5 years, 2 months ago (2015-10-08 17:19:00 UTC) #25
terelius
lgtm
5 years, 2 months ago (2015-10-13 08:02:20 UTC) #26
the sun
https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1284 talk/media/webrtc/webrtcvoiceengine.cc:1284: if (!rtc::ClosePlatformFile(file)) { This isn't completely clear to me. ...
5 years, 2 months ago (2015-10-13 11:00:40 UTC) #27
ivoc
https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1284 talk/media/webrtc/webrtcvoiceengine.cc:1284: if (!rtc::ClosePlatformFile(file)) { On 2015/10/13 11:00:40, the sun wrote: ...
5 years, 2 months ago (2015-10-13 13:50:51 UTC) #28
terelius
https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1284 talk/media/webrtc/webrtcvoiceengine.cc:1284: if (!rtc::ClosePlatformFile(file)) { On 2015/10/13 13:50:50, ivoc wrote: > ...
5 years, 2 months ago (2015-10-13 14:29:52 UTC) #29
the sun
https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1284 talk/media/webrtc/webrtcvoiceengine.cc:1284: if (!rtc::ClosePlatformFile(file)) { On 2015/10/13 13:50:50, ivoc wrote: > ...
5 years, 2 months ago (2015-10-13 14:29:54 UTC) #30
ivoc
https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/80001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1284 talk/media/webrtc/webrtcvoiceengine.cc:1284: if (!rtc::ClosePlatformFile(file)) { On 2015/10/13 14:29:54, the sun wrote: ...
5 years, 2 months ago (2015-10-13 14:55:06 UTC) #31
ivoc
I made the changes based on the review comments from solenberg@, now RtcEventLog takes ownership ...
5 years, 2 months ago (2015-10-14 09:07:13 UTC) #32
the sun
https://codereview.webrtc.org/1374253002/diff/100001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/100001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1283 talk/media/webrtc/webrtcvoiceengine.cc:1283: if (!rtc::ClosePlatformFile(file)) { RtcEventLogImpl::StartLogging() takes ownership of the platform ...
5 years, 2 months ago (2015-10-14 09:29:09 UTC) #33
ivoc
https://codereview.webrtc.org/1374253002/diff/100001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/100001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1283 talk/media/webrtc/webrtcvoiceengine.cc:1283: if (!rtc::ClosePlatformFile(file)) { On 2015/10/14 09:29:09, the sun wrote: ...
5 years, 2 months ago (2015-10-14 12:23:48 UTC) #34
the sun
https://codereview.webrtc.org/1374253002/diff/120001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/120001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1281 talk/media/webrtc/webrtcvoiceengine.cc:1281: if (!voe_wrapper_->codec()->GetEventLog()->StartLogging(file)) { I think you should just return ...
5 years, 2 months ago (2015-10-14 13:36:16 UTC) #35
ivoc
https://codereview.webrtc.org/1374253002/diff/120001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1374253002/diff/120001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1281 talk/media/webrtc/webrtcvoiceengine.cc:1281: if (!voe_wrapper_->codec()->GetEventLog()->StartLogging(file)) { On 2015/10/14 13:36:15, the sun wrote: ...
5 years, 2 months ago (2015-10-15 15:36:15 UTC) #36
the sun
lgtm https://codereview.webrtc.org/1374253002/diff/120001/webrtc/call/rtc_event_log.h File webrtc/call/rtc_event_log.h (right): https://codereview.webrtc.org/1374253002/diff/120001/webrtc/call/rtc_event_log.h#newcode48 webrtc/call/rtc_event_log.h:48: virtual bool StartLogging(rtc::PlatformFile& log_file) = 0; On 2015/10/15 ...
5 years, 2 months ago (2015-10-15 16:15:15 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1374253002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1374253002/140001
5 years, 2 months ago (2015-10-16 08:33:32 UTC) #39
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-16 09:19:56 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1374253002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1374253002/140001
5 years, 2 months ago (2015-10-16 09:21:03 UTC) #44
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 2 months ago (2015-10-16 09:22:22 UTC) #45
commit-bot: I haz the power
5 years, 2 months ago (2015-10-16 09:22:31 UTC) #46
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/112a3d81db02d349af0ce6c0827da6d8fbc421a8
Cr-Commit-Position: refs/heads/master@{#10297}

Powered by Google App Engine
This is Rietveld 408576698