Class RecordingSession
public class RecordingSession : IDisposable
- Inheritance
-
RecordingSession
- Implements
- Inherited Members
- Extension Methods
Constructors
RecordingSession(uint, uint, string)
public RecordingSession(uint width, uint height, string directory)
Parameters
Properties
AudioDataSize
public int AudioDataSize { get; set; }
Property Value
AudioFrames
public int AudioFrames { get; }
Property Value
Frames
public int Frames { get; set; }
Property Value
MicAudioDataSize
public int MicAudioDataSize { get; set; }
Property Value
MicAudioFrames
public int MicAudioFrames { get; }
Property Value
MicChannels
public Optionable<int> MicChannels { get; set; }
Property Value
MicSampleRate
public Optionable<int> MicSampleRate { get; set; }
Property Value
Pipe
public RecordingPipe Pipe { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
GetAudioBlob()
public byte[] GetAudioBlob()
Returns
- byte[]
GetAudioPath()
public string GetAudioPath()
Returns
GetMicAudioBlob()
public byte[] GetMicAudioBlob()
Returns
- byte[]
GetMicAudioPath()
public string GetMicAudioPath()
Returns
PushAudio(float[])
public void PushAudio(float[] data)
Parameters
data
float[]
PushFrame(RenderTexture)
public void PushFrame(RenderTexture frame)
Parameters
frame
RenderTexture
PushMicAudio(float[], int, int)
public void PushMicAudio(float[] data, int sampleRate, int channels)