Table of Contents

Class CaptureAudioFrameRequest

Namespace
LiveKit.Proto

Push a frame to an AudioSource The data provided must be available as long as the client receive the callback.

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

Constructors

CaptureAudioFrameRequest()

public CaptureAudioFrameRequest()

CaptureAudioFrameRequest(CaptureAudioFrameRequest)

public CaptureAudioFrameRequest(CaptureAudioFrameRequest other)

Parameters

other CaptureAudioFrameRequest

Fields

BufferFieldNumber

Field number for the "buffer" field.

public const int BufferFieldNumber = 2

Field Value

int

RequestAsyncIdFieldNumber

Field number for the "request_async_id" field.

public const int RequestAsyncIdFieldNumber = 3

Field Value

int

SourceHandleFieldNumber

Field number for the "source_handle" field.

public const int SourceHandleFieldNumber = 1

Field Value

int

Properties

Buffer

public AudioFrameBufferInfo Buffer { get; set; }

Property Value

AudioFrameBufferInfo

Descriptor

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

Property Value

MessageDescriptor

HasRequestAsyncId

Gets whether the "request_async_id" field is set

public bool HasRequestAsyncId { get; }

Property Value

bool

HasSourceHandle

Gets whether the "source_handle" field is set

public bool HasSourceHandle { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<CaptureAudioFrameRequest>

RequestAsyncId

public ulong RequestAsyncId { get; set; }

Property Value

ulong

SourceHandle

public ulong SourceHandle { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearRequestAsyncId()

Clears the value of the "request_async_id" field

public void ClearRequestAsyncId()

ClearSourceHandle()

Clears the value of the "source_handle" field

public void ClearSourceHandle()

Clone()

public CaptureAudioFrameRequest Clone()

Returns

CaptureAudioFrameRequest

Equals(CaptureAudioFrameRequest)

public bool Equals(CaptureAudioFrameRequest other)

Parameters

other CaptureAudioFrameRequest

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

public void MergeFrom(CaptureAudioFrameRequest other)

Parameters

other CaptureAudioFrameRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream