得物.apk(点击下载) / ILiveWrapper.java


package com.shizhuang.duapp.modules.live.anchor.livestream.wrapper;

import android.view.SurfaceView;
import com.meituan.robust.ChangeQuickRedirect;
import com.meizu.cloud.pushsdk.constants.PushConstants;
import com.shizhuang.duapp.modules.live.anchor.livestream.constant.VideoResolution;
import com.shizhuang.duapp.modules.live.anchor.livestream.effect.model.ComposerNode;
import com.shizhuang.duapp.modules.live.anchor.views.sticker.bean.StickerBean;
import java.util.List;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000T\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0007\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0010\bf\u0018\u00002\u00020\u0001:\u00017J\u0012\u0010\u0002\u001a\u00020\u00032\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005H&J\u0016\u0010\u0006\u001a\u00020\u00032\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\bH&J\u0016\u0010\n\u001a\u00020\u00032\f\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\t0\bH&J\u0010\u0010\f\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000eH&J\u0012\u0010\u000f\u001a\u00020\u00032\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005H&J \u0010\u0010\u001a\u00020\u00032\u0006\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0013\u001a\u00020\u00122\u0006\u0010\u0014\u001a\u00020\u0012H&J\b\u0010\u0015\u001a\u00020\u0003H&J\b\u0010\u0016\u001a\u00020\u0003H&J\b\u0010\u0017\u001a\u00020\u0003H&J\b\u0010\u0018\u001a\u00020\u0003H&J\u0010\u0010\u0019\u001a\u00020\u00032\u0006\u0010\u001a\u001a\u00020\tH&J\u0012\u0010\u001b\u001a\u00020\u00032\b\u0010\u001c\u001a\u0004\u0018\u00010\u001dH&J\u0018\u0010\u001e\u001a\u00020\u00032\u0006\u0010\u001f\u001a\u00020 2\u0006\u0010!\u001a\u00020 H&J\u0018\u0010\"\u001a\u00020\u00032\u0006\u0010#\u001a\u00020$2\u0006\u0010\r\u001a\u00020\u000eH&J.\u0010%\u001a\u00020\u00032\u0006\u0010&\u001a\u00020 2\u0006\u0010\r\u001a\u00020\u000e2\b\b\u0002\u0010'\u001a\u00020(2\n\b\u0002\u0010)\u001a\u0004\u0018\u00010 H&J\b\u0010*\u001a\u00020\u0003H&J\b\u0010+\u001a\u00020\u0003H&J\b\u0010,\u001a\u00020\u0003H&J\b\u0010-\u001a\u00020\u0003H&J\u0010\u0010.\u001a\u00020\u00032\u0006\u0010/\u001a\u00020\tH&J \u00100\u001a\u00020\u00032\u0006\u00101\u001a\u00020\u00122\u0006\u00102\u001a\u00020\u00122\u0006\u00103\u001a\u00020\u0012H&J\u0010\u00104\u001a\u00020\u00032\u0006\u00105\u001a\u00020\u0012H&J\u0012\u00106\u001a\u00020\u00032\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005H&¨\u00068"}, d2 = {"Lcom/shizhuang/duapp/modules/live/anchor/livestream/wrapper/ILiveWrapper;", "", "addSticker", "", "stickerBean", "Lcom/shizhuang/duapp/modules/live/anchor/views/sticker/bean/StickerBean;", "batchSetComposeNode", "composeNodes", "", "Lcom/shizhuang/duapp/modules/live/anchor/livestream/effect/model/ComposerNode;", "batchUpdateComposeNodeValue", "nodes", "changeLiveResolution", "videoResolution", "Lcom/shizhuang/duapp/modules/live/anchor/livestream/constant/VideoResolution;", "deleteSticker", "onTranslate", "xTranslation", "", "yTranslation", "zTranslation", "pause", "reStartPublisher", "release", "resume", "setComposeNode", "composeNode", "setVideoLiveProcessor", "videoLiveProcessor", "Lcom/shizhuang/duapp/modules/live/anchor/livestream/wrapper/ILiveWrapper$ILiveWrapperListener;", "start3DModel", "modelDir", "", "objKey", "startPreview", "cameraPreview", "Landroid/view/SurfaceView;", "startPublisher", "publisherAddress", "isHevc", "", "bgmUrl", "stop3DModel", "stopPreview", "stopPublisher", "switchVideoCapture", "updateComposeNodeValue", "node", "updateRotateValue", "xAngle", "yAngle", "zAngle", "updateScaleValue", "scaleValue", "updateSticker", "ILiveWrapperListener", "du_live_release"}, k = 1, mv = {1, 4, 2})
/* compiled from: ILiveWrapper.kt */
public interface ILiveWrapper {

