Class HLSSinkSettings
HLS sink settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.Sinks
Assembly: VisioForge.Core.dll
Syntax
public class HLSSinkSettings
Properties
Custom_HTTP_Server_Enabled
Gets or sets a value indicating whether the custom HTTP server enabled.
Declaration
public bool Custom_HTTP_Server_Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Custom_HTTP_Server_Port
Gets or sets the custom HTTP server port.
Declaration
public int Custom_HTTP_Server_Port { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The custom HTTP server port. |
Location
Gets or sets the location.
Declaration
public string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MaxFiles
Gets or sets the maximum number of files to keep on disk. Once the maximum is reached, old files start to be deleted to make room for new ones.
Declaration
public uint MaxFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
PlaylistLength
Gets or sets the length of the HLS playlist. By HLS specification, this should be at least 3. If set to 0, the playlist will be infinite.
Declaration
public uint PlaylistLength { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
PlaylistLocation
Gets or sets the location of the playlist to write.
Declaration
public string PlaylistLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlaylistRoot
Gets or sets the playlist root.
Declaration
public string PlaylistRoot { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SendKeyframeRequests
Gets or sets a value indicating whether to send keyframe requests to ensure correct fragmentation. If this is disabled, then the input must have keyframes in regular intervals.
Declaration
public bool SendKeyframeRequests { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
TargetDuration
Gets or sets the target duration in seconds of a segment/file. 0 - disabled, useful for management of segment duration by the streaming server.
Declaration
public uint TargetDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
CheckAndCreateFolders()
Checks the and create folders.
Declaration
public void CheckAndCreateFolders()