2020 API AWARDS WINNER - BEST IN MEDIA APIs LEARN MORE

ParamsHolder

The ParamsHolder model sets video codecs, Simulcast transmission, and builds the holder in a native HashMap.

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

Methods

setVideoCodec

setVideoCodec(@NonNull videoCodec: String): ParamsHolder

Sets video codecs (VP8 or H264) for a specific conference.

Parameters

NameTypeDescription
videoCodecStringnon null video codec

Returns: ParamsHolder - the current instance.

setSimulcast

setSimulcast(state: boolean): ParamsHolder

Sets the Simulcast transmission for a specific conference.

Parameters

NameTypeDescription
statebooleanuse simulcast feature

Returns: ParamsHolder - the current instance.

build

build(): HashMap<String, Object>

Builds the holder into a native HashMap.

Returns: @NonNull HashMap<String, Object> - the created map.