Class IngressVideoOptions
public sealed class IngressVideoOptions : IMessage<IngressVideoOptions>, IEquatable<IngressVideoOptions>, IDeepCloneable<IngressVideoOptions>, IBufferMessage, IMessage
- Inheritance
-
IngressVideoOptions
- Implements
-
IMessage<IngressVideoOptions>IDeepCloneable<IngressVideoOptions>IBufferMessageIMessage
- Inherited Members
Constructors
IngressVideoOptions()
public IngressVideoOptions()
IngressVideoOptions(IngressVideoOptions)
public IngressVideoOptions(IngressVideoOptions other)
Parameters
otherIngressVideoOptions
Fields
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 1
Field Value
OptionsFieldNumber
Field number for the "options" field.
public const int OptionsFieldNumber = 4
Field Value
PresetFieldNumber
Field number for the "preset" field.
public const int PresetFieldNumber = 3
Field Value
SourceFieldNumber
Field number for the "source" field.
public const int SourceFieldNumber = 2
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EncodingOptionsCase
public IngressVideoOptions.EncodingOptionsOneofCase EncodingOptionsCase { get; }
Property Value
HasPreset
Gets whether the "preset" field is set
public bool HasPreset { get; }
Property Value
Name
public string Name { get; set; }
Property Value
Options
public IngressVideoEncodingOptions Options { get; set; }
Property Value
Parser
public static MessageParser<IngressVideoOptions> Parser { get; }
Property Value
- MessageParser<IngressVideoOptions>
Preset
public IngressVideoEncodingPreset Preset { get; set; }
Property Value
Source
public TrackSource Source { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearEncodingOptions()
public void ClearEncodingOptions()
ClearPreset()
Clears the value of the oneof if it's currently set to "preset"
public void ClearPreset()
Clone()
Creates a deep clone of this object.
public IngressVideoOptions Clone()
Returns
- IngressVideoOptions
A deep clone of this object.
Equals(IngressVideoOptions)
public bool Equals(IngressVideoOptions other)
Parameters
otherIngressVideoOptions
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(IngressVideoOptions)
Merges the given message into this one.
public void MergeFrom(IngressVideoOptions other)
Parameters
otherIngressVideoOptions
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.