OggMuxer.Builder


public final class OggMuxer.Builder


Builder for OggMuxer instances.

Summary

Public constructors

Creates a Builder.

Public methods

OggMuxer

Builds an OggMuxer.

OggMuxer.Builder

Sets the vendor string written to the Opus comment header.

Public constructors

Builder

public Builder(WritableByteChannel outputChannel)

Creates a Builder.

Parameters
WritableByteChannel outputChannel

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

Public methods

build

public OggMuxer build()

Builds an OggMuxer.

setVendorString

@CanIgnoreReturnValue
public OggMuxer.Builder setVendorString(String vendorString)

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

Parameters
String vendorString

The vendor string to use.

Returns
OggMuxer.Builder

This builder.