Table of Contents

Class NewCaptureSourceRequest

Namespace
LiveKit.Proto

Create a new capture source from configuration.

Completes asynchronously with a NewCaptureSourceCallback: construction starts the producer and may wait for its first output to discover stream settings.

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

Constructors

NewCaptureSourceRequest()

public NewCaptureSourceRequest()

NewCaptureSourceRequest(NewCaptureSourceRequest)

public NewCaptureSourceRequest(NewCaptureSourceRequest other)

Parameters

other NewCaptureSourceRequest

Fields

ClockFieldNumber

Field number for the "clock" field.

public const int ClockFieldNumber = 5

Field Value

int

GstreamerFieldNumber

Field number for the "gstreamer" field.

public const int GstreamerFieldNumber = 1

Field Value

int

PatternFieldNumber

Field number for the "pattern" field.

public const int PatternFieldNumber = 2

Field Value

int

RequestAsyncIdFieldNumber

Field number for the "request_async_id" field.

public const int RequestAsyncIdFieldNumber = 3

Field Value

int

Properties

Clock

public ClockVideoSourceConfig Clock { get; set; }

Property Value

ClockVideoSourceConfig

ConfigCase

public NewCaptureSourceRequest.ConfigOneofCase ConfigCase { get; }

Property Value

NewCaptureSourceRequest.ConfigOneofCase

Descriptor

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

Property Value

MessageDescriptor

Gstreamer

public GstreamerVideoSourceConfig Gstreamer { get; set; }

Property Value

GstreamerVideoSourceConfig

HasRequestAsyncId

Gets whether the "request_async_id" field is set

public bool HasRequestAsyncId { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<NewCaptureSourceRequest>

Pattern

public PatternVideoSourceConfig Pattern { get; set; }

Property Value

PatternVideoSourceConfig

RequestAsyncId

public ulong RequestAsyncId { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearConfig()

public void ClearConfig()

ClearRequestAsyncId()

Clears the value of the "request_async_id" field

public void ClearRequestAsyncId()

Clone()

public NewCaptureSourceRequest Clone()

Returns

NewCaptureSourceRequest

Equals(NewCaptureSourceRequest)

public bool Equals(NewCaptureSourceRequest other)

Parameters

other NewCaptureSourceRequest

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

public void MergeFrom(NewCaptureSourceRequest other)

Parameters

other NewCaptureSourceRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream