190 lines
4.4 KiB
Smali
190 lines
4.4 KiB
Smali
.class public final Li$a;
|
|
.super Ljava/lang/Object;
|
|
.source "MediaEngineLegacy.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Li;->a(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;ZLkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Li;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Li;Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;ZJ)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Li$a;->a:Li;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onConnected(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;Ljava/util/List;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;",
|
|
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;",
|
|
"Ljava/util/List<",
|
|
"Le/a/e/l/a;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "supportedVideoCodecs"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "transportInfo"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p1, "connection"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
sget-object v0, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;->DISCONNECTED:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
|
|
|
if-ne p2, v0, :cond_0
|
|
|
|
iget-object p2, p0, Li$a;->a:Li;
|
|
|
|
new-instance v0, Li$a$b;
|
|
|
|
invoke-direct {v0, p0, p1}, Li$a$b;-><init>(Li$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
|
|
|
invoke-static {p2, v0}, Li;->a(Li;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
:cond_1
|
|
const-string p1, "connectionState"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p1, "connection"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
|
.locals 2
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Li$a;->a:Li;
|
|
|
|
new-instance v1, Li$a$a;
|
|
|
|
invoke-direct {v1, p0, p1}, Li$a$a;-><init>(Li$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
|
|
|
invoke-static {v0, v1}, Li;->a(Li;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "connection"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
iget-object p2, p0, Li$a;->a:Li;
|
|
|
|
new-instance v0, Li$a$c;
|
|
|
|
invoke-direct {v0, p0, p1}, Li$a$c;-><init>(Li$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
|
|
|
invoke-static {p2, v0}, Li;->a(Li;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "exception"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "connection"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public onSpeaking(JIZ)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onVideo(JLjava/lang/Integer;III)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|