Class VideoRecorder
A Matroska video recorder.
Inherited Members
Namespace: FM.LiveSwitch.Matroska
Assembly: FM.LiveSwitch.dll
Syntax
public class VideoRecorder : VideoRecorder
Constructors
VideoRecorder(String, VideoFormat)
Initializes a new instance of the VideoRecorder class.
Declaration
public VideoRecorder(string path, VideoFormat inputFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
VideoFormat | inputFormat | The input format. |
Methods
DoUpdateHeader()
Updates the file header.
Declaration
protected override void DoUpdateHeader()
Overrides
FM.LiveSwitch.MediaRecorder<FM.LiveSwitch.VideoBuffer, FM.LiveSwitch.VideoFormat>.DoUpdateHeader()
DoWrite(VideoBuffer, Int64)
Write an encoded video frame.
Declaration
protected override bool DoWrite(VideoBuffer buffer, long presentationTimestamp)
Parameters
Type | Name | Description |
---|---|---|
VideoBuffer | buffer | The encoded buffer. |
System.Int64 | presentationTimestamp | The presentation timestamp. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
FM.LiveSwitch.MediaRecorder<FM.LiveSwitch.VideoBuffer, FM.LiveSwitch.VideoFormat>.DoWrite(FM.LiveSwitch.VideoBuffer, System.Int64)
DoWriteHeader()
Writes the file header.
Declaration
protected override void DoWriteHeader()
Overrides
FM.LiveSwitch.MediaRecorder<FM.LiveSwitch.VideoBuffer, FM.LiveSwitch.VideoFormat>.DoWriteHeader()