package com.bytedance.android.live.liveinteract.multiguest.opt.widget;

import X.2Pr;
import X.6Is;
import X.7eq;
import X.9qj;
import X.AnonymousClass0CB;
import X.AnonymousClass0CH;
import X.AnonymousClass1Y4;
import X.AnonymousClass2BQ;
import X.C09630aP;
import X.C10000b0;
import X.C14600iQ;
import X.C14700ia;
import X.C16190kz;
import X.C19840qs;
import X.C21150sz;
import X.C21280tC;
import X.C21400tO;
import X.C24190xt;
import X.C265013w;
import X.C33641Vi;
import X.C33651Vj;
import X.C41491kh;
import X.C41711l3;
import X.C42521mM;
import X.C42971n5;
import X.C50861zo;
import X.C54052Bv;
import X.Fz8;
import X.G2l;
import X.GJB;
import X.GQb;
import X.Gc2;
import X.Gg0;
import X.GiY;
import X.LsC;
import X.M12;
import android.view.SurfaceView;
import com.bytedance.android.live.liveinteract.commoninterface.BaseInternalLinkMicAnchorWidget;
import com.bytedance.android.live.liveinteract.multilive.anchor.ui.dialog.MultiLiveAnchorOpenCameraDialog;
import com.bytedance.android.livesdk.chatroom.model.interact.LinkPlayerInfo;
import com.bytedance.android.livesdk.livesetting.linkmic.multilive.MultiLiveLinkPanelStyle;
import com.bytedance.android.livesdkapi.depend.model.live.Room;
import com.bytedance.bpea.basics.PrivacyCert;
import com.bytedance.bpea.store.policy.PrivacyPolicyStore;
import com.bytedance.covode.number.Covode;
import com.bytedance.ies.sdk.datachannel.DataChannel;
import java.util.List;
import kotlin.h.b.n;
import org.json.JSONObject;

public final class MultiGuestAsAnchorWidget extends BaseInternalLinkMicAnchorWidget implements C42521mM, 6Is {
    public C41711l3 LIZ;
    public C33651Vj LIZIZ;
    public C42971n5 LIZJ;
    public C19840qs LIZLLL;
    public C21400tO LJ;
    @C14700ia(LIZ = "MULTI_GUEST_DATA_HOLDER")
    public C33641Vi LJFF;
    public C265013w LJI;
    public Room LJII;
    public MultiLiveAnchorOpenCameraDialog LJIIIIZZ;
    public final String LJIIIZ = "MultiLiveAnchorOpenCamera";
    public final LsC<GQb, 2Pr> LJIIJ = new C50861zo(this);

    static {
        Covode.recordClassIndex(8086);
    }

    public final void LIZ(Throwable th) {
        Gc2.LIZ(this, th);
    }

    public final void LIZLLL() {
    }

    public final int getLayoutId() {
        return 2131562102;
    }

    public final void onStateChanged(AnonymousClass0CH r1, AnonymousClass0CB r2) {
        super.onStateChanged(r1, r2);
    }

    public final C16190kz LIZJ() {
        return this.LIZ;
    }

    public final void LIZ() {
        C41711l3 r0 = this.LIZ;
        if (r0 != null) {
            r0.LJIIIZ();
        }
    }

    public final void LIZIZ() {
        C41711l3 r0 = this.LIZ;
        if (r0 != null) {
            r0.LIZLLL();
        }
    }

    public final String LJIIL() {
        return getClass().getName();
    }

    public final void onPause() {
        C41711l3 r0 = this.LIZ;
        if (r0 != null) {
            r0.LJIIIIZZ();
        }
        MultiGuestAsAnchorWidget.super.onPause();
    }

    public MultiGuestAsAnchorWidget() {
        C41491kh.LIZ.LIZ((Object) this);
    }

    public final void LJFF() {
        C19840qs r0;
        C33641Vi r1 = this.LJFF;
        if (r1 == null) {
            n.LIZ("");
        }
        if (r1.LJJ != C14600iQ.NORMAL && (r0 = this.LIZLLL) != null) {
            r0.LIZJ();
        }
    }

    /* JADX WARNING: type inference failed for: r0v0, types: [com.bytedance.android.live.liveinteract.multilive.anchor.ui.dialog.MultiLiveAnchorOpenCameraDialog, android.app.Dialog] */
    /* JADX WARNING: type inference failed for: r0v1, types: [X.1Vj, android.app.Dialog] */
    /* JADX WARNING: type inference failed for: r0v2, types: [android.app.Dialog, X.1n5] */
    public final void LJII() {
        ? r0 = this.LJIIIIZZ;
        if (r0 != 0) {
            G2l.LIZIZ(r0);
        }
        ? r02 = this.LIZIZ;
        if (r02 != 0) {
            G2l.LIZIZ(r02);
        }
        ? r03 = this.LIZJ;
        if (r03 != 0) {
            G2l.LIZIZ(r03);
        }
        C42971n5 r04 = this.LIZJ;
        if (r04 != null) {
            r04.LJIIIIZZ();
        }
    }

    public final void LJ() {
        Fz8.LIZ(this.context, 2131833949);
        C41711l3 r5 = this.LIZ;
        if (r5 != null) {
            7eq r4 = 7eq.RTC_ERROR;
            PrivacyCert.Builder with = PrivacyCert.Builder.Companion.with("bpea-530");
            with.usage("");
            with.tag("stop link mic when error occurs");
            with.policies(new 9qj[]{PrivacyPolicyStore.getAudioPrivacyPolicy()});
            r5.LIZ(r4, with.build());
        }
    }

