Class SegmentedFileOutput
Used to generate HLS segments or other kind of segmented output
public sealed class SegmentedFileOutput : IMessage<SegmentedFileOutput>, IEquatable<SegmentedFileOutput>, IDeepCloneable<SegmentedFileOutput>, IBufferMessage, IMessage
- Inheritance
-
SegmentedFileOutput
- Implements
-
IMessage<SegmentedFileOutput>IDeepCloneable<SegmentedFileOutput>IBufferMessageIMessage
- Inherited Members
Constructors
SegmentedFileOutput()
public SegmentedFileOutput()
SegmentedFileOutput(SegmentedFileOutput)
public SegmentedFileOutput(SegmentedFileOutput other)
Parameters
otherSegmentedFileOutput
Fields
AliOSSFieldNumber
Field number for the "aliOSS" field.
public const int AliOSSFieldNumber = 9
Field Value
AzureFieldNumber
Field number for the "azure" field.
public const int AzureFieldNumber = 7
Field Value
DisableManifestFieldNumber
Field number for the "disable_manifest" field.
public const int DisableManifestFieldNumber = 8
Field Value
FilenamePrefixFieldNumber
Field number for the "filename_prefix" field.
public const int FilenamePrefixFieldNumber = 2
Field Value
FilenameSuffixFieldNumber
Field number for the "filename_suffix" field.
public const int FilenameSuffixFieldNumber = 10
Field Value
GcpFieldNumber
Field number for the "gcp" field.
public const int GcpFieldNumber = 6
Field Value
LivePlaylistNameFieldNumber
Field number for the "live_playlist_name" field.
public const int LivePlaylistNameFieldNumber = 11
Field Value
PlaylistNameFieldNumber
Field number for the "playlist_name" field.
public const int PlaylistNameFieldNumber = 3
Field Value
ProtocolFieldNumber
Field number for the "protocol" field.
public const int ProtocolFieldNumber = 1
Field Value
S3FieldNumber
Field number for the "s3" field.
public const int S3FieldNumber = 5
Field Value
SegmentDurationFieldNumber
Field number for the "segment_duration" field.
public const int SegmentDurationFieldNumber = 4
Field Value
Properties
AliOSS
public AliOSSUpload AliOSS { get; set; }
Property Value
Azure
public AzureBlobUpload Azure { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DisableManifest
disable upload of manifest file (default false)
public bool DisableManifest { get; set; }
Property Value
FilenamePrefix
(optional)
public string FilenamePrefix { get; set; }
Property Value
FilenameSuffix
(optional, default INDEX)
public SegmentedFileSuffix FilenameSuffix { get; set; }
Property Value
Gcp
public GCPUpload Gcp { get; set; }
Property Value
LivePlaylistName
(optional, disabled if not provided). Path of a live playlist
public string LivePlaylistName { get; set; }
Property Value
OutputCase
public SegmentedFileOutput.OutputOneofCase OutputCase { get; }
Property Value
Parser
public static MessageParser<SegmentedFileOutput> Parser { get; }
Property Value
- MessageParser<SegmentedFileOutput>
PlaylistName
(optional)
public string PlaylistName { get; set; }
Property Value
Protocol
(optional)
public SegmentedFileProtocol Protocol { get; set; }
Property Value
S3
public S3Upload S3 { get; set; }
Property Value
SegmentDuration
in seconds (optional)
public uint SegmentDuration { get; set; }
Property Value
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.
ClearOutput()
public void ClearOutput()
Clone()
Creates a deep clone of this object.
public SegmentedFileOutput Clone()
Returns
- SegmentedFileOutput
A deep clone of this object.
Equals(SegmentedFileOutput)
public bool Equals(SegmentedFileOutput other)
Parameters
otherSegmentedFileOutput
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(SegmentedFileOutput)
Merges the given message into this one.
public void MergeFrom(SegmentedFileOutput other)
Parameters
otherSegmentedFileOutput
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.