Error in Live radio Streaming in android
<p>I developing Live radio Streaming app in android. When i play it will play but after some time it is stop and give error. Log of my error is below , if anybody have idea please send me.</p>

<p>Thanks in advance.</p>

<pre><code>11-04 13:50:16.512: WARN/System.err(23981): java.lang.IllegalStateException
11-04 13:50:16.512: WARN/System.err(23981):     at android.media.MediaPlayer.getDuration(Native Method)
11-04 13:50:16.512: WARN/System.err(23981):     at com.unity.StreamingMediaPlayer$2.run(StreamingMediaPlayer.java:155)
11-04 13:50:16.522: WARN/System.err(23981):     at android.os.Handler.handleCallback(Handler.java:587)
11-04 13:50:16.522: WARN/System.err(23981):     at android.os.Handler.dispatchMessage(Handler.java:92)
11-04 13:50:16.532: WARN/System.err(23981):     at android.os.Looper.loop(Looper.java:143)
11-04 13:50:16.532: WARN/System.err(23981):     at android.app.ActivityThread.main(ActivityThread.java:4914)
11-04 13:50:16.532: WARN/System.err(23981):     at java.lang.reflect.Method.invokeNative(Native Method)
11-04 13:50:16.532: WARN/System.err(23981):     at java.lang.reflect.Method.invoke(Method.java:521)
11-04 13:50:16.532: WARN/System.err(23981):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
11-04 13:50:16.542: WARN/System.err(23981):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-04 13:50:16.542: WARN/System.err(23981):     at dalvik.system.NativeStart.main(Native Method)
</code></pre>
