Class AudioStreamFromParticipantRequest
public sealed class AudioStreamFromParticipantRequest : Google.Protobuf.IMessage<AudioStreamFromParticipantRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
AudioStreamFromParticipantRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
AudioStreamFromParticipantRequest()
public AudioStreamFromParticipantRequest()
AudioStreamFromParticipantRequest(AudioStreamFromParticipantRequest)
public AudioStreamFromParticipantRequest(AudioStreamFromParticipantRequest other)
Parameters
Fields
AudioFilterModuleIdFieldNumber
Field number for the "audio_filter_module_id" field.
public const int AudioFilterModuleIdFieldNumber = 7
Field Value
AudioFilterOptionsFieldNumber
Field number for the "audio_filter_options" field.
public const int AudioFilterOptionsFieldNumber = 8
Field Value
FrameSizeMsFieldNumber
Field number for the "frame_size_ms" field.
public const int FrameSizeMsFieldNumber = 9
Field Value
NumChannelsFieldNumber
Field number for the "num_channels" field.
public const int NumChannelsFieldNumber = 6
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 = 10
Field Value
SampleRateFieldNumber
Field number for the "sample_rate" field.
public const int SampleRateFieldNumber = 5
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
AudioFilterModuleId
public string AudioFilterModuleId { get; set; }
Property Value
AudioFilterOptions
public string AudioFilterOptions { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
FrameSizeMs
public uint FrameSizeMs { get; set; }
Property Value
HasAudioFilterModuleId
Gets whether the "audio_filter_module_id" field is set
public bool HasAudioFilterModuleId { get; }
Property Value
HasAudioFilterOptions
Gets whether the "audio_filter_options" field is set
public bool HasAudioFilterOptions { get; }
Property Value
HasFrameSizeMs
Gets whether the "frame_size_ms" field is set
public bool HasFrameSizeMs { get; }
Property Value
HasNumChannels
Gets whether the "num_channels" field is set
public bool HasNumChannels { 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
HasSampleRate
Gets whether the "sample_rate" field is set
public bool HasSampleRate { 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
NumChannels
public uint NumChannels { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<AudioStreamFromParticipantRequest> Parser { get; }
Property Value
- MessageParser<AudioStreamFromParticipantRequest>
ParticipantHandle
public ulong ParticipantHandle { get; set; }
Property Value
QueueSizeFrames
Maximum number of queued WebRTC sink frames. Each frame is typically 10 ms of decoded PCM audio on the receive path. Omit this field to use the default bounded queue size of 10 frames. 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
SampleRate
public uint SampleRate { get; set; }
Property Value
TrackSource
public TrackSource TrackSource { get; set; }
Property Value
Type
public AudioStreamType Type { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearAudioFilterModuleId()
Clears the value of the "audio_filter_module_id" field
public void ClearAudioFilterModuleId()
ClearAudioFilterOptions()
Clears the value of the "audio_filter_options" field
public void ClearAudioFilterOptions()
ClearFrameSizeMs()
Clears the value of the "frame_size_ms" field
public void ClearFrameSizeMs()
ClearNumChannels()
Clears the value of the "num_channels" field
public void ClearNumChannels()
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()
ClearSampleRate()
Clears the value of the "sample_rate" field
public void ClearSampleRate()
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 AudioStreamFromParticipantRequest Clone()
Returns
Equals(AudioStreamFromParticipantRequest)
public bool Equals(AudioStreamFromParticipantRequest 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(AudioStreamFromParticipantRequest)
public void MergeFrom(AudioStreamFromParticipantRequest other)
Parameters
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream