Class EncodedRateControl
public sealed class EncodedRateControl : Google.Protobuf.IMessage<EncodedRateControl>, Google.Protobuf.IBufferMessage
- Inheritance
-
EncodedRateControl
- Implements
-
IBufferMessage
- Extension Methods
Constructors
EncodedRateControl()
public EncodedRateControl()
EncodedRateControl(EncodedRateControl)
public EncodedRateControl(EncodedRateControl other)
Parameters
otherEncodedRateControl
Fields
FramerateFpsFieldNumber
Field number for the "framerate_fps" field.
public const int FramerateFpsFieldNumber = 2
Field Value
TargetBitrateBpsFieldNumber
Field number for the "target_bitrate_bps" field.
public const int TargetBitrateBpsFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
FramerateFps
public double FramerateFps { get; set; }
Property Value
HasFramerateFps
Gets whether the "framerate_fps" field is set
public bool HasFramerateFps { get; }
Property Value
HasTargetBitrateBps
Gets whether the "target_bitrate_bps" field is set
public bool HasTargetBitrateBps { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<EncodedRateControl> Parser { get; }
Property Value
- MessageParser<EncodedRateControl>
TargetBitrateBps
public ulong TargetBitrateBps { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearFramerateFps()
Clears the value of the "framerate_fps" field
public void ClearFramerateFps()
ClearTargetBitrateBps()
Clears the value of the "target_bitrate_bps" field
public void ClearTargetBitrateBps()
Clone()
public EncodedRateControl Clone()
Returns
Equals(EncodedRateControl)
public bool Equals(EncodedRateControl other)
Parameters
otherEncodedRateControl
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(EncodedRateControl)
public void MergeFrom(EncodedRateControl other)
Parameters
otherEncodedRateControl
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream