Class CustomH264EncoderSettings
Custom H264 encoder settings. Implements the IH264EncoderSettings
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEncoders
Assembly: VisioForge.Core.dll
Syntax
public class CustomH264EncoderSettings : IH264EncoderSettings, IVideoEncoder, IMediaBlockSettings, IEncoderTextInfo
Constructors
CustomH264EncoderSettings(string)
Initializes a new instance of the CustomH264EncoderSettings class.
Declaration
public CustomH264EncoderSettings(string elementName)
Parameters
Type | Name | Description |
---|---|---|
string | elementName | Name of the element. |
Properties
ElementName
Gets the name of the element.
Declaration
public string ElementName { get; }
Property Value
Type | Description |
---|---|
string | The name of the element. |
KeyFrameDetected
Occurs when on key frame detected. Timestamp is in nanoseconds.
Declaration
public KeyFrameDetectedDelegate KeyFrameDetected { get; set; }
Property Value
Type | Description |
---|---|
KeyFrameDetectedDelegate |
ParseStream
Gets or sets a value indicating whether to parse the video stream. True by default. Disable it for SRT streaming.
Declaration
public bool ParseStream { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Properties
Gets the properties. Use them co configure encoder.
Declaration
public Dictionary<string, object> Properties { get; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> | The properties. |
VideoFormat
Gets or sets the video format, required by encoder.
Declaration
public VideoFormatX VideoFormat { get; set; }
Property Value
Type | Description |
---|---|
VideoFormatX | The video format. |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |
GetCaps()
Gets the caps.
Declaration
public string GetCaps()
Returns
Type | Description |
---|---|
string | System.String. |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
GetEncoderType()
Gets the type of the encoder.
Declaration
public H264EncoderType GetEncoderType()
Returns
Type | Description |
---|---|
H264EncoderType | H264EncoderType. |
GetParameters()
Gets the parameters as string.
Declaration
public string GetParameters()
Returns
Type | Description |
---|---|
string | System.String. |
Exceptions
Type | Condition |
---|---|
NotImplementedException |