Using media player
I want to write an app. to decode streamed video. However I want to use the RTP protocol and then use my own software to check for any lost packets. This means I need to feed the video to the decoder one frame at a time.
I will be using MPEG with no B frames, so the media player will not need to buffer anything.
1- How do I feed just one frame at a time to the media player in an efficient, low-latency way? Ideally, I should be able to call player.prefetch once and then start / stop for each frame then write a new frame to the file and then start / stop again.
The system needs to work with low latency so as soon as the frame is decompressed it should be displayed on the screen, not buffered somewhere.
2- How can I find out capabilities of the MPEG decoder supported on the phone, for example what level / profile it supports? I'm thinking of developing primarily for the LG KU990 "Viewty".