Show / Hide Table of Contents

Interface IDeviceDvr

Implements functionality for a device that supports capturing on a DVR.

Namespace: Phoenix.MediaCapture.DVR
Assembly: Phoenix.Abstractions.MediaCapture.dll
Syntax
[Obsolete("Implementation of this class has been removed. Use the device console library instead.", true)]
public interface IDeviceDvr

Properties

View Source

DvrRunning

Gets a value indicating whether capturer is running or not

Declaration
bool DvrRunning { get; }
Property Value
Type Description
System.Boolean

Methods

View Source

CaptureVideo(String, UInt32, IProgress<Int32>)

Captures a video from on a DVR

Declaration
Task<DvrMetadata> CaptureVideo(string destination, uint seconds, IProgress<int> progress)
Parameters
Type Name Description
System.String destination

The output destination for the video to be copied to.

System.UInt32 seconds

The last x seconds to take of the video.

System.IProgress<System.Int32> progress

Progress notification.

Returns
Type Description
System.Threading.Tasks.Task<DvrMetadata>

DVRMetadata that holds information about the video.

View Source

GetDvrCaptureParameters()

Gets the list of capture parameters for this device.

Declaration
List<CaptureParameter> GetDvrCaptureParameters()
Returns
Type Description
System.Collections.Generic.List<CaptureParameter>

A list of capture parameters.

View Source

SetDvrCaptureParameters(Object[])

Stores the capture parameters for a device

Declaration
void SetDvrCaptureParameters(params object[] captureParameters)
Parameters
Type Name Description
System.Object[] captureParameters

an array of capture parameters

View Source

StartCapture()

Starts capturing a video

Declaration
void StartCapture()
View Source

StopCapture(String)

Stops capturing a video

Declaration
Task<DvrMetadata> StopCapture(string destination)
Parameters
Type Name Description
System.String destination

The output destination for the video to be copied to.

Returns
Type Description
System.Threading.Tasks.Task<DvrMetadata>

DVRMetadata that holds information about the video.

  • View Source
In This Article
Back to top Generated by DocFX