

** Activity (main) Pause, UserClosed = false **ĬlassLoader referenced unknown path: /data/app/barxdroid.ArcMenuDemo-1/lib/arm I dont want Android 2.2+ stuff.Īdded: I am changing the encodings in VLC, i am getting the same error but with different negative number (-1, -4, -10 etc\) MediaPlayerStream always showing "media_error_unknown". So on the same computer which runs B4A and runs the project, i have VLC that streams the audio and listens to address " or "". I am creating new VLC profile for audio streaming: HTTP, MPEG-TS container, MPEG Audio, listening to port 8080, path "stream". I want only this to use a streaming server. OK, not a suicide thing yet, but lets say to forget Shoutcast, why not. For earlier versions you must create local proxy that changes the response protocol from ICY (shoutcast) to HTTP, which the mediaplayer will support." I've found this when googling: "Shoutcast streams are nativelly supported only on 2.2. (i have it retry every 5 seconds while i am testing other encodings to the stream, but no change). GC freed 2701 objects / 154368 bytes in 182ms ** Activity (main) Create, isFirst = true **ĭisplayed activity b4a.example/.main: 1646 ms (total 1646 ms)

This is part of the log while getting "media_error_unknown -1"
#Winamp for android 2.2 code
VLC has many more encoding options, all seems to bring the same error message, but right now i've tested RTP: // encoding and reencoding to MPEG-TS MPEG Audio etc subformat, the MediaPlayerStream shows again "media_error_unknown" but with error code -4 instead of -1.Īm i getting close? LOL, i hope someone can help me in this step, maybe we are close to a solution.Įdit: What is the difference of error codes -1 and -4 ? Is there any error tutorial ? The reason for my post is that i 've tried VLC to stream to SHOUTCAST server (both programs running locally). Tried Shoutcast DSP plugin and Winamp, all the encoder settings which exists in the plugin, the only thing that appeared on screen was "media_error_unknown -1" SHOUTCAST server running locally at "localhost:8000"

I 'm coming back because after tons of tests with this equipment:Īndroid 2.1 emulator (i want this api level because my clients using 2.1 version, by making 2.2+ apps will abandon them so its not an option for me)Īudio library 1.32 & MediaPlayerStream object
