Access StageFright.so directly to decode H.264 stream from JNIlayer in Android
Is there a way to access libstagefright.so directly to decode H.264 stream from JNI layer on Android 2.3 or above? If your objective is to decode an elementary H.264 stream, then your code will have to ensure that the stream is extracted, the codec-specific-data is provided to the codec which is primarily SPS and PPS data and frame data along with time-stamps is provided to the codec. Across all Android versions, the most common interface would be OMXCodec which is an abstraction over an underlying OMX component. In Gingerbread (Android 2.3) and ICS (Android 4.0.0), if you would like to create