RecorderInfo
录制文件信息。
C#
public class RecorderInfo
{
public string fileName { set; get; }
public uint durationMs { set; get; }
public uint fileSize { set; get; }
public RecorderInfo()
{
fileName = "";
durationMs = 0;
fileSize = 0;
}
public RecorderInfo(string name, uint dur, uint size)
{
fileName = name;
durationMs = dur;
fileSize = size;
}
};
fileName
录制文件的绝对存储路径。
durationMs
录制文件的时长,单位为毫秒。
fileSize
录制文件的大小,单位为字节。