Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Recorded video data cannot be streamed before RecordControl.commit() method has been called in Java ME

From Wiki
Jump to: navigation, search
Article Metadata
Created: User:Technical writer 1 (14 Nov 2007)
Last edited: hamishwillee (19 Nov 2013)


All Series 40 devices record to 3GP / 3GP2 format, and when recording takes place, the video encoder stores a header at the start of the file. This file header must be updated as the recording completes. Therefore, if it were possible to immediately stream the recorded video, the (invalid) header would be transmitted and could not be updated later.

This means that even if the RecordControl.setOutputStream() method is used, the target output stream will only be filled with data once the RecordControl.commit() method is called and the recording is stopped.

This page was last modified on 19 November 2013, at 23:38.
42 page views in the last 30 days.