Generic Android (AOSP) supports a very limited set of codecs and containers - see http://developer.android.com/guide/appendix/media-formats.html
Some devices support additional codecs / containers, but as a non-standard extension. ASF with MJPEG stream is not supported by AOSP.
But this should not be too difficult to implement in user mode - this is a camera, so you do not need to worry about the position of the stream (for searching and rewinding), and MJPEG is simply decoded and displayed. Just read the stream and show it as a sequence of frames.
source share