Tanoda
|
Public Member Functions | |
NativeRecorder (Func< Bridge.RecordingHandler, IntPtr, IntPtr > recorderCreator) | |
void | CommitFrame< T > (T[] pixelBuffer, long timestamp) |
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout. More... | |
void | CommitFrame (IntPtr nativeBuffer, long timestamp) |
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout. More... | |
void | CommitSamples (float[] sampleBuffer, long timestamp) |
Commit an audio sample buffer for encoding. More... | |
Task< string > | FinishWriting () |
Finish writing and return the path to the recorded media file. More... | |
void | CommitFrame< T > (T[] pixelBuffer, long timestamp) |
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout. More... | |
void | CommitFrame (IntPtr nativeBuffer, long timestamp) |
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout. More... | |
void | CommitSamples (float[] sampleBuffer, long timestamp) |
Commit an audio sample buffer for encoding. More... | |
Task< string > | FinishWriting () |
Finish writing and return the path to the recorded media file. More... | |
Public Attributes | |
int | width |
![]() | |
int | width |
Recording frame size. More... | |
Properties | |
int int height | frameSize [get] |
![]() | |
int int height | frameSize [get] |
Definition at line 13 of file NativeRecorder.cs.
NatSuite.Recorders.Internal.NativeRecorder.NativeRecorder | ( | Func< Bridge.RecordingHandler, IntPtr, IntPtr > | recorderCreator | ) |
Definition at line 26 of file NativeRecorder.cs.
void NatSuite.Recorders.Internal.NativeRecorder.CommitFrame | ( | IntPtr | nativeBuffer, |
long | timestamp | ||
) |
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout.
nativeBuffer | Pixel buffer in native memory to commit. |
timestamp | Sample buffer timestamp in nanoseconds. |
Implements NatSuite.Recorders.IMediaRecorder.
Definition at line 40 of file NativeRecorder.cs.
void NatSuite.Recorders.Internal.NativeRecorder.CommitFrame< T > | ( | T[] | pixelBuffer, |
long | timestamp | ||
) |
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout.
pixelBuffer | Pixel buffer to commit. |
timestamp | Sample buffer timestamp in nanoseconds. |
Implements NatSuite.Recorders.IMediaRecorder.
T | : | struct |
Definition at line 33 of file NativeRecorder.cs.
void NatSuite.Recorders.Internal.NativeRecorder.CommitSamples | ( | float[] | sampleBuffer, |
long | timestamp | ||
) |
Commit an audio sample buffer for encoding.
sampleBuffer | Linear PCM audio sample buffer, interleaved by channel. |
timestamp | Sample buffer timestamp in nanoseconds. |
Implements NatSuite.Recorders.IMediaRecorder.
Definition at line 45 of file NativeRecorder.cs.
Task< string > NatSuite.Recorders.Internal.NativeRecorder.FinishWriting | ( | ) |
Finish writing and return the path to the recorded media file.
Implements NatSuite.Recorders.IMediaRecorder.
Definition at line 50 of file NativeRecorder.cs.
int NatSuite.Recorders.Internal.NativeRecorder.width |
Definition at line 17 of file NativeRecorder.cs.
|
get |
Implements NatSuite.Recorders.IMediaRecorder.
Definition at line 17 of file NativeRecorder.cs.