Table of Contents

Class FileOutput

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

Unified file output — replaces v1 EncodedFileOutput and DirectFileOutput. Whether transcoded depends on encoding options on the request.

public sealed class FileOutput : IMessage<FileOutput>, IEquatable<FileOutput>, IDeepCloneable<FileOutput>, IBufferMessage, IMessage
Inheritance
FileOutput
Implements
IMessage<FileOutput>
IDeepCloneable<FileOutput>
IBufferMessage
IMessage
Inherited Members

Constructors

FileOutput()

public FileOutput()

FileOutput(FileOutput)

public FileOutput(FileOutput other)

Parameters

other FileOutput

Fields

DisableManifestFieldNumber

Field number for the "disable_manifest" field.

public const int DisableManifestFieldNumber = 3

Field Value

int

FileTypeFieldNumber

Field number for the "file_type" field.

public const int FileTypeFieldNumber = 1

Field Value

int

FilepathFieldNumber

Field number for the "filepath" field.

public const int FilepathFieldNumber = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DisableManifest

public bool DisableManifest { get; set; }

Property Value

bool

FileType

public EncodedFileType FileType { get; set; }

Property Value

EncodedFileType

Filepath

public string Filepath { get; set; }

Property Value

string

Parser

public static MessageParser<FileOutput> Parser { get; }

Property Value

MessageParser<FileOutput>

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public FileOutput Clone()

Returns

FileOutput

A deep clone of this object.

Equals(FileOutput)

public bool Equals(FileOutput other)

Parameters

other FileOutput

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(FileOutput)

Merges the given message into this one.

public void MergeFrom(FileOutput other)

Parameters

other FileOutput

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.