2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 namespace Tizen.Multimedia
20 /// Enumeration for Audio Codec.
22 public enum StreamRecorderAudioCodec
39 /// Enumeration for the file container format.
41 public enum StreamRecorderFileFormat
66 /// Enumeration for the recorder notify type.
68 public enum StreamRecorderNotify
75 /// State changed noti.
81 /// Enumeration for the recording limit type.
83 public enum StreamRecordingLimitType
86 /// Time limit in seconds of recording file
90 /// Size limit in KB(KiloBytes) of recording file.
96 /// Enumeration for stream recorder states.
98 public enum StreamRecorderState
101 /// Stream recorder is not created.
105 /// Stream recorder is created, but not prepared.
109 /// Stream recorder is ready to record.
113 /// Stream recorder is recording pushed packet.
117 /// Stream recorder is paused.
123 /// Enumeration for video codec.
125 public enum StreamRecorderVideoCodec
138 /// Enumeration for source type.
140 public enum StreamRecorderSourceType
157 /// Enumeration for video source format.
159 public enum StreamRecorderVideoSourceFormat
162 /// Nv12 Video source format
166 /// Nv21 video source format
170 /// I420 video source format
176 /// Enumeration for stream recorder failure error.
178 public enum StreamRecorderErrorCode
183 None = StreamRecorderError.None,
187 InvalidParameter = StreamRecorderError.InvalidParameter,
191 InvalidOperation = StreamRecorderError.InvalidOperation,
195 OutOfMemory = StreamRecorderError.OutOfMemory