NEWDolby Interactivity APIs are now the Dolby.io Communications APIs Learn More >
X

ParamsHolder

The ParamsHolder model model allows the application to:

Available in the package com.voxeet.sdk.json.internal.ParamsHolder.

Methods

setVideoCodec

setVideoCodec(@NonNull videoCodec: String): ParamsHolder

The preferred video codec, either H264, VP8, or none. By default, the value is set to H264. Setting this parameter to none results in creating a conference that does not allow participants to enable their videos.

Parameters

NameTypeDescription
videoCodecStringnon null The selected video codec.

Returns: ParamsHolder


setAudioOnly

setAudioOnly(audioOnly: boolean): ParamsHolder

A boolean that indicates whether the application wishes to create an audio-only conference. Setting this parameter to true results in creating a conference that does not allow participants to enable their videos.

Parameters

NameTypeDescription
audioOnlybooleanA boolean that indicates whether SDK should create an audio-only conference.

Returns: ParamsHolder


setDolbyVoice

setDolbyVoice(activate: boolean): ParamsHolder

Creates a conference enabled with Dolby Voice. For more information about Dolby Voice, see this article. By default, the parameter is set to true.

Parameters

NameTypeDescription
activatebooleanA boolean that specifies whether the application wishes to create a Dolby Voice conference.

Returns: ParamsHolder


setSimulcast

setSimulcast(state: boolean): ParamsHolder

Sets the Simulcast transmission for a specific conference.

Parameters

NameTypeDescription
statebooleanA boolean that indicates whether SDK should enable Simulcast.

Returns: ParamsHolder - the current instance.


build

build(): HashMap<String, Object>

Builds a holder in a native HashMap.

Returns: @NonNull HashMap<String, Object>



Did this page help you?