-
public final class AudioTrackPublishDefaults extends BaseAudioTrackPublishOptions
Default options for publishing an audio track.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegeraudioBitrateprivate final Booleandtxprivate final Booleanredprivate final Booleanpreconnect
-
Constructor Summary
Constructors Constructor Description AudioTrackPublishDefaults(Integer audioBitrate, Boolean dtx, Boolean red, Boolean preconnect)
-
Method Summary
Modifier and Type Method Description IntegergetAudioBitrate()The target audioBitrate to use. BooleangetDtx()dtx (Discontinuous Transmission of audio), enabled by default for mono tracks. BooleangetRed()red (Redundant Audio Data), enabled by default for mono tracks. BooleangetPreconnect()preconnect buffer, starts the audio track and buffers it prior to connection, in order to send it to agents that connect afterwards. -
-
Method Detail
-
getAudioBitrate
Integer getAudioBitrate()
The target audioBitrate to use.
-
getDtx
Boolean getDtx()
dtx (Discontinuous Transmission of audio), enabled by default for mono tracks.
-
getPreconnect
Boolean getPreconnect()
preconnect buffer, starts the audio track and buffers it prior to connection, in order to send it to agents that connect afterwards. Improves perceived connection time.
-
-
-
-