Class HLSVideoStreamOutputSinkOptions
- Namespace
- CapCognition.Net.CaptureSources.VideoStream
- Assembly
- CapCognition.Net.dll
public class HLSVideoStreamOutputSinkOptions : OutputControl.OutputSinkOptions
- Inheritance
-
HLSVideoStreamOutputSinkOptions
- Inherited Members
Constructors
HLSVideoStreamOutputSinkOptions()
public HLSVideoStreamOutputSinkOptions()
HLSVideoStreamOutputSinkOptions(string)
public HLSVideoStreamOutputSinkOptions(string outputRootPath)
Parameters
outputRootPathstring
HLSVideoStreamOutputSinkOptions(string, string)
public HLSVideoStreamOutputSinkOptions(string outputRootPath, string playlistFileName)
Parameters
Properties
PlaylistFileName
public string PlaylistFileName { get; }
Property Value
PlaylistLengthInSegments
public int PlaylistLengthInSegments { get; set; }
Property Value
Sink
public override string? Sink { get; }
Property Value
VideoHeight
public int VideoHeight { get; set; }
Property Value
VideoSegmentDurationInSeconds
public int VideoSegmentDurationInSeconds { get; set; }
Property Value
VideoWidth
public int VideoWidth { get; set; }
Property Value
Methods
VideoStreamOutputSinkFactory(ICaptureSource, OutputSinkOptions)
Factory method to create a VideoStreamCaptureSource from the options.
public static IVideoStreamOutputSink? VideoStreamOutputSinkFactory(ICaptureSource captureSource, OutputControl.OutputSinkOptions options)
Parameters
captureSourceICaptureSourceThe capture source to use for the video stream.
optionsOutputControl.OutputSinkOptionsThe output sink options.
Returns
- IVideoStreamOutputSink
An instance of IVideoStreamOutputSink if the options are valid; otherwise, null.