|
Throttle media decoding after excessive Android media server crashes
This change adds a watch dog player to listen to android MediaServer
crashes.
When the number of crashes reaches a certain threshold,
all media decoding using Android MediaPlayer/MediaCodec will be throttled.
This will throttle both media and webaudio implementation.
BUG= 532745
Committed: https://crrev.com/b2341d25796fe6f94fb9a2d00104f2f88ca67a7c
Cr-Commit-Position: refs/heads/master@{#352740}
Total comments: 48
Total comments: 10
Total comments: 23
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+712 lines, -175 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
1
2
3
4
5
6
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/android/media/media_throttle_infobar_delegate.h
|
View
|
1
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/android/media/media_throttle_infobar_delegate.cc
|
View
|
1
2
3
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/tab_web_contents_delegate_android.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/tab_web_contents_delegate_android.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/infobars/core/infobar_delegate.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/infobars/core/infobar_delegate.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/media/android/browser_media_player_manager.h
|
View
|
1
2
3
4
5
|
4 chunks |
+31 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/android/browser_media_player_manager.cc
|
View
|
1
2
3
4
5
|
11 chunks |
+99 lines, -46 lines |
0 comments
|
Download
|
 |
A |
content/browser/media/android/media_throttler.h
|
View
|
1
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/media/android/media_throttler.cc
|
View
|
1
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_message_filter.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+26 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_jni.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
content/public/android/java/res/raw/empty.wav
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A |
content/public/android/java/src/org/chromium/content/browser/MediaThrottler.java
|
View
|
1
2
3
4
5
|
1 chunk |
+204 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_delegate.h
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_delegate.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/android/java/src/org/chromium/media/MediaPlayerListener.java
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_codec_decoder_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_codec_player.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_codec_player.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_codec_video_decoder.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_codec_video_decoder.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_player_android.h
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_player_android.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_player_bridge.h
|
View
|
1
2
3
4
5
|
2 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_player_bridge.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_source_player.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_source_player.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_source_player_unittest.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+2 lines, -22 lines |
0 comments
|
Download
|
 |
M |
media/base/android/video_decoder_job.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/base/android/video_decoder_job.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
media/base/android/webaudio_media_codec_bridge.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/base/android/webaudio_media_codec_bridge.cc
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
Total messages: 47 (8 generated)
|