package com.vacenter.Taurus;

/* JADX INFO: loaded from: classes.dex */
public class RtspClient {
    private long nativeImpl;

    public interface RtspClientObserver {
        void onAudioFrame(byte[] bArr, int i2);

        void onAudioStreamConfig(int i2, int i3, int i4, String str);

        void onConnectError(String str);

        void onConnected();

        void onVideoFrame(byte[] bArr, int i2, boolean z2);

        void onVideoStreamConfig(int i2, int i3, int i4, String str);
    }

    public RtspClient(long j2) {
        this.nativeImpl = 0L;
        this.nativeImpl = j2;
    }

    public native int addRtspClientObserver(RtspClientObserver rtspClientObserver);

    public long getNativeImpl() {
        return this.nativeImpl;
    }

    public native int startRtspClient(String str, boolean z2);

    public native int stopRtspClient();
}