    @Metadata(bv = {1, 0, 3}, d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\b\n\u0002\b\u000b\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0003\n\u0002\u0010\u0007\n\u0002\b\u000b\bf\u0018\u00002\u00020\u0001J\u0018\u0010\u0002\u001a\u00020\u00032\u000e\u0010\u0004\u001a\n\u0018\u00010\u0005j\u0004\u0018\u0001`\u0006H&J\b\u0010\u0007\u001a\u00020\u0003H&J\b\u0010\b\u001a\u00020\u0003H&J\b\u0010\t\u001a\u00020\u0003H&J\b\u0010\n\u001a\u00020\u0003H&J\u0018\u0010\u000b\u001a\u00020\u00032\u000e\u0010\u0004\u001a\n\u0018\u00010\u0005j\u0004\u0018\u0001`\u0006H&J\u0018\u0010\f\u001a\u00020\u00032\u000e\u0010\u0004\u001a\n\u0018\u00010\u0005j\u0004\u0018\u0001`\u0006H&J\b\u0010\r\u001a\u00020\u0003H&J\b\u0010\u000e\u001a\u00020\u0003H&J\b\u0010\u000f\u001a\u00020\u0003H&J \u0010\u0010\u001a\u00020\u00032\u0006\u0010\u0011\u001a\u00020\u00122\u000e\u0010\u0004\u001a\n\u0018\u00010\u0005j\u0004\u0018\u0001`\u0006H&J\b\u0010\u0013\u001a\u00020\u0003H&J\b\u0010\u0014\u001a\u00020\u0003H&JJ\u0010\u0015\u001a\u00020\u00032\u0006\u0010\u0016\u001a\u00020\u00122\u0006\u0010\u0017\u001a\u00020\u00122\u0006\u0010\u0018\u001a\u00020\u00122\u0006\u0010\u0019\u001a\u00020\u00122\u0006\u0010\u001a\u001a\u00020\u00122\u0006\u0010\u001b\u001a\u00020\u00122\u0006\u0010\u001c\u001a\u00020\u00122\b\u0010\u001d\u001a\u0004\u0018\u00010\u001eH&JB\u0010\u001f\u001a\u00020\u00032\u0006\u0010 \u001a\u00020!2\u0006\u0010\"\u001a\u00020\u00122\u0006\u0010#\u001a\u00020\u00122\u0006\u0010$\u001a\u00020%2\u0006\u0010&\u001a\u00020%2\u0006\u0010'\u001a\u00020%2\b\u0010(\u001a\u0004\u0018\u00010\u001eH&J8\u0010)\u001a\u00020\u00032\u0006\u0010*\u001a\u00020\u00122\u0006\u0010+\u001a\u00020\u00122\u0006\u0010,\u001a\u00020\u00122\u0006\u0010-\u001a\u00020\u00122\u0006\u0010.\u001a\u00020%2\u0006\u0010/\u001a\u00020!H&¨\u00060"}, d2 = {"Lcom/shizhuang/duapp/modules/live/anchor/livestream/wrapper/ILiveWrapper$ILiveWrapperListener;", "", "onAudioCaptureError", "", "e", "Ljava/lang/Exception;", "Lkotlin/Exception;", "onAudioCaptureStart", "onAudioCaptureStop", "onBitRateTooLow", "onConnectRTMPServerSuccessed", "onLiveEngineInitError", "onPreviewError", "onPreviewStart", "onPreviewStop", "onPublishTimeOut", "onPublisherError", PushConstants.BASIC_PUSH_STATUS_CODE, "", "onPublisherStart", "onPublisherStop", "onPublislherInfo", "videoWidth", "videoHeight", "sendAVGBitrate", "compressedAVGBitrate", "sendAVGFps", "compressedAVGFps", "videoQuality", "remoteIP", "", "onStatisticsCallback", "startTimeMills", "", "connectTimeMills", "publishDurationInSec", "discardFrameRatio", "", "publishAVGBitRate", "expectedBitRate", "adaptiveBitrateChart", "process", "in2DTex", "inTexWidth", "inTexHeight", "rotation", "scaleValue", "timestampNs", "du_live_release"}, k = 1, mv = {1, 4, 2})
    /* compiled from: ILiveWrapper.kt */
    public interface ILiveWrapperListener {
        void onAudioCaptureError(@Nullable Exception exc);

        void onAudioCaptureStart();

        void onAudioCaptureStop();

        void onBitRateTooLow();

        void onConnectRTMPServerSuccessed();

        void onLiveEngineInitError(@Nullable Exception exc);

        void onPreviewError(@Nullable Exception exc);

        void onPreviewStart();

        void onPreviewStop();

        void onPublishTimeOut();

        void onPublisherError(int i, @Nullable Exception exc);

        void onPublisherStart();

        void onPublisherStop();

        void onPublislherInfo(int i, int i3, int i12, int i13, int i14, int i15, int i16, @Nullable String str);

        void onStatisticsCallback(long j, int i, int i3, float f, float f12, float f13, @Nullable String str);

        void process(int i, int i3, int i12, int i13, float f, long j);
    }

    /* compiled from: ILiveWrapper.kt */
    public static final class a {
        public static ChangeQuickRedirect changeQuickRedirect;

        public static /* synthetic */ void a(ILiveWrapper iLiveWrapper, String str, VideoResolution videoResolution, boolean z, String str2, int i, Object obj) {
            if ((i & 4) != 0) {
                z = false;
            }
            iLiveWrapper.startPublisher(str, videoResolution, z, (i & 8) != 0 ? "https://apk.poizon.com/duApp/Android_Config/live/anchor/icon_anchor_leave.png" : null);
        }
    }

    void addSticker(@Nullable StickerBean stickerBean);

    void batchSetComposeNode(@NotNull List<? extends ComposerNode> list);

    void batchUpdateComposeNodeValue(@NotNull List<? extends ComposerNode> list);

    void changeLiveResolution(@NotNull VideoResolution videoResolution);

    void deleteSticker(@Nullable StickerBean stickerBean);

    void onTranslate(float f, float f12, float f13);

    void pause();

    void reStartPublisher();

    void release();

    void resume();

    void setComposeNode(@NotNull ComposerNode composerNode);

    void setVideoLiveProcessor(@Nullable ILiveWrapperListener iLiveWrapperListener);

    void start3DModel(@NotNull String str, @NotNull String str2);

    void startPreview(@NotNull SurfaceView surfaceView, @NotNull VideoResolution videoResolution);

    void startPublisher(@NotNull String str, @NotNull VideoResolution videoResolution, boolean z, @Nullable String str2);

    void stop3DModel();

    void stopPreview();

    void stopPublisher();

    void switchVideoCapture();

    void updateComposeNodeValue(@NotNull ComposerNode composerNode);

    void updateRotateValue(float f, float f12, float f13);

    void updateScaleValue(float f);

    void updateSticker(@Nullable StickerBean stickerBean);
}