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.

Archived:Video streaming will not start until RecordControl.commit() is called (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

It is not possible to immediately stream video data being recorded with the camera to another output stream.

Article Metadata
Created: User:Technical writer 1 (31 Aug 2007)
Last edited: hamishwillee (30 Oct 2013)


All Series 40 phones record to 3GP / 3GP2 format, and when recording takes place, the video encoder stores a header at the start of the file. Unfortunately, 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.

Therefore, 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 30 October 2013, at 00:19.
28 page views in the last 30 days.