Class CaptureVideoFrameRequest
Push a frame to a VideoSource
public sealed class CaptureVideoFrameRequest : Google.Protobuf.IMessage<CaptureVideoFrameRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
CaptureVideoFrameRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
CaptureVideoFrameRequest()
public CaptureVideoFrameRequest()
CaptureVideoFrameRequest(CaptureVideoFrameRequest)
public CaptureVideoFrameRequest(CaptureVideoFrameRequest other)
Parameters
otherCaptureVideoFrameRequest
Fields
BufferFieldNumber
Field number for the "buffer" field.
public const int BufferFieldNumber = 2
Field Value
RotationFieldNumber
Field number for the "rotation" field.
public const int RotationFieldNumber = 4
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 = 3
Field Value
Properties
Buffer
public VideoBufferInfo Buffer { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasRotation
Gets whether the "rotation" field is set
public bool HasRotation { 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
Parser
public static Google.Protobuf.MessageParser<CaptureVideoFrameRequest> Parser { get; }
Property Value
- MessageParser<CaptureVideoFrameRequest>
Rotation
public VideoRotation Rotation { get; set; }
Property Value
SourceHandle
public ulong SourceHandle { get; set; }
Property Value
TimestampUs
In microseconds
public long TimestampUs { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearRotation()
Clears the value of the "rotation" field
public void ClearRotation()
ClearSourceHandle()
Clears the value of the "source_handle" field
public void ClearSourceHandle()
ClearTimestampUs()
Clears the value of the "timestamp_us" field
public void ClearTimestampUs()
Clone()
public CaptureVideoFrameRequest Clone()
Returns
Equals(CaptureVideoFrameRequest)
public bool Equals(CaptureVideoFrameRequest other)
Parameters
otherCaptureVideoFrameRequest
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(CaptureVideoFrameRequest)
public void MergeFrom(CaptureVideoFrameRequest other)
Parameters
otherCaptureVideoFrameRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream