alexandroid/decompiled/jadx/sources/com/amazon/comms/calling/service/VideoConfiguration.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

209 lines
7.2 KiB
Java

package com.amazon.comms.calling.service;
import com.amazon.alexa.ra.core.ui.markdown.parser.formatter.MarkdownConstants;
import defpackage.a$$ExternalSyntheticOutline0;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes20.dex */
public class VideoConfiguration {
boolean camera1APIPreferred;
boolean camera2APIForced;
boolean captureToTexture;
boolean ignoreCameraEvictionError;
boolean overrideRemoteVideoMaxBitrate;
boolean provideCallingServiceHalParameter;
boolean simulateFirstFrameReceived;
boolean updateCameraHalFramerateAllowed;
int videoFps;
int videoHeight;
int videoMaxBitrate;
int videoStartBitrate;
int videoWidth;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
public static class VideoConfigurationBuilder {
private boolean camera1APIPreferred;
private boolean camera2APIForced;
private boolean captureToTexture;
private boolean ignoreCameraEvictionError;
private boolean overrideRemoteVideoMaxBitrate;
private boolean provideCallingServiceHalParameter;
private boolean simulateFirstFrameReceived;
private boolean updateCameraHalFramerateAllowed;
private int videoFps;
private int videoHeight;
private int videoMaxBitrate;
private int videoStartBitrate;
private int videoWidth;
public VideoConfiguration build() {
return new VideoConfiguration(this.videoHeight, this.videoWidth, this.videoFps, this.captureToTexture, this.camera1APIPreferred, this.camera2APIForced, this.updateCameraHalFramerateAllowed, this.provideCallingServiceHalParameter, this.videoMaxBitrate, this.simulateFirstFrameReceived, this.ignoreCameraEvictionError, this.videoStartBitrate, this.overrideRemoteVideoMaxBitrate);
}
public VideoConfigurationBuilder camera1APIPreferred(boolean z) {
this.camera1APIPreferred = z;
return this;
}
public VideoConfigurationBuilder camera2APIForced(boolean z) {
this.camera2APIForced = z;
return this;
}
public VideoConfigurationBuilder captureToTexture(boolean z) {
this.captureToTexture = z;
return this;
}
public VideoConfigurationBuilder ignoreCameraEvictionError(boolean z) {
this.ignoreCameraEvictionError = z;
return this;
}
public VideoConfigurationBuilder overrideRemoteVideoMaxBitrate(boolean z) {
this.overrideRemoteVideoMaxBitrate = z;
return this;
}
public VideoConfigurationBuilder provideCallingServiceHalParameter(boolean z) {
this.provideCallingServiceHalParameter = z;
return this;
}
public VideoConfigurationBuilder simulateFirstFrameReceived(boolean z) {
this.simulateFirstFrameReceived = z;
return this;
}
public String toString() {
StringBuilder sb = new StringBuilder("VideoConfiguration.VideoConfigurationBuilder(videoHeight=");
sb.append(this.videoHeight);
sb.append(", videoWidth=");
sb.append(this.videoWidth);
sb.append(", videoFps=");
sb.append(this.videoFps);
sb.append(", captureToTexture=");
sb.append(this.captureToTexture);
sb.append(", camera1APIPreferred=");
sb.append(this.camera1APIPreferred);
sb.append(", camera2APIForced=");
sb.append(this.camera2APIForced);
sb.append(", updateCameraHalFramerateAllowed=");
sb.append(this.updateCameraHalFramerateAllowed);
sb.append(", provideCallingServiceHalParameter=");
sb.append(this.provideCallingServiceHalParameter);
sb.append(", videoMaxBitrate=");
sb.append(this.videoMaxBitrate);
sb.append(", simulateFirstFrameReceived=");
sb.append(this.simulateFirstFrameReceived);
sb.append(", ignoreCameraEvictionError=");
sb.append(this.ignoreCameraEvictionError);
sb.append(", videoStartBitrate=");
sb.append(this.videoStartBitrate);
sb.append(", overrideRemoteVideoMaxBitrate=");
return a$$ExternalSyntheticOutline0.m(sb, this.overrideRemoteVideoMaxBitrate, MarkdownConstants.RIGHT_PARENTHESIS);
}
public VideoConfigurationBuilder updateCameraHalFramerateAllowed(boolean z) {
this.updateCameraHalFramerateAllowed = z;
return this;
}
public VideoConfigurationBuilder videoFps(int i) {
this.videoFps = i;
return this;
}
public VideoConfigurationBuilder videoHeight(int i) {
this.videoHeight = i;
return this;
}
public VideoConfigurationBuilder videoMaxBitrate(int i) {
this.videoMaxBitrate = i;
return this;
}
public VideoConfigurationBuilder videoStartBitrate(int i) {
this.videoStartBitrate = i;
return this;
}
public VideoConfigurationBuilder videoWidth(int i) {
this.videoWidth = i;
return this;
}
}
public VideoConfiguration(int i, int i2, int i3, boolean z, boolean z2, boolean z3, boolean z4, boolean z5, int i4, boolean z6, boolean z7, int i5, boolean z8) {
this.videoHeight = i;
this.videoWidth = i2;
this.videoFps = i3;
this.captureToTexture = z;
this.camera1APIPreferred = z2;
this.camera2APIForced = z3;
this.updateCameraHalFramerateAllowed = z4;
this.provideCallingServiceHalParameter = z5;
this.videoMaxBitrate = i4;
this.simulateFirstFrameReceived = z6;
this.ignoreCameraEvictionError = z7;
this.videoStartBitrate = i5;
this.overrideRemoteVideoMaxBitrate = z8;
}
public static VideoConfigurationBuilder builder() {
return new VideoConfigurationBuilder();
}
public int getVideoFps() {
return this.videoFps;
}
public int getVideoHeight() {
return this.videoHeight;
}
public int getVideoMaxBitrate() {
return this.videoMaxBitrate;
}
public int getVideoStartBitrate() {
return this.videoStartBitrate;
}
public int getVideoWidth() {
return this.videoWidth;
}
public boolean isCamera1APIPreferred() {
return this.camera1APIPreferred;
}
public boolean isCamera2APIForced() {
return this.camera2APIForced;
}
public boolean isCaptureToTexture() {
return this.captureToTexture;
}
public boolean isIgnoreCameraEvictionError() {
return this.ignoreCameraEvictionError;
}
public boolean isOverrideRemoteVideoMaxBitrate() {
return this.overrideRemoteVideoMaxBitrate;
}
public boolean isProvideCallingServiceHalParameter() {
return this.provideCallingServiceHalParameter;
}
public boolean isSimulateFirstFrameReceived() {
return this.simulateFirstFrameReceived;
}
public boolean isUpdateCameraHalFramerateAllowed() {
return this.updateCameraHalFramerateAllowed;
}
}