Click or drag to resize

OzNativeMediaWriter Methods

The OzNativeMediaWriter type exposes the following members.

Methods
 NameDescription
Public methodCloseAndWriteTrailer 
Public methodDispose 
Public methodInit 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.
Public methodInitAudioStream Initializes the audio stream. If failed this object will be disposed.
Public methodInitVideoStream Initializes the video stream. If failed this object will be disposed.
Protected methodNativeWriteOccured 
Public methodOpenFileOutput Opens the media file output.
Public methodOpenVirtualOuput 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.
Public methodWriteEncodedAudioData Writes the encoded audio data.
Public methodWriteEncodedVideoData Writes the encoded video data.
Top
See Also