2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreMediaEngine$handleNewConnection$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "StoreMediaEngine.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/stores/StoreMediaEngine;->handleNewConnection(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreMediaEngine;
|
|
|
|
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
# direct methods
|
2020-09-17 00:45:48 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/stores/StoreMediaEngine;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
2020-09-17 00:45:48 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreMediaEngine$handleNewConnection$1;->this$0:Lcom/discord/stores/StoreMediaEngine;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/a/h/s/a;",
|
2020-05-17 12:40:10 +00:00
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "connection"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
const-string/jumbo p1, "transportInfo"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p2, p1}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string p1, "supportedVideoCodecs"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p3, p1}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "connection"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
const-string p1, "connectionState"
|
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p2, p1}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "connection"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "connection"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
const-string p1, "exception"
|
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p2, p1}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onKrispStatus(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "connection"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string p1, "status"
|
|
|
|
|
|
|
|
invoke-static {p2, p1}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/rtcconnection/KrispOveruseDetector$Status;->FAILED:Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
|
|
|
|
|
|
|
|
if-eq p2, p1, :cond_1
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/rtcconnection/KrispOveruseDetector$Status;->CPU_OVERUSE:Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
|
|
|
|
|
|
|
|
if-ne p2, p1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
sget-object p1, Lcom/discord/rtcconnection/KrispOveruseDetector$Status;->VAD_CPU_OVERUSE:Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
|
|
|
|
|
|
|
|
if-ne p2, p1, :cond_2
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/stores/StoreMediaEngine$handleNewConnection$1;->this$0:Lcom/discord/stores/StoreMediaEngine;
|
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/discord/stores/StoreMediaEngine;->access$getMediaSettingsStore$p(Lcom/discord/stores/StoreMediaEngine;)Lcom/discord/stores/StoreMediaSettings;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Lcom/discord/stores/StoreMediaSettings;->setVADUseKrisp(Z)V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
iget-object p1, p0, Lcom/discord/stores/StoreMediaEngine$handleNewConnection$1;->this$0:Lcom/discord/stores/StoreMediaEngine;
|
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/discord/stores/StoreMediaEngine;->access$getMediaSettingsStore$p(Lcom/discord/stores/StoreMediaEngine;)Lcom/discord/stores/StoreMediaSettings;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
sget-object p2, Lcom/discord/stores/StoreMediaSettings$NoiseProcessing;->Suppression:Lcom/discord/stores/StoreMediaSettings$NoiseProcessing;
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Lcom/discord/stores/StoreMediaSettings;->setNoiseProcessing(Lcom/discord/stores/StoreMediaSettings$NoiseProcessing;)V
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
:cond_2
|
|
|
|
:goto_1
|
2020-09-16 23:45:23 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.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
|