PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, July 12, 2022

[FIXED] How to disable Android MediaPlayer debug messages

 July 12, 2022     android, logcat, media-player, messages     No comments   

Issue

When using MediaPlayer I get the following lines of debug messages in LogCat constantly repeating:

02-13 14:30:52.090: V/MediaPlayer(21345): getVideoWidth
02-13 14:30:52.090: V/MediaPlayer-JNI(21345): getVideoWidth: 480
02-13 14:30:52.090: V/MediaPlayer(21345): getVideoHeight
02-13 14:30:52.090: V/MediaPlayer-JNI(21345): getVideoHeight: 360
02-13 14:30:52.100: V/MediaPlayer-JNI(21345): isPlaying: 0

My buffer soon fills up and I miss my other important messages. Is there anyway to disable this? Doing an exclusive filter in LogCat doesn't work because the buffer is still filled up in the background.


Solution

You can remove it by adding ^(?!MediaPlayer) to logcat filter Log Tag (regex) field: https://www.evernote.com/l/ABjh04WocVlGBp_wUBuQyefZIc_9aa8WP8QB/image.png



Answered By - Aki Nishanov
Answer Checked By - Cary Denson (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing