Struct PeerConnection.H264Config
Configuration for the Media Foundation H.264 encoder.
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public struct H264Config
Fields
| Improve this Doc View SourceMaxQp
If set to a value between 0 and 51, determines the max QP to use for encoding.
Declaration
public int? MaxQp
Field Value
Type | Description |
---|---|
Nullable<Int32> |
Profile
H.264 profile. Note : by default we should use what's passed by WebRTC on codec initialization (which seems to be always ConstrainedBaseline), but we use Baseline to avoid changing behavior compared to earlier versions.
Declaration
public PeerConnection.H264Profile Profile
Field Value
Type | Description |
---|---|
PeerConnection.H264Profile |
Quality
If set to a value between 0 and 100, determines the target quality value. The effect of this depends on the encoder and on the rate control mode chosen. In the Quality RC mode this will be the target for the whole stream, while in VBR it might be used as a target for individual frames while the average quality of the stream is determined by the target bitrate.
Declaration
public int? Quality
Field Value
Type | Description |
---|---|
Nullable<Int32> |
RcMode
Rate control mode.
Declaration
public PeerConnection.H264RcMode? RcMode
Field Value
Type | Description |
---|---|
Nullable<PeerConnection.H264RcMode> |