Praneet Sharma
Praneet Sharma

Reputation: 81

Streaming .asf on android

I have FOSCAM FI8918W that returns live video+audio stream in .asf format. I want to build an app for android that streams this video on android phone. I just don't know how and where to start. I have done a lot of googling on this but to no avail. Any help is greatly appreciated.

Similar question was asked here 2 years back but received no significant replies (link - ASF Streaming on Android?).

regards

Upvotes: 4

Views: 694

Answers (1)

msh
msh

Reputation: 2770

Generic Android (AOSP) supports very limited set of codecs and containers - see http://developer.android.com/guide/appendix/media-formats.html

Some devices do support additional codecs/containers, but as non-standard extension. ASF with MJPEG stream is not supported by AOSP.

But it shouldn't be too hard to implement it in the user mode - this is a camera, so you don't need to worry about stream position (for seek and rewind) and MJPEG is simple to decode and display. Just read the stream and display as a sequence of frames.

Upvotes: 1

Related Questions