Table of Contents

Class PlatformAudioInfo

Namespace
LiveKit.Proto

Information about a PlatformAudio instance.

public sealed class PlatformAudioInfo : Google.Protobuf.IMessage<PlatformAudioInfo>, Google.Protobuf.IBufferMessage
Inheritance
PlatformAudioInfo
Implements
IBufferMessage
Extension Methods

Constructors

PlatformAudioInfo()

public PlatformAudioInfo()

PlatformAudioInfo(PlatformAudioInfo)

public PlatformAudioInfo(PlatformAudioInfo other)

Parameters

other PlatformAudioInfo

Fields

PlayoutDeviceCountFieldNumber

Field number for the "playout_device_count" field.

public const int PlayoutDeviceCountFieldNumber = 2

Field Value

int

RecordingDeviceCountFieldNumber

Field number for the "recording_device_count" field.

public const int RecordingDeviceCountFieldNumber = 1

Field Value

int

Properties

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasPlayoutDeviceCount

Gets whether the "playout_device_count" field is set

public bool HasPlayoutDeviceCount { get; }

Property Value

bool

HasRecordingDeviceCount

Gets whether the "recording_device_count" field is set

public bool HasRecordingDeviceCount { get; }

Property Value

bool

Parser

public static Google.Protobuf.MessageParser<PlatformAudioInfo> Parser { get; }

Property Value

MessageParser<PlatformAudioInfo>

PlayoutDeviceCount

Number of available playout (speaker) devices.

public int PlayoutDeviceCount { get; set; }

Property Value

int

RecordingDeviceCount

Number of available recording (microphone) devices.

public int RecordingDeviceCount { get; set; }

Property Value

int

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearPlayoutDeviceCount()

Clears the value of the "playout_device_count" field

public void ClearPlayoutDeviceCount()

ClearRecordingDeviceCount()

Clears the value of the "recording_device_count" field

public void ClearRecordingDeviceCount()

Clone()

public PlatformAudioInfo Clone()

Returns

PlatformAudioInfo

Equals(PlatformAudioInfo)

public bool Equals(PlatformAudioInfo other)

Parameters

other PlatformAudioInfo

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(PlatformAudioInfo)

public void MergeFrom(PlatformAudioInfo other)

Parameters

other PlatformAudioInfo

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream