Table of Contents

Class CreateVideoTrackRequest

Namespace
LiveKit.Proto

Create a new VideoTrack from a VideoSource

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

Constructors

CreateVideoTrackRequest()

public CreateVideoTrackRequest()

CreateVideoTrackRequest(CreateVideoTrackRequest)

public CreateVideoTrackRequest(CreateVideoTrackRequest other)

Parameters

other CreateVideoTrackRequest

Fields

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 1

Field Value

int

SourceHandleFieldNumber

Field number for the "source_handle" field.

public const int SourceHandleFieldNumber = 2

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasName

Gets whether the "name" field is set

public bool HasName { get; }

Property Value

bool

HasSourceHandle

Gets whether the "source_handle" field is set

public bool HasSourceHandle { get; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Parser

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

Property Value

MessageParser<CreateVideoTrackRequest>

SourceHandle

public ulong SourceHandle { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearName()

Clears the value of the "name" field

public void ClearName()

ClearSourceHandle()

Clears the value of the "source_handle" field

public void ClearSourceHandle()

Clone()

public CreateVideoTrackRequest Clone()

Returns

CreateVideoTrackRequest

Equals(CreateVideoTrackRequest)

public bool Equals(CreateVideoTrackRequest other)

Parameters

other CreateVideoTrackRequest

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

public void MergeFrom(CreateVideoTrackRequest other)

Parameters

other CreateVideoTrackRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream