Class StreamRecorderOptions

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.StreamRecorder.dll
API Level:
4

Specifies the options associated with StreamRecorder.

C#
Copy
public class StreamRecorderOptions : object
Inheritance
StreamRecorderOptions

Constructors

View Source

StreamRecorderOptions(String, RecorderFileFormat)

Initialize a new instance of the StreamRecorderOptions class with the specified save path and file format.

Declaration
C#
Copy
public StreamRecorderOptions(string savePath, RecorderFileFormat fileFormat)
Parameters
Type Name Description
String savePath

The path that the recording result is saved.

RecorderFileFormat fileFormat

The file format of output file.

API Level: 4

Properties

View Source

Audio

Gets or sets the options for audio recording.

Declaration
C#
Copy
public StreamRecorderAudioOptions Audio { get; set; }
Property Value
Type Description
StreamRecorderAudioOptions
Remarks

Audio or Video must be set for recording.

See Also
API Level: 4
View Source

FileFormat

Gets or sets the file format for recording media stream.

Declaration
C#
Copy
public RecorderFileFormat FileFormat { get; set; }
Property Value
Type Description
RecorderFileFormat
API Level: 4
View Source

SavePath

Gets or sets the file path to record.

Declaration
C#
Copy
public string SavePath { get; set; }
Property Value
Type Description
String
Remarks

If the same file already exists in the file system, then old file will be overwritten.

API Level: 4
View Source

SizeLimit

Gets or sets the maximum size of a recording file.

Declaration
C#
Copy
public int SizeLimit { get; set; }
Property Value
Type Description
Int32

The maximum size of a recording file in kilobytes, or 0 for unlimited size.

Remarks

After reaching the limitation, the data which is being recorded will be discarded and not written to the file.

API Level: 4
View Source

TimeLimit

Gets or sets the time limit of recording.

Declaration
C#
Copy
public int TimeLimit { get; set; }
Property Value
Type Description
Int32

The maximum time of recording in seconds, or 0 for unlimited time.

Remarks

After reaching the limitation, the data which is being recorded will be discarded and not written to the file.

API Level: 4
View Source

Video

Gets or sets the options for video recording.

Declaration
C#
Copy
public StreamRecorderVideoOptions Video { get; set; }
Property Value
Type Description
StreamRecorderVideoOptions
Remarks

Audio or Video must be set for recording.

See Also
API Level: 4

Extension Methods

See Also