Class HLSSettings
HLS settings.
Inherited Members
Namespace: VisioForge.Core.Types.Output
Assembly: VisioForge.Core.dll
Syntax
public sealed class HLSSettings
Constructors
HLSSettings()
Initializes a new instance of the HLSSettings class.
Declaration
public HLSSettings()
Properties
Custom_HTTP_Server_Enabled
Gets or sets a value indicating whether custom HTTP server enabled. If this value set to true SDK will create small lightweight HTTP server to handle HTTP requests for streaming. Can be used as a small alternative to IIS or other server.
Declaration
public bool Custom_HTTP_Server_Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
Custom_HTTP_Server_Port
Gets or sets port number for custom HTTP server.
Declaration
public int Custom_HTTP_Server_Port { get; set; }
Property Value
Type | Description |
---|---|
int |
NumSegments
Gets or sets number of segments saved on disk. Set 0 to not remove.
Declaration
public int NumSegments { get; set; }
Property Value
Type | Description |
---|---|
int |
OutputFolder
Gets or sets output folder to save playlist and video files.
Declaration
public string OutputFolder { get; set; }
Property Value
Type | Description |
---|---|
string |
PartName
Gets or sets part name.
Declaration
public string PartName { get; set; }
Property Value
Type | Description |
---|---|
string |
PlaylistName
Gets or sets playlist file name.
Declaration
public string PlaylistName { get; set; }
Property Value
Type | Description |
---|---|
string |
PlaylistType
Gets or sets playlist type.
Declaration
public HLSPlaylistType PlaylistType { get; set; }
Property Value
Type | Description |
---|---|
HLSPlaylistType |
SegmentDuration
Gets or sets segment duration.
Declaration
public int SegmentDuration { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
Load(string)
Loads from JSON.
Declaration
public static HLSSettings Load(string json)
Parameters
Type | Name | Description |
---|---|---|
string | json | JSON string. |
Returns
Type | Description |
---|---|
HLSSettings | The string. |
Save()
Saves to JSON.
Declaration
public string Save()
Returns
Type | Description |
---|---|
string | The string. |