    /* JADX WARNING: type inference failed for: r4v0, types: [com.bytedance.android.live.liveinteract.multilive.anchor.ui.dialog.MultiLiveAnchorOpenCameraDialog, android.app.Dialog] */
    /* JADX WARNING: type inference failed for: r1v1, types: [X.0CH] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LJI() {
        /*
            r5 = this;
            com.bytedance.android.live.liveinteract.multilive.anchor.ui.dialog.MultiLiveAnchorOpenCameraDialog r0 = r5.LJIIIIZZ
            if (r0 == 0) goto L_0x000c
            boolean r1 = r0.isShowing()
            r0 = 1
            if (r1 != r0) goto L_0x000c
            return
        L_0x000c:
            X.1Vi r0 = r5.LJFF
            java.lang.String r1 = ""
            if (r0 != 0) goto L_0x0015
            kotlin.h.b.n.LIZ(r1)
        L_0x0015:
            boolean r0 = r0.LJIIIZ
            if (r0 == 0) goto L_0x0053
            com.bytedance.android.livesdk.livesetting.linkmic.multilive.MultiLiveLinkPanelStyle r0 = com.bytedance.android.livesdk.livesetting.linkmic.multilive.MultiLiveLinkPanelStyle.INSTANCE
            int r0 = r0.getValue()
            if (r0 <= 0) goto L_0x0053
            X.1Vi r0 = r5.LJFF
            if (r0 != 0) goto L_0x0028
            kotlin.h.b.n.LIZ(r1)
        L_0x0028:
            boolean r0 = r0.LJFF
            if (r0 != 0) goto L_0x0053
            X.1Vj r0 = r5.LIZIZ
            if (r0 == 0) goto L_0x0033
            r0.dismiss()
        L_0x0033:
            X.1n5 r0 = r5.LIZJ
            if (r0 == 0) goto L_0x003a
            r0.dismiss()
        L_0x003a:
            com.bytedance.android.live.liveinteract.multilive.anchor.ui.dialog.MultiLiveAnchorOpenCameraDialog r4 = new com.bytedance.android.live.liveinteract.multilive.anchor.ui.dialog.MultiLiveAnchorOpenCameraDialog
            android.content.Context r3 = r5.context
            kotlin.h.b.n.LIZIZ(r3, r1)
            com.bytedance.ies.sdk.datachannel.DataChannel r2 = r5.dataChannel
            r1 = r5
            java.lang.String r0 = "end_link_and_no_guest"
            r4.<init>(r3, r2, r1, r0)
            r5.LJIIIIZZ = r4
            r4.show()
            X.2fU r0 = X.2fU.LIZ
            r0.LIZ(r4)
        L_0x0053:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.bytedance.android.live.liveinteract.multiguest.opt.widget.MultiGuestAsAnchorWidget.LJI():void");
    }

    public final void onDestroy() {
        C24190xt.LIZ("LinkIn_Anchor_Widget_onDestroy");
        C41711l3 r0 = this.LIZ;
        if (r0 != null) {
            r0.f_();
        }
        C19840qs r02 = this.LIZLLL;
        if (r02 != null) {
            r02.LIZ();
        }
        C33651Vj r03 = this.LIZIZ;
        if (r03 != null && r03.isShowing()) {
            C33651Vj r04 = this.LIZIZ;
            if (r04 != null) {
                r04.LIZLLL();
            }
            C33651Vj r05 = this.LIZIZ;
            if (r05 != null) {
                r05.dismiss();
            }
        }
        DataChannel dataChannel = this.dataChannel;
        if (dataChannel != null) {
            dataChannel.LIZIZ(this);
        }
        MultiGuestAsAnchorWidget.super.onDestroy();
        C21280tC LIZ2 = AnonymousClass1Y4.LJI.LIZ();
        if (LIZ2 != null) {
            LIZ2.LIZIZ();
        }
        LJII();
    }

    public final void onResume() {
        MultiGuestAsAnchorWidget.super.onResume();
        C41711l3 r0 = this.LIZ;
        if (r0 != null) {
            r0.LJII();
        }
        MultiLiveAnchorOpenCameraDialog multiLiveAnchorOpenCameraDialog = this.LJIIIIZZ;
        if (multiLiveAnchorOpenCameraDialog == null || !multiLiveAnchorOpenCameraDialog.isShowing()) {
            C33641Vi r02 = this.LJFF;
            if (r02 == null) {
                n.LIZ("");
            }
            if (r02.LJIIIZ && MultiLiveLinkPanelStyle.INSTANCE.getValue() > 0) {
                C33641Vi r03 = this.LJFF;
                if (r03 == null) {
                    n.LIZ("");
                }
                if (r03.LJIILL == 0) {
                    C33641Vi r04 = this.LJFF;
                    if (r04 == null) {
                        n.LIZ("");
                    }
                    r04.LJFF = true;
                    Gg0.LIZ().LIZ(new GJB(40));
                    DataChannel dataChannel = this.dataChannel;
                    if (dataChannel != null) {
                        dataChannel.LIZJ(C54052Bv.class, true);
                    }
                    JSONObject jSONObject = new JSONObject();
                    jSONObject.put("log_name", "ttlive_multilive_anchor_switch_camera");
                    jSONObject.put("switch", "on");
                    jSONObject.put("way", "Anchor's camera is opened forcedly in MultiGuestAsAnchorWidget");
                    C09630aP.LIZ(4, this.LJIIIZ, jSONObject.toString());
                    DataChannel dataChannel2 = this.dataChannel;
                    if (dataChannel2 != null) {
                        dataChannel2.LIZJ(AnonymousClass2BQ.class, new C21150sz(false, "end_link_and_no_guest"));
                        return;
                    }
                    return;
                }
                return;
            }
            return;
        }
        MultiLiveAnchorOpenCameraDialog multiLiveAnchorOpenCameraDialog2 = this.LJIIIIZZ;
        if (multiLiveAnchorOpenCameraDialog2 != null) {
            multiLiveAnchorOpenCameraDialog2.LIZ();
        }
    }

    /* JADX WARNING: type inference failed for: r2v1, types: [X.0CH] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void onCreate() {
        /*
            r12 = this;
            com.bytedance.android.live.liveinteract.multiguest.opt.widget.MultiGuestAsAnchorWidget.super.onCreate()
            java.lang.String r0 = "LinkIn_Anchor_Widget_onCreate"
            X.C24190xt.LIZ((java.lang.String) r0)
            com.bytedance.ies.sdk.datachannel.DataChannel r1 = r12.dataChannel
            java.lang.Class<X.Fv7> r0 = X.Fv7.class
            java.lang.Object r0 = r1.LIZIZ(r0)
            com.bytedance.android.livesdkapi.depend.model.live.Room r0 = (com.bytedance.android.livesdkapi.depend.model.live.Room) r0
            r12.LJII = r0
            com.bytedance.ies.sdk.datachannel.DataChannelGlobal r2 = com.bytedance.ies.sdk.datachannel.DataChannelGlobal.LIZLLL
            java.lang.Class<X.2CN> r1 = X.AnonymousClass2CN.class
            X.1zp r0 = new X.1zp
            r0.<init>(r12)
            r2.LIZ(r12, r1, r0)
            com.bytedance.ies.sdk.datachannel.DataChannel r3 = r12.dataChannel
            java.lang.Class<X.2AX> r1 = X.AnonymousClass2AX.class
            X.LsC<X.GQb, X.2Pr> r0 = r12.LJIIJ
            r3.LIZ(r12, r1, r0)
            r2 = r12
            java.lang.Class<X.H1t> r1 = X.H1t.class
            X.1zq r0 = new X.1zq
            r0.<init>(r12)
            r3.LIZ(r2, r1, r0)
            java.lang.Class<X.2CC> r1 = X.AnonymousClass2CC.class
            X.1zr r0 = new X.1zr
            r0.<init>(r12)
            r3.LIZ(r2, r1, r0)
            java.lang.Class<X.2Bx> r1 = X.C54072Bx.class
            X.1zs r0 = new X.1zs
            r0.<init>(r12)
            r3.LIZ(r2, r1, r0)
            java.lang.Class<X.2CV> r1 = X.AnonymousClass2CV.class
            X.1zt r0 = new X.1zt
            r0.<init>(r12)
            r3.LIZ(r2, r1, r0)
            java.lang.Class<X.2BR> r1 = X.AnonymousClass2BR.class
            X.1zu r0 = new X.1zu
            r0.<init>(r12)
            r3.LIZ(r12, r1, r0)
            java.lang.Class<X.2CB> r1 = X.AnonymousClass2CB.class
            X.1zv r0 = new X.1zv
            r0.<init>(r12)
            r3.LIZ(r2, r1, r0)
            com.bytedance.android.livesdkapi.depend.model.live.Room r3 = r12.LJII
            java.lang.String r2 = ""
            if (r3 == 0) goto L_0x0078
            X.1zI r1 = new X.1zI
            com.bytedance.ies.sdk.datachannel.DataChannel r0 = r12.dataChannel
            kotlin.h.b.n.LIZIZ(r0, r2)
            r1.<init>(r3, r0)
            r12.LIZ = r1
        L_0x0078:
            X.1l3 r1 = r12.LIZ
            if (r1 == 0) goto L_0x0080
            r0 = r12
            r1.LIZ(r0)
        L_0x0080:
            X.1l3 r0 = r12.LIZ
            r4 = 0
            if (r0 == 0) goto L_0x0103
            X.1Vi r0 = r0.LIZIZ()
            if (r0 == 0) goto L_0x0103
            boolean r3 = r0.LJIIIZ
        L_0x008d:
            com.bytedance.android.livesdk.livesetting.linkmic.multilive.MultiGuestHostSideSwitchSetting r0 = com.bytedance.android.livesdk.livesetting.linkmic.multilive.MultiGuestHostSideSwitchSetting.INSTANCE
            boolean r0 = r0.isEnable()
            if (r0 != 0) goto L_0x009f
            android.content.Context r1 = X.C10000b0.LJ()
            r0 = 2131828226(0x7f111e02, float:1.9289387E38)
            X.Fz8.LIZ(r1, r0)
        L_0x009f:
            java.lang.String r5 = "null cannot be cast to non-null type android.widget.FrameLayout"
            if (r3 == 0) goto L_0x00e0
            X.1YW r6 = new X.1YW
            X.1l3 r0 = r12.LIZ
            if (r0 != 0) goto L_0x00ac
            kotlin.h.b.n.LIZIZ()
        L_0x00ac:
            com.bytedance.android.livesdkapi.depend.model.live.Room r3 = r0.LIZJ
            android.view.View r1 = r12.contentView
            java.util.Objects.requireNonNull(r1, r5)
            android.widget.FrameLayout r1 = (android.widget.FrameLayout) r1
            X.1l3 r0 = r12.LIZ
            if (r0 != 0) goto L_0x00bc
            kotlin.h.b.n.LIZIZ()
        L_0x00bc:
            X.1Un r0 = r0.LIZJ()
            r6.<init>(r3, r1, r0)
        L_0x00c3:
            com.bytedance.ies.sdk.datachannel.DataChannel r0 = r12.dataChannel
            kotlin.h.b.n.LIZIZ(r0, r2)
            r6.LIZ((com.bytedance.ies.sdk.datachannel.DataChannel) r0)
            r6.LIZ((boolean) r4)
            r12.LIZLLL = r6
            X.0tD r3 = X.AnonymousClass1Y4.LJI
            com.bytedance.android.livesdkapi.depend.model.live.Room r2 = r12.LJII
            android.content.Context r0 = r12.context
            X.1hK r1 = X.G2l.LIZ(r0)
            com.bytedance.ies.sdk.datachannel.DataChannel r0 = r12.dataChannel
            r3.LIZ(r2, r1, r0, r4)
            return
        L_0x00e0:
            X.1Vy r6 = new X.1Vy
            X.1l3 r0 = r12.LIZ
            r11 = 0
            if (r0 == 0) goto L_0x0101
            com.bytedance.android.livesdkapi.depend.model.live.Room r7 = r0.LIZJ
        L_0x00e9:
            r0 = 1
            r9 = 0
            android.view.View r10 = r12.getView()
            java.util.Objects.requireNonNull(r10, r5)
            android.widget.FrameLayout r10 = (android.widget.FrameLayout) r10
            X.1l3 r0 = r12.LIZ
            if (r0 == 0) goto L_0x00fc
            X.1Un r11 = r0.LIZJ()
        L_0x00fc:
            r8 = 1
            r6.<init>(r7, r8, r9, r10, r11)
            goto L_0x00c3
        L_0x0101:
            r7 = r11
            goto L_0x00e9
        L_0x0103:
            r3 = 0
            goto L_0x008d
        */
        throw new UnsupportedOperationException("Method not decompiled: com.bytedance.android.live.liveinteract.multiguest.opt.widget.MultiGuestAsAnchorWidget.onCreate():void");
    }

    public final void LIZ(C33651Vj r1) {
        M12.LIZ(r1);
        this.LIZIZ = r1;
    }

    public final void LIZIZ(String str) {
        M12.LIZ(str);
        C19840qs r0 = this.LIZLLL;
        if (r0 != null) {
            r0.LIZJ(str);
        }
    }

    public final void LIZLLL(String str) {
        M12.LIZ(str);
        C19840qs r0 = this.LIZLLL;
        if (r0 != null) {
            r0.LIZLLL(str);
        }
    }

    public final void LJ(String str) {
        M12.LIZ(str);
        C19840qs r0 = this.LIZLLL;
        if (r0 != null) {
            r0.LIZLLL(str);
        }
    }

    public final void LJFF(String str) {
        M12.LIZ(str);
        C19840qs r0 = this.LIZLLL;
        if (r0 != null) {
            r0.LIZIZ(str);
        }
    }

    public final int LJII(String str) {
        M12.LIZ(str);
        C19840qs r0 = this.LIZLLL;
        if (r0 != null) {
            return r0.LJFF(str);
        }
        return -1;
    }

    public final void LIZ(C42971n5 r2) {
        M12.LIZ(r2);
        r2.LIZ((C16190kz) this.LIZ);
        this.LIZJ = r2;
    }

    public final void LIZJ(String str) {
        M12.LIZ(str);
        Fz8.LIZ(C10000b0.LJ(), C10000b0.LIZ(2131829299, str), 0);
    }

    public final void LIZIZ(List<LinkPlayerInfo> list) {
        C42971n5 r0;
        M12.LIZ(list);
        if (isViewValid()) {
            C33651Vj r02 = this.LIZIZ;
            if (r02 == null || !r02.isShowing()) {
                C42971n5 r03 = this.LIZJ;
                if (r03 != null && r03.isShowing() && (r0 = this.LIZJ) != null) {
                    r0.LJI();
                    return;
                }
                return;
            }
            C33651Vj r04 = this.LIZIZ;
            if (r04 != null) {
                r04.LIZ(list);
            }
        }
    }

    public final int LJI(String str) {
        M12.LIZ(str);
        GiY LIZ2 = GiY.LIZ();
        n.LIZIZ(LIZ2, "");
        if (n.LIZ(str, LIZ2.LJII)) {
            return 0;
        }
        C19840qs r0 = this.LIZLLL;
        if (r0 != null) {
            return r0.LJ(str);
        }
        return -1;
    }

    public final void LIZ(String str) {
        M12.LIZ(str);
        C19840qs r0 = this.LIZLLL;
        if (r0 != null) {
            r0.LIZJ(str);
        }
    }

    /* JADX WARNING: type inference failed for: r1v1, types: [X.1Vj, android.app.Dialog] */
    /* JADX WARNING: type inference failed for: r8v0, types: [X.0CH] */
    /* JADX WARNING: type inference failed for: r2v2, types: [X.0CH] */
    /* JADX WARNING: type inference failed for: r1v4, types: [android.app.Dialog, X.1n5] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final void LIZ(java.util.List<com.bytedance.android.livesdk.chatroom.model.interact.LinkPlayerInfo> r14) {
        /*
            r13 = this;
            X.M12.LIZ(r14)
            X.2sG r3 = new X.2sG
            r3.<init>()
            r3.element = r14
            boolean r0 = r13.isViewValid()
            if (r0 != 0) goto L_0x0011
            return
        L_0x0011:
            java.lang.Object r0 = r3.element
            if (r0 != 0) goto L_0x001c
            java.util.ArrayList r0 = new java.util.ArrayList
            r0.<init>()
            r3.element = r0
        L_0x001c:
            X.1l3 r10 = r13.LIZ
            if (r10 == 0) goto L_0x00b1
            X.1Vi r0 = r10.LIZIZ()
            if (r0 == 0) goto L_0x0077
            boolean r2 = r0.LJIIIZ
        L_0x0028:
            X.1Vi r1 = r13.LJFF
            java.lang.String r6 = ""
            if (r1 != 0) goto L_0x0031
            kotlin.h.b.n.LIZ(r6)
        L_0x0031:
            X.0tO r0 = r13.LJ
            if (r0 == 0) goto L_0x0075
            int r0 = r0.LIZ
        L_0x0037:
            r1.LJJII = r0
            r5 = 0
            if (r2 == 0) goto L_0x0079
            com.bytedance.android.livesdk.livesetting.linkmic.multilive.MultiLiveLinkPanelStyle r0 = com.bytedance.android.livesdk.livesetting.linkmic.multilive.MultiLiveLinkPanelStyle.INSTANCE
            int r0 = r0.getValue()
            if (r0 <= 0) goto L_0x0088
            X.1n5 r4 = new X.1n5
            r2 = r13
            android.content.Context r1 = r13.context
            kotlin.h.b.n.LIZIZ(r1, r6)
            X.1l3 r0 = r13.LIZ
            if (r0 == 0) goto L_0x0073
            com.bytedance.ies.sdk.datachannel.DataChannel r0 = r0.LJIIJ()
        L_0x0054:
            r4.<init>(r2, r1, r0)
            r4.LIZ((X.C16190kz) r10)
            r13.LIZJ = r4
            X.0qU r0 = new X.0qU
            r0.<init>(r13, r3)
            r4.setOnDismissListener(r0)
            X.1n5 r1 = r13.LIZJ
            if (r1 == 0) goto L_0x0070
            r1.show()
            X.2fU r0 = X.2fU.LIZ
            r0.LIZ(r1)
        L_0x0070:
            r13.LJ = r5
            return
        L_0x0073:
            r0 = r5
            goto L_0x0054
        L_0x0075:
            r0 = -1
            goto L_0x0037
        L_0x0077:
            r2 = 0
            goto L_0x0028
        L_0x0079:
            X.1Vj r7 = new X.1Vj
            android.content.Context r1 = r13.context
            kotlin.h.b.n.LIZIZ(r1, r6)
            java.lang.Object r0 = r3.element
            java.util.List r0 = (java.util.List) r0
            r7.<init>(r1, r10, r0)
            goto L_0x009b
        L_0x0088:
            X.1n6 r7 = new X.1n6
            r8 = r13
            android.content.Context r9 = r13.context
            kotlin.h.b.n.LIZIZ(r9, r6)
            java.lang.Object r11 = r3.element
            java.util.List r11 = (java.util.List) r11
            com.bytedance.ies.sdk.datachannel.DataChannel r12 = r10.LJIIJ()
            r7.<init>(r8, r9, r10, r11, r12)
        L_0x009b:
            r13.LIZIZ = r7
            X.0qV r0 = new X.0qV
            r0.<init>(r13, r3)
            r7.setOnDismissListener(r0)
            X.1Vj r1 = r13.LIZIZ
            if (r1 == 0) goto L_0x00b1
            r1.show()
            X.2fU r0 = X.2fU.LIZ
            r0.LIZ(r1)
        L_0x00b1:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.bytedance.android.live.liveinteract.multiguest.opt.widget.MultiGuestAsAnchorWidget.LIZ(java.util.List):void");
    }

    public final void LIZ(long j, long j2) {
        StringBuilder sb = new StringBuilder();
        sb.append(j);
        sb.append(' ');
        sb.append(j2);
        C09630aP.LIZ(4, "bitrate_callback", sb.toString());
        C265013w r0 = this.LJI;
        if (r0 != null) {
            r0.LIZ();
        }
    }

    public final void LIZ(String str, SurfaceView surfaceView) {
        M12.LIZ(str, surfaceView);
        C19840qs r0 = this.LIZLLL;
        if (r0 != null) {
            r0.LIZ(str, surfaceView);
        }
    }
}
