English 中文(简体)
如何将录音带上门并发挥这种音响
原标题:how to stream the audio and play that audio

i 想要打上流放的症状3文档。 i 在下文中尝试

http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/ but the bellow error is coming

 02-04 20:22:48.960: ERROR/PlayerDriver(31): Command PLAYER_PREPARE completed with an    error or info PVMFErrResource
 02-04 20:22:48.970: ERROR/MediaPlayer(425): error (1, -17)
 02-04 20:22:48.989: WARN/PlayerDriver(31): PVMFInfoErrorHandlingComplete
 02-04 20:22:49.089: DEBUG/dalvikvm(425): GC freed 4622 objects / 982864 bytes in 120ms
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425): Error updating to newly loaded content.
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425): java.io.IOException: Prepare failed.: status=0x1
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at android.media.MediaPlayer.prepare(Native Method)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at com.Boodang.StreamingMediaPlayer.createMediaPlayer(StreamingMediaPlayer.java:210)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at com.Boodang.StreamingMediaPlayer.transferBufferToMediaPlayer(StreamingMediaPlayer.java:239)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at com.Boodang.StreamingMediaPlayer.access$3(StreamingMediaPlayer.java:219)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at com.Boodang.StreamingMediaPlayer$2.run(StreamingMediaPlayer.java:160)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at android.os.Handler.handleCallback(Handler.java:587)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at android.os.Handler.dispatchMessage(Handler.java:92)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at android.os.Looper.loop(Looper.java:123)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at android.app.ActivityThread.main(ActivityThread.java:4363)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at java.lang.reflect.Method.invokeNative(Native Method)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at java.lang.reflect.Method.invoke(Method.java:521)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
 02-04 20:22:49.350: ERROR/com.Boodang.StreamingMediaPlayer(425):     at dalvik.system.NativeStart.main(Native Method)

因此,请告诉我,我将做些什么,并希望能有更好的办法这样做。 因此,请告诉我,如何将第3号书归档并处理第3号书。

谢谢。

最佳方面。

问题回答

第一,该博客员额将近三年。 很久以前就从未使用过安乐施会的职位。

第二,至少通过安乐团2.2,将MP3文件流出后,没有获得过RTSP的支持。 我认为,这在吉大港山区问题上发挥了作用。

此外,确保你实际使用的URL能够从你的装置或推器中获取。 例如,在您的供述中,您需要INTERNET的许可,您的主读者需要互联网接入等。

今后,你可能会考虑提供源码,因为单单单靠微量追踪就不足以得到任何人的援助。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签