Class StreamRecorderVideoOptions
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.StreamRecorder.dll
- API Level:
- 4
Specifies the options associated with video recording.
C#Copy[Obsolete("Deprecated in API10; Will be removed in API12")] public class StreamRecorderVideoOptions
- Inheritance
-
System.ObjectStreamRecorderVideoOptions
Constructors
StreamRecorderVideoOptions(RecorderVideoCodec, Size, StreamRecorderVideoFormat, Int32)
Initialize a new instance of the StreamRecorderVideoOptions class with the specified codec, resolution, source format, and frame rate.
Declaration
C#Copy[Obsolete("Deprecated in API10; Will be removed in API12")] public StreamRecorderVideoOptions(RecorderVideoCodec codec, Size resolution, StreamRecorderVideoFormat sourceFormat, int frameRate)
Parameters
Type | Name | Description |
---|---|---|
RecorderVideoCodec | codec | The RecorderVideoCodec for encoding video stream. |
Size | resolution | The resolution of video recording. |
StreamRecorderVideoFormat | sourceFormat | The format of source stream. |
Int32 | frameRate | The frame rate for encoding video stream. |
Remarks
BitRate will be set as default.
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
System.ArgumentOutOfRangeException | Width or height of |
API Level: 4
StreamRecorderVideoOptions(RecorderVideoCodec, Size, StreamRecorderVideoFormat, Int32, Int32)
Initialize a new instance of the StreamRecorderVideoOptions class with the specified codec, resolution, source format, frame rate, and bit rate.
Declaration
C#Copy[Obsolete("Deprecated in API10; Will be removed in API12")] public StreamRecorderVideoOptions(RecorderVideoCodec codec, Size resolution, StreamRecorderVideoFormat sourceFormat, int frameRate, int bitRate)
Parameters
Type | Name | Description |
---|---|---|
RecorderVideoCodec | codec | The RecorderVideoCodec for encoding video stream. |
Size | resolution | The resolution of video recording. |
StreamRecorderVideoFormat | sourceFormat | The format of source stream. |
Int32 | frameRate | The frame rate for encoding video stream. |
Int32 | bitRate | The bit rate for encoding video stream. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
System.ArgumentOutOfRangeException | Width or height of |
API Level: 4
Properties
Declaration
C#Copy[Obsolete("Deprecated in API10; Will be removed in API12")] public int BitRate { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The bit rate value for video stream recording. The default is 0. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException |
|
API Level: 4
Declaration
C#Copy[Obsolete("Deprecated in API10; Will be removed in API12")] public RecorderVideoCodec Codec { get; set; }
Property Value
Type | Description |
---|---|
RecorderVideoCodec | The codec for video stream recording. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
See Also
API Level: 4
Declaration
C#Copy[Obsolete("Deprecated in API10; Will be removed in API12")] public int FrameRate { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The frame rate value for video stream recording. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException |
|
API Level: 4
Declaration
C#Copy[Obsolete("Deprecated in API10; Will be removed in API12")] public Size Resolution { get; set; }
Property Value
Type | Description |
---|---|
Size | The output resolution for video stream recording. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | Width or height of |
See Also
API Level: 4
Declaration
C#Copy[Obsolete("Deprecated in API10; Will be removed in API12")] public StreamRecorderVideoFormat SourceFormat { get; set; }
Property Value
Type | Description |
---|---|
StreamRecorderVideoFormat | The source format of buffers for video stream recording. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|