Class CaptureEncodedVideoFrameRequest
Push one complete pre-encoded access unit to an encoded VideoSource.
public sealed class CaptureEncodedVideoFrameRequest : Google.Protobuf.IMessage<CaptureEncodedVideoFrameRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
CaptureEncodedVideoFrameRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
CaptureEncodedVideoFrameRequest()
public CaptureEncodedVideoFrameRequest()
CaptureEncodedVideoFrameRequest(CaptureEncodedVideoFrameRequest)
public CaptureEncodedVideoFrameRequest(CaptureEncodedVideoFrameRequest other)
Parameters
Fields
BufferFieldNumber
Field number for the "buffer" field.
public const int BufferFieldNumber = 2
Field Value
CodecFieldNumber
Field number for the "codec" field.
public const int CodecFieldNumber = 3
Field Value
FrameTypeFieldNumber
Field number for the "frame_type" field.
public const int FrameTypeFieldNumber = 4
Field Value
HeightFieldNumber
Field number for the "height" field.
public const int HeightFieldNumber = 6
Field Value
MetadataFieldNumber
Field number for the "metadata" field.
public const int MetadataFieldNumber = 8
Field Value
SourceHandleFieldNumber
Field number for the "source_handle" field.
public const int SourceHandleFieldNumber = 1
Field Value
TimestampUsFieldNumber
Field number for the "timestamp_us" field.
public const int TimestampUsFieldNumber = 7
Field Value
WidthFieldNumber
Field number for the "width" field.
public const int WidthFieldNumber = 5
Field Value
Properties
Buffer
public EncodedVideoBufferInfo Buffer { get; set; }
Property Value
Codec
public VideoCodec Codec { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
FrameType
public EncodedFrameType FrameType { get; set; }
Property Value
HasCodec
Gets whether the "codec" field is set
public bool HasCodec { get; }
Property Value
HasFrameType
Gets whether the "frame_type" field is set
public bool HasFrameType { get; }
Property Value
HasHeight
Gets whether the "height" field is set
public bool HasHeight { get; }
Property Value
HasSourceHandle
Gets whether the "source_handle" field is set
public bool HasSourceHandle { get; }
Property Value
HasTimestampUs
Gets whether the "timestamp_us" field is set
public bool HasTimestampUs { get; }
Property Value
HasWidth
Gets whether the "width" field is set
public bool HasWidth { get; }
Property Value
Height
public uint Height { get; set; }
Property Value
Metadata
public FrameMetadata Metadata { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<CaptureEncodedVideoFrameRequest> Parser { get; }
Property Value
- MessageParser<CaptureEncodedVideoFrameRequest>
SourceHandle
public ulong SourceHandle { get; set; }
Property Value
TimestampUs
public long TimestampUs { get; set; }
Property Value
Width
public uint Width { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearCodec()
Clears the value of the "codec" field
public void ClearCodec()
ClearFrameType()
Clears the value of the "frame_type" field
public void ClearFrameType()
ClearHeight()
Clears the value of the "height" field
public void ClearHeight()
ClearSourceHandle()
Clears the value of the "source_handle" field
public void ClearSourceHandle()
ClearTimestampUs()
Clears the value of the "timestamp_us" field
public void ClearTimestampUs()
ClearWidth()
Clears the value of the "width" field
public void ClearWidth()
Clone()
public CaptureEncodedVideoFrameRequest Clone()
Returns
Equals(CaptureEncodedVideoFrameRequest)
public bool Equals(CaptureEncodedVideoFrameRequest other)
Parameters
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(CaptureEncodedVideoFrameRequest)
public void MergeFrom(CaptureEncodedVideoFrameRequest other)
Parameters
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream