Click or drag to resize
OzNativeMediaWriter Class
Inheritance Hierarchy
SystemObject
  Ozeki.MediaOzNativeMediaWriter

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public class OzNativeMediaWriter : IDisposable

The OzNativeMediaWriter type exposes the following members.

Constructors
  NameDescription
Public methodOzNativeMediaWriter
Initializes a new instance of the OzNativeMediaWriter class.
Top
Methods
  NameDescription
Public methodCloseAndWriteTrailer
Public methodDispose
Releases all resources used by the OzNativeMediaWriter
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
Fields
  NameDescription
Protected field_disposed
Top
Properties
  NameDescription
Public propertyInited
Public propertyOutputReady
Top
Events
  NameDescription
Public eventOnDataWrittenToVirtual
Top
See Also