Class VideoRecorder
An IVF video recorder.
Inherited Members
Namespace: FM.LiveSwitch.Ivf
Assembly: FM.LiveSwitch.dll
Syntax
public class VideoRecorder : VideoRecorder
Constructors
VideoRecorder(String)
Initializes a new instance of the VideoRecorder class.
Declaration
public VideoRecorder(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
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()