Table of Contents

Class NewPlatformAudioRequest

Namespace
LiveKit.Proto

Create a new PlatformAudio instance.

This enables the platform ADM for microphone capture and speaker playout. If another PlatformAudio instance exists, this reuses the same underlying ADM.

The returned handle must be kept alive while platform audio is needed. When all handles are released, the ADM is automatically disabled.

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

Constructors

NewPlatformAudioRequest()

public NewPlatformAudioRequest()

NewPlatformAudioRequest(NewPlatformAudioRequest)

public NewPlatformAudioRequest(NewPlatformAudioRequest other)

Parameters

other NewPlatformAudioRequest

Properties

Descriptor

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

Property Value

MessageDescriptor

Parser

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

Property Value

MessageParser<NewPlatformAudioRequest>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

Clone()

public NewPlatformAudioRequest Clone()

Returns

NewPlatformAudioRequest

Equals(NewPlatformAudioRequest)

public bool Equals(NewPlatformAudioRequest other)

Parameters

other NewPlatformAudioRequest

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

public void MergeFrom(NewPlatformAudioRequest other)

Parameters

other NewPlatformAudioRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream