fix: typo when parsing recordFullDurationMedia API param

This commit is contained in:
prlanzarin 2023-06-01 15:05:35 -03:00
parent e92862ee00
commit 9f46b10485

View File

@ -505,7 +505,7 @@ public class ParamsProcessorUtil {
}
boolean _recordFullDurationMedia = recordFullDurationMedia;
if (!StringUtils.isEmpty(params.get(ApiParams.ALLOW_START_STOP_RECORDING))) {
if (!StringUtils.isEmpty(params.get(ApiParams.RECORD_FULL_DURATION_MEDIA))) {
try {
_recordFullDurationMedia = Boolean.parseBoolean(params
.get(ApiParams.RECORD_FULL_DURATION_MEDIA));