setEncoderInfo

@NotNull
abstract fun setEncoderInfo(@Nullable encoderInfo: @Nullable CodecInfo): @NotNull ServerActivation.Builder

Sets the encoder information for the activation.

If not null, the client will use this information to encode audio data; otherwise, the server's encoder will be used.

Default: null

Return

The builder instance.

Parameters

encoderInfo

The encoder information.

See also