Table of Contents

Class GetAudioDevicesRequest

Namespace
LiveKit.Proto

Get available audio devices.

Returns lists of available recording (microphone) and playout (speaker) devices.

Platform Notes

  • Desktop (Windows/macOS/Linux): Returns all available devices with names and GUIDs.
  • Mobile (iOS/Android): Returns only one "default" device with empty name and GUID. Device enumeration is not meaningful on mobile - use for device count only.
public sealed class GetAudioDevicesRequest : Google.Protobuf.IMessage<GetAudioDevicesRequest>, Google.Protobuf.IBufferMessage
Inheritance
GetAudioDevicesRequest
Implements
IBufferMessage
Extension Methods

Constructors

GetAudioDevicesRequest()

public GetAudioDevicesRequest()

GetAudioDevicesRequest(GetAudioDevicesRequest)

public GetAudioDevicesRequest(GetAudioDevicesRequest other)

Parameters

other GetAudioDevicesRequest

Fields

PlatformAudioHandleFieldNumber

Field number for the "platform_audio_handle" field.

public const int PlatformAudioHandleFieldNumber = 1

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasPlatformAudioHandle

Gets whether the "platform_audio_handle" field is set

public bool HasPlatformAudioHandle { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<GetAudioDevicesRequest>

PlatformAudioHandle

The PlatformAudio handle.

public ulong PlatformAudioHandle { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearPlatformAudioHandle()

Clears the value of the "platform_audio_handle" field

public void ClearPlatformAudioHandle()

Clone()

public GetAudioDevicesRequest Clone()

Returns

GetAudioDevicesRequest

Equals(GetAudioDevicesRequest)

public bool Equals(GetAudioDevicesRequest other)

Parameters

other GetAudioDevicesRequest

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(GetAudioDevicesRequest)

public void MergeFrom(GetAudioDevicesRequest other)

Parameters

other GetAudioDevicesRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream