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
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.