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

Issue 877273002: Add media log messages to the main log (Closed)

Created:
5 years, 11 months ago by servolk
Modified:
5 years, 9 months ago
Reviewers:
lcwu1, wolenetz, gunsch
CC:
chromium-reviews, feature-media-reviews_chromium.org, DaleCurtis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add media log messages to the main log Currently media code uses a separate logging system (MediaLog) and some important messages are reported there, but are not reported in the main browser log. Currently media log messages can only be seen in the chrome://media-internals, but since they are very useful, we should add them to the main browser log as well. BUG=453180 Committed: https://crrev.com/cdeb28057cd67404de3383f70208b43763473c6a Cr-Commit-Position: refs/heads/master@{#322425}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Better logging #

Total comments: 3

Patch Set 3 : Report PIPELINE_ERROR to LOG(ERROR) + minor fixes #

Total comments: 8

Patch Set 4 : Use generic JSON serialization instead of handling each event type #

Total comments: 2

Patch Set 5 : Fixed a typo in comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M content/renderer/media/render_media_log.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M media/base/media_log.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/media_log.cc View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (6 generated)
servolk
Media_log messages are very useful, let's add them to the main browser log as well. ...
5 years, 11 months ago (2015-01-28 03:12:00 UTC) #2
servolk
On 2015/01/28 03:12:00, servolk wrote: > Media_log messages are very useful, let's add them to ...
5 years, 11 months ago (2015-01-28 03:19:48 UTC) #3
gunsch
Can you do the same for WebMediaPlayerAndroid? https://codereview.chromium.org/877273002/diff/1/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/877273002/diff/1/media/blink/webmediaplayer_impl.cc#newcode107 media/blink/webmediaplayer_impl.cc:107: DVLOG(1) << ...
5 years, 11 months ago (2015-01-28 03:30:35 UTC) #4
wolenetz
On 2015/01/28 03:12:00, servolk wrote: > Media_log messages are very useful, let's add them to ...
5 years, 10 months ago (2015-01-28 18:47:48 UTC) #5
DaleCurtis
I defer to Matt on this, but want to note that we've had performance problems ...
5 years, 10 months ago (2015-01-28 23:36:22 UTC) #6
servolk
On 2015/01/28 18:47:48, wolenetz wrote: > On 2015/01/28 03:12:00, servolk wrote: > > Media_log messages ...
5 years, 10 months ago (2015-01-29 00:43:54 UTC) #8
servolk
On 2015/01/28 23:36:22, DaleCurtis wrote: > I defer to Matt on this, but want to ...
5 years, 10 months ago (2015-01-29 00:47:30 UTC) #9
gunsch
On 2015/01/29 00:47:30, servolk wrote: > On 2015/01/28 23:36:22, DaleCurtis wrote: > > I defer ...
5 years, 10 months ago (2015-01-29 02:11:12 UTC) #11
servolk
On 2015/01/29 02:11:12, gunsch wrote: > On 2015/01/29 00:47:30, servolk wrote: > > On 2015/01/28 ...
5 years, 10 months ago (2015-01-29 02:18:27 UTC) #12
servolk
On 2015/01/29 02:18:27, servolk wrote: > On 2015/01/29 02:11:12, gunsch wrote: > > On 2015/01/29 ...
5 years, 10 months ago (2015-01-29 02:26:28 UTC) #13
servolk
On 2015/01/29 02:26:28, servolk wrote: > On 2015/01/29 02:18:27, servolk wrote: > > On 2015/01/29 ...
5 years, 10 months ago (2015-01-29 03:28:56 UTC) #14
DaleCurtis
http://crbug.com/352585 is the one I'm thinking of.
5 years, 10 months ago (2015-01-29 19:22:17 UTC) #16
servolk
On 2015/01/29 19:22:17, DaleCurtis wrote: > http://crbug.com/352585 is the one I'm thinking of. Ok, thanks, ...
5 years, 10 months ago (2015-01-29 19:51:59 UTC) #17
servolk
On 2015/01/29 19:51:59, servolk wrote: > On 2015/01/29 19:22:17, DaleCurtis wrote: > > http://crbug.com/352585 is ...
5 years, 10 months ago (2015-02-04 21:29:50 UTC) #18
wolenetz
https://codereview.chromium.org/877273002/diff/20001/content/renderer/media/render_media_log.cc File content/renderer/media/render_media_log.cc (right): https://codereview.chromium.org/877273002/diff/20001/content/renderer/media/render_media_log.cc#newcode43 content/renderer/media/render_media_log.cc:43: LOG(ERROR) << "MediaEvent: " I suspect you can get ...
5 years, 10 months ago (2015-02-04 22:04:19 UTC) #19
chromium-reviews
The serialized JSON looks like this (see also attached log file): [15279:15301:0204/162705:INFO:media_internals.cc(421)] MediaEvent JSON:media.onMediaEvent({"params":{"pipeline_state":"kCreated"},"player":0,"renderer":4,"ticksMillis":613355993.779,"type":"PIPELINE_STATE_CHANGED"}); [15279:15301:0204/162705:INFO:media_internals.cc(421)] ...
5 years, 10 months ago (2015-02-05 00:48:29 UTC) #20
chromium-reviews
Btw, quick note: there are both types of messages in the log file attached to ...
5 years, 10 months ago (2015-02-05 00:57:11 UTC) #21
servolk
On 2015/02/05 00:57:11, chromium-reviews wrote: > Btw, quick note: there are both types of messages ...
5 years, 10 months ago (2015-02-10 18:10:02 UTC) #22
wolenetz
Sorry about the review delay again. w.r.t. current patch set 3: https://codereview.chromium.org/877273002/diff/40001/content/renderer/media/render_media_log.cc File content/renderer/media/render_media_log.cc (right): ...
5 years, 10 months ago (2015-02-13 20:36:37 UTC) #23
servolk
On 2015/02/13 20:36:37, wolenetz_OoO_Feb_19 wrote: > Sorry about the review delay again. w.r.t. current patch ...
5 years, 10 months ago (2015-02-19 23:56:03 UTC) #24
wolenetz
On 2015/02/19 23:56:03, servolk wrote: > On 2015/02/13 20:36:37, wolenetz_OoO_Feb_19 wrote: > > Sorry about ...
5 years, 10 months ago (2015-02-24 19:15:32 UTC) #25
servolk
On 2015/02/24 19:15:32, wolenetz wrote: > On 2015/02/19 23:56:03, servolk wrote: > > On 2015/02/13 ...
5 years, 9 months ago (2015-03-26 00:03:59 UTC) #26
servolk
https://codereview.chromium.org/877273002/diff/40001/content/renderer/media/render_media_log.cc File content/renderer/media/render_media_log.cc (right): https://codereview.chromium.org/877273002/diff/40001/content/renderer/media/render_media_log.cc#newcode41 content/renderer/media/render_media_log.cc:41: LOG(ERROR) << media::MediaLog::MediaEventToLogString(*event.get()); On 2015/02/13 20:36:36, wolenetz wrote: > ...
5 years, 9 months ago (2015-03-26 00:04:09 UTC) #27
wolenetz
lgtm Thanks for working to make this more maintainable! https://codereview.chromium.org/877273002/diff/40001/content/renderer/media/render_media_log.cc File content/renderer/media/render_media_log.cc (right): https://codereview.chromium.org/877273002/diff/40001/content/renderer/media/render_media_log.cc#newcode41 content/renderer/media/render_media_log.cc:41: ...
5 years, 9 months ago (2015-03-26 01:38:53 UTC) #28
servolk
https://codereview.chromium.org/877273002/diff/60001/media/base/media_log.cc File media/base/media_log.cc (right): https://codereview.chromium.org/877273002/diff/60001/media/base/media_log.cc#newcode105 media/base/media_log.cc:105: // pipeline status as numberic code is not very ...
5 years, 9 months ago (2015-03-26 17:06:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877273002/80001
5 years, 9 months ago (2015-03-26 17:07:39 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-26 18:20:21 UTC) #33
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 18:21:11 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cdeb28057cd67404de3383f70208b43763473c6a
Cr-Commit-Position: refs/heads/master@{#322425}

Powered by Google App Engine
This is Rietveld 408576698