Wednesday, June 30, 2010

[android-developers] live stream error

I am making a basic activity to stream this live show
http://ice2.securenetsystems.net/WHBRM here is the pastebin of my
activity http://pastebin.com/N5g69j7i

I realize that it is better to be in a service but this is just a
test. Anyways it seems to be working fine except for in froyo my
error listener gets an unknown error about every 10 seconds.
Infolistener and bufferinglistener are also never called.

my hack of sorts using the errorlistener to catch the error and
restart the stream is working but since the error happens every 10
seconds or so it is making the audio very choppy.

I also get a system log that says MediaPlayer error (1, -2147483648)
before each crash
also AwesomePlayer Not sending buffering status because duration is
unknown.

I assume the second error is because its a live stream and it has no
end, however how do you handle that case.

Thanks in advance!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment