When I try playing open streams(not encrypted), using the MediaPlayer_Demo in the API demos package, I get the following messages written to the logs:
INFO/avc_utils(238): found AVC codec config (320 x 180, Main-profile level 2.1) INFO/ESQueue(238): found AAC codec config (48000 Hz, 1 channels) INFO/MPEG2TSExtractor(238): haveAudio=1, haveVideo=1 DEBUG/StreamingPlayer(896): surfaceChanged called WARN/ActivityManager(248): Launch timeout has expired, giving up wake lock! WARN/ActivityManager(248): Activity idle timeout for ActivityRecord{409a8860 com.video.stream/.StreamingPlayer} INFO/ActivityManager(248): Displayed com.video.stream/.StreamingPlayer: +10s159ms VERBOSE/StreamingPlayer(896): onVideoSizeChanged called DEBUG/StreamingPlayer(896): onPrepared called VERBOSE/StreamingPlayer(896): startVideoPlayback DEBUG/StreamingPlayer(896): Is playing : false DEBUG/AudioSink(238): bufferCount (4) is too small and increased to 12 ERROR/MediaPlayer(896): error (1, -2147483648) DEBUG/StreamingPlayer(896): surfaceChanged called VERBOSE/StreamingPlayer(896): onVideoSizeChanged called VERBOSE/StreamingPlayer(896): startVideoPlayback DEBUG/StreamingPlayer(896): Is playing : false ERROR/MediaPlayer(896): start called in state 0 ERROR/MediaPlayer(896): error (-38, 0) ERROR/MediaPlayer(896): Error (1,-2147483648) DEBUG/StreamingPlayer(896): onCompletion called ERROR/MediaPlayer(896): Error (-38,0) DEBUG/StreamingPlayer(896): onCompletion called seems that stagefright is able to find audio and video and also the respective codecs; don't know why I am getting these MediaPlayer state exceptions though. The same code works for Apple's test Stream. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en