OzNativeMediaWriter Class |
Namespace: Ozeki.Media
The OzNativeMediaWriter type exposes the following members.
Name | Description | |
---|---|---|
OzNativeMediaWriter |
Initializes a new instance of the OzNativeMediaWriter class.
|
Name | Description | |
---|---|---|
CloseAndWriteTrailer | ||
Dispose | Releases all resources used by the OzNativeMediaWriter | |
Init |
Initializes the native format context.
If initializing was not successful this objectt will be disposed.
Please note that this method will not initialize the full mediawriter functionality, you must call the InitAudioStream, or the InitVideoStream, methods
or both of them, as well as one of the OpenFileOutput and OpenVirtualOutput methods.
| |
InitAudioStream |
Initializes the audio stream. If failed this object will be disposed.
| |
InitVideoStream |
Initializes the video stream. If failed this object will be disposed.
| |
NativeWriteOccured | ||
OpenFileOutput |
Opens the media file output.
| |
OpenVirtualOuput |
Opens the virtual ouput. The underlaying native media writer will call a managed method to wire the assembled media data
instead of write it into a file with low-level operations.
If you call this method subscribe to the OnDataWrittenToVirtual event to reveive the data.
| |
WriteEncodedAudioData |
Writes the encoded audio data.
| |
WriteEncodedVideoData |
Writes the encoded video data.
|
Name | Description | |
---|---|---|
Inited | ||
OutputReady |
Name | Description | |
---|---|---|
OnDataWrittenToVirtual |