2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FMediaVideoRecorderTypes.h
20 * @brief This is the header file for the video recording enumerations.
22 * This header file contains the declarations of the video recording enumerations.
25 #ifndef _FMEDIA_VIDEO_RECORDER_TYPES_H_
26 #define _FMEDIA_VIDEO_RECORDER_TYPES_H_
28 #include "FMediaRecorderTypes.h"
30 namespace Tizen { namespace Media
34 #define DEFAULT_VIDEORECORDING_TIME 60000
37 #define DEFAULT_VIDEORECORDING_SIZE 1024 * 1024
41 * @enum VideoRecordingFormat
43 * Defines the format of a video recorder.
45 * @brief <i> [Deprecated] </i>
46 * @deprecated This enum is deprecated because new methods do not use this enum. Instead of this enum, use
47 * ::MediaContainerType.
50 * @see VideoRecorder::SetFormat()
51 * @see VideoRecorder::GetFormat()
54 enum VideoRecordingFormat
56 VIDEORECORDING_FORMAT_DEFAULT, /**< @if OSPDEPREC The default format @endif */
57 VIDEORECORDING_FORMAT_MP4, /**< @if OSPDEPREC The MP4 format @endif */
58 VIDEORECORDING_FORMAT_3GP, /**< @if OSPDEPREC The 3GP format @endif */
63 * @enum VideoRecorderMode
65 * Defines the mode of a video recorder.
67 * @brief <i> [Deprecated] </i>
68 * @deprecated This enum is deprecated because new methods do not use this enum. For video only recording, instead of using this enum, use
72 * @see VideoRecorder::SetMode()
73 * @see VideoRecorder::GetMode()
76 enum VideoRecorderMode
78 VIDEORECORDER_MODE_VIDEO_WITH_AUDIO, /**< The video with audio mode*/
79 VIDEORECORDER_MODE_VIDEO_ONLY, /**< The video only mode*/