Recorder
Tizen offers basic recorder features, including an audio and video recorder.
The main features of the Recorder API include:
- Basic recording functionalities (record, stop, pause, cancel, and mute).
- Setting the maximum recording time and size
- Controlling the system volume level
The following file formats are supported:
- Video: mp4 and 3gp
- Audio: m4a and amr
Valid input sources consist of internal and external microphones and a camera. The used input audio or video source depends on the currently connected audio path and camera module of the device. The operations of the Recorder APIs can work in asynchronous mode, which means that callbacks are required to pass an event notification to the application. The recorder APIs in the video recorder serve as the interface with the hardware. Input is processed through that handle.
During testing, you can use the Emulator to imitate audio or video recording, as long as your computer has a proper input source device.
The following figure illustrates the general recorder state changes.
Figure: Recorder states
Note |
---|
While running applications on the Emulator, audio-video synchronization errors can occur due to the computer performance. |