Class VideoStreamFromParticipantRequest
Request a video stream from a participant
public sealed class VideoStreamFromParticipantRequest : Google.Protobuf.IMessage<VideoStreamFromParticipantRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
VideoStreamFromParticipantRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
VideoStreamFromParticipantRequest()
public VideoStreamFromParticipantRequest()
VideoStreamFromParticipantRequest(VideoStreamFromParticipantRequest)
public VideoStreamFromParticipantRequest(VideoStreamFromParticipantRequest other)
Parameters
Fields
FormatFieldNumber
Field number for the "format" field.
public const int FormatFieldNumber = 4
Field Value
NormalizeStrideFieldNumber
Field number for the "normalize_stride" field.
public const int NormalizeStrideFieldNumber = 5
Field Value
ParticipantHandleFieldNumber
Field number for the "participant_handle" field.
public const int ParticipantHandleFieldNumber = 1
Field Value
QueueSizeFramesFieldNumber
Field number for the "queue_size_frames" field.
public const int QueueSizeFramesFieldNumber = 6
Field Value
TrackSourceFieldNumber
Field number for the "track_source" field.
public const int TrackSourceFieldNumber = 3
Field Value
TypeFieldNumber
Field number for the "type" field.
public const int TypeFieldNumber = 2
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Format
public VideoBufferType Format { get; set; }
Property Value
HasFormat
Gets whether the "format" field is set
public bool HasFormat { get; }
Property Value
HasNormalizeStride
Gets whether the "normalize_stride" field is set
public bool HasNormalizeStride { get; }
Property Value
HasParticipantHandle
Gets whether the "participant_handle" field is set
public bool HasParticipantHandle { get; }
Property Value
HasQueueSizeFrames
Gets whether the "queue_size_frames" field is set
public bool HasQueueSizeFrames { get; }
Property Value
HasTrackSource
Gets whether the "track_source" field is set
public bool HasTrackSource { get; }
Property Value
HasType
Gets whether the "type" field is set
public bool HasType { get; }
Property Value
NormalizeStride
public bool NormalizeStride { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<VideoStreamFromParticipantRequest> Parser { get; }
Property Value
- MessageParser<VideoStreamFromParticipantRequest>
ParticipantHandle
public ulong ParticipantHandle { get; set; }
Property Value
QueueSizeFrames
Maximum number of queued WebRTC sink frames on the receive path. Omit this field to use the default bounded queue size of 1 frame. Set it to 0 to request unbounded buffering.
If your application consumes both audio and video, keep the queue sizing strategy coordinated across both streams. Using a much larger queue, or unbounded buffering, for only one of them can increase end-to-end latency for that stream and cause audio/video drift.
public uint QueueSizeFrames { get; set; }
Property Value
TrackSource
public TrackSource TrackSource { get; set; }
Property Value
Type
public VideoStreamType Type { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearFormat()
Clears the value of the "format" field
public void ClearFormat()
ClearNormalizeStride()
Clears the value of the "normalize_stride" field
public void ClearNormalizeStride()
ClearParticipantHandle()
Clears the value of the "participant_handle" field
public void ClearParticipantHandle()
ClearQueueSizeFrames()
Clears the value of the "queue_size_frames" field
public void ClearQueueSizeFrames()
ClearTrackSource()
Clears the value of the "track_source" field
public void ClearTrackSource()
ClearType()
Clears the value of the "type" field
public void ClearType()
Clone()
public VideoStreamFromParticipantRequest Clone()
Returns
Equals(VideoStreamFromParticipantRequest)
public bool Equals(VideoStreamFromParticipantRequest 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(VideoStreamFromParticipantRequest)
public void MergeFrom(VideoStreamFromParticipantRequest other)
Parameters
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream