OggMuxer.Builder


class OggMuxer.Builder


Builder for OggMuxer instances.

Summary

Public constructors

Builder(outputChannel: WritableByteChannel!)

Creates a Builder.

Public functions

OggMuxer!

Builds an OggMuxer.

OggMuxer.Builder!

Sets the vendor string written to the Opus comment header.

Public constructors

Builder

Builder(outputChannel: WritableByteChannel!)

Creates a Builder.

Parameters
outputChannel: WritableByteChannel!

The WritableByteChannel where the output will be written. The outputChannel will be closed when close is called on the muxer.

Public functions

build

fun build(): OggMuxer!

Builds an OggMuxer.

setVendorString

@CanIgnoreReturnValue
fun setVendorString(vendorString: String!): OggMuxer.Builder!

Sets the vendor string written to the Opus comment header. The default value is VERSION_SLASHY.

Parameters
vendorString: String!

The vendor string to use.

Returns
OggMuxer.Builder!

This builder.