Reputation: 2295
I have a problem with MediaPlayer in Android. It can't stream with 'video/x-ms-asf' format.
Could anyone help me or have any sample code to play it?
Upvotes: 1
Views: 1273
Reputation: 3530
In order to play these types of streams you need to use a library such as FFmpeg to decode the audio and feed the raw bytes to AudioTrack.
ServeStream is able to play these types of streams. You can view the source code here.
Upvotes: 2