Changes of com.discord v1350
This commit is contained in:
parent
3f4974bc38
commit
298fda31c1
989 changed files with 44126 additions and 35238 deletions
|
@ -63,7 +63,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const v0, 0x7f120843
|
||||
const v0, 0x7f120848
|
||||
|
||||
invoke-virtual {p1, v0}, Lf/a/a/a/b;->removeRelationship(I)V
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
new-instance v0, Lf/a/a/a/b$b$a;
|
||||
|
||||
const v1, 0x7f1205dc
|
||||
const v1, 0x7f1205df
|
||||
|
||||
invoke-direct {v0, v1}, Lf/a/a/a/b$b$a;-><init>(I)V
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
new-instance v0, Lf/a/a/a/b$b$a;
|
||||
|
||||
const v1, 0x7f1205dc
|
||||
const v1, 0x7f1205df
|
||||
|
||||
invoke-direct {v0, v1}, Lf/a/a/a/b$b$a;-><init>(I)V
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
new-instance v0, Lf/a/a/a/b$b$a;
|
||||
|
||||
const v1, 0x7f1205dc
|
||||
const v1, 0x7f1205df
|
||||
|
||||
invoke-direct {v0, v1}, Lf/a/a/a/b$b$a;-><init>(I)V
|
||||
|
||||
|
|
|
@ -88,23 +88,23 @@
|
|||
:cond_0
|
||||
instance-of v2, v1, Lcom/discord/stores/StoreGifting$GiftState$Resolved;
|
||||
|
||||
const v4, 0x7f120921
|
||||
const v4, 0x7f120926
|
||||
|
||||
const v5, 0x7f120928
|
||||
const v5, 0x7f12092d
|
||||
|
||||
const-string/jumbo v6, "when {\n gift.isAnyN\u2026body_confirm, name)\n }"
|
||||
|
||||
const/4 v7, 0x2
|
||||
|
||||
const v8, 0x7f120909
|
||||
const v8, 0x7f12090e
|
||||
|
||||
const v9, 0x7f120908
|
||||
const v9, 0x7f12090d
|
||||
|
||||
const-string/jumbo v10, "when {\n gift.isAnyN\u2026ion_header_confirm)\n }"
|
||||
|
||||
const v11, 0x7f120927
|
||||
const v11, 0x7f12092c
|
||||
|
||||
const v12, 0x7f120926
|
||||
const v12, 0x7f12092b
|
||||
|
||||
const/4 v13, 0x1
|
||||
|
||||
|
@ -168,7 +168,7 @@
|
|||
|
||||
if-eqz v6, :cond_2
|
||||
|
||||
const v6, 0x7f12092a
|
||||
const v6, 0x7f12092f
|
||||
|
||||
new-array v7, v13, [Ljava/lang/Object;
|
||||
|
||||
|
@ -181,7 +181,7 @@
|
|||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
const v6, 0x7f120929
|
||||
const v6, 0x7f12092e
|
||||
|
||||
invoke-virtual {v2, v6}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -198,7 +198,7 @@
|
|||
|
||||
if-eqz v7, :cond_3
|
||||
|
||||
const v1, 0x7f120917
|
||||
const v1, 0x7f12091c
|
||||
|
||||
new-array v4, v13, [Ljava/lang/Object;
|
||||
|
||||
|
@ -217,7 +217,7 @@
|
|||
|
||||
if-eqz v1, :cond_4
|
||||
|
||||
const v1, 0x7f120918
|
||||
const v1, 0x7f12091d
|
||||
|
||||
new-array v4, v13, [Ljava/lang/Object;
|
||||
|
||||
|
@ -230,7 +230,7 @@
|
|||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
const v1, 0x7f120916
|
||||
const v1, 0x7f12091b
|
||||
|
||||
new-array v5, v13, [Ljava/lang/Object;
|
||||
|
||||
|
@ -275,7 +275,7 @@
|
|||
|
||||
if-eqz v3, :cond_5
|
||||
|
||||
const v4, 0x7f120925
|
||||
const v4, 0x7f12092a
|
||||
|
||||
invoke-virtual {v3, v4}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;
|
||||
|
||||
|
@ -344,7 +344,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v5, 0x7f120907
|
||||
const v5, 0x7f12090c
|
||||
|
||||
invoke-virtual {v2, v5}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -527,7 +527,7 @@
|
|||
|
||||
if-eqz v4, :cond_d
|
||||
|
||||
const v5, 0x7f12091f
|
||||
const v5, 0x7f120924
|
||||
|
||||
invoke-virtual {v4, v5}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;
|
||||
|
||||
|
@ -739,7 +739,7 @@
|
|||
|
||||
move-result-object v5
|
||||
|
||||
const v6, 0x7f12091d
|
||||
const v6, 0x7f120922
|
||||
|
||||
invoke-virtual {v2, v6}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -777,7 +777,7 @@
|
|||
|
||||
if-eqz v5, :cond_14
|
||||
|
||||
const v6, 0x7f121543
|
||||
const v6, 0x7f121542
|
||||
|
||||
invoke-virtual {v5, v6}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;
|
||||
|
||||
|
@ -825,7 +825,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v3, 0x7f120910
|
||||
const v3, 0x7f120915
|
||||
|
||||
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(I)V
|
||||
|
||||
|
@ -850,7 +850,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v3, 0x7f12090c
|
||||
const v3, 0x7f120911
|
||||
|
||||
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(I)V
|
||||
|
||||
|
@ -875,7 +875,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v3, 0x7f12090d
|
||||
const v3, 0x7f120912
|
||||
|
||||
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(I)V
|
||||
|
||||
|
@ -900,7 +900,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v3, 0x7f12090b
|
||||
const v3, 0x7f120910
|
||||
|
||||
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(I)V
|
||||
|
||||
|
|
|
@ -600,7 +600,7 @@
|
|||
|
||||
if-ne p1, v1, :cond_2
|
||||
|
||||
const p1, 0x7f12092c
|
||||
const p1, 0x7f120931
|
||||
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
|
@ -622,7 +622,7 @@
|
|||
throw p1
|
||||
|
||||
:cond_3
|
||||
const p1, 0x7f12092b
|
||||
const p1, 0x7f120930
|
||||
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
|
@ -760,7 +760,7 @@
|
|||
|
||||
invoke-static {v2, v3}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v3, 0x7f12090a
|
||||
const v3, 0x7f12090f
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
|
|
|
@ -164,12 +164,12 @@
|
|||
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
const v3, 0x7f121359
|
||||
const v3, 0x7f12135e
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
const v3, 0x7f121358
|
||||
const v3, 0x7f12135d
|
||||
|
||||
:goto_1
|
||||
iget-object v9, v2, Lf/a/a/b/a;->e:Lkotlin/properties/ReadOnlyProperty;
|
||||
|
@ -250,7 +250,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const v3, 0x7f060237
|
||||
const v3, 0x7f060238
|
||||
|
||||
invoke-static {v2, v3}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroidx/fragment/app/Fragment;I)I
|
||||
|
||||
|
@ -275,7 +275,7 @@
|
|||
|
||||
check-cast v3, Landroid/widget/TextView;
|
||||
|
||||
const v9, 0x7f121364
|
||||
const v9, 0x7f121369
|
||||
|
||||
invoke-virtual {v2, v9}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -299,7 +299,7 @@
|
|||
|
||||
invoke-static {v9, v7}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v4, 0x7f121365
|
||||
const v4, 0x7f12136a
|
||||
|
||||
new-array v6, v6, [Ljava/lang/Object;
|
||||
|
||||
|
@ -365,7 +365,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const v3, 0x7f1211e9
|
||||
const v3, 0x7f1211ee
|
||||
|
||||
invoke-virtual {v2, v3}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -241,7 +241,7 @@
|
|||
|
||||
check-cast p1, Landroid/widget/TextView;
|
||||
|
||||
const v1, 0x7f12137c
|
||||
const v1, 0x7f121381
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -259,7 +259,7 @@
|
|||
|
||||
check-cast p1, Landroid/widget/TextView;
|
||||
|
||||
const v1, 0x7f121379
|
||||
const v1, 0x7f12137e
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -288,7 +288,7 @@
|
|||
|
||||
check-cast p1, Landroid/widget/TextView;
|
||||
|
||||
const v1, 0x7f121378
|
||||
const v1, 0x7f12137d
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -320,7 +320,7 @@
|
|||
|
||||
check-cast p1, Landroid/widget/TextView;
|
||||
|
||||
const v1, 0x7f121377
|
||||
const v1, 0x7f12137c
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -332,7 +332,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const v1, 0x7f1211e9
|
||||
const v1, 0x7f1211ee
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
if-eqz p5, :cond_0
|
||||
|
||||
const v0, 0x7f120c25
|
||||
const v0, 0x7f120c2a
|
||||
|
||||
invoke-virtual {p2, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -63,7 +63,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const v0, 0x7f120c14
|
||||
const v0, 0x7f120c19
|
||||
|
||||
invoke-virtual {p2, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -82,7 +82,7 @@
|
|||
|
||||
const p3, 0x7f100096
|
||||
|
||||
const p5, 0x7f120c16
|
||||
const p5, 0x7f120c1b
|
||||
|
||||
new-array v3, v2, [Ljava/lang/Object;
|
||||
|
||||
|
@ -113,7 +113,7 @@
|
|||
|
||||
const p5, 0x7f100097
|
||||
|
||||
const v4, 0x7f120c26
|
||||
const v4, 0x7f120c2b
|
||||
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -142,7 +142,7 @@
|
|||
:cond_2
|
||||
const p5, 0x7f100094
|
||||
|
||||
const v4, 0x7f120c15
|
||||
const v4, 0x7f120c1a
|
||||
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
:cond_1
|
||||
instance-of v2, v1, Lcom/discord/stores/StorePremiumGuildSubscription$State$Failure;
|
||||
|
||||
const v3, 0x7f12135e
|
||||
const v3, 0x7f121363
|
||||
|
||||
if-nez v2, :cond_8
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
:cond_1
|
||||
instance-of v1, p1, Lcom/discord/stores/StoreSubscriptions$SubscriptionsState$Failure;
|
||||
|
||||
const v2, 0x7f12135e
|
||||
const v2, 0x7f121363
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
goto :goto_2
|
||||
|
||||
:cond_5
|
||||
const v2, 0x7f120266
|
||||
const v2, 0x7f120267
|
||||
|
||||
invoke-virtual {v1, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
const-class v4, Lf/a/a/c/a/a;
|
||||
|
||||
const-string v6, "speakerRadioButton"
|
||||
const-string/jumbo v6, "speakerRadioButton"
|
||||
|
||||
const-string v7, "getSpeakerRadioButton()Landroid/widget/RadioButton;"
|
||||
|
||||
|
|
|
@ -239,7 +239,7 @@
|
|||
|
||||
check-cast v0, Landroid/widget/TextView;
|
||||
|
||||
const v3, 0x7f120fb2
|
||||
const v3, 0x7f120fb7
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
|
|
|
@ -282,7 +282,7 @@
|
|||
|
||||
check-cast v0, Landroid/widget/TextView;
|
||||
|
||||
const v4, 0x7f121455
|
||||
const v4, 0x7f12145a
|
||||
|
||||
new-array v5, v1, [Ljava/lang/Object;
|
||||
|
||||
|
@ -308,7 +308,7 @@
|
|||
|
||||
check-cast v0, Landroid/widget/TextView;
|
||||
|
||||
const v4, 0x7f121453
|
||||
const v4, 0x7f121458
|
||||
|
||||
new-array v5, v1, [Ljava/lang/Object;
|
||||
|
||||
|
|
|
@ -280,12 +280,12 @@
|
|||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
const v2, 0x7f121431
|
||||
const v2, 0x7f121436
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
const v2, 0x7f121433
|
||||
const v2, 0x7f121438
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p0, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
@ -310,7 +310,7 @@
|
|||
|
||||
check-cast v3, Landroid/widget/TextView;
|
||||
|
||||
const v6, 0x7f121462
|
||||
const v6, 0x7f121467
|
||||
|
||||
const/4 v7, 0x2
|
||||
|
||||
|
@ -350,7 +350,7 @@
|
|||
|
||||
check-cast v2, Landroid/widget/TextView;
|
||||
|
||||
const v3, 0x7f121461
|
||||
const v3, 0x7f121466
|
||||
|
||||
new-array v6, v1, [Ljava/lang/Object;
|
||||
|
||||
|
@ -386,7 +386,7 @@
|
|||
|
||||
check-cast v2, Landroid/widget/Button;
|
||||
|
||||
const v6, 0x7f121460
|
||||
const v6, 0x7f121465
|
||||
|
||||
new-array v7, v1, [Ljava/lang/Object;
|
||||
|
||||
|
@ -412,12 +412,12 @@
|
|||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
const v0, 0x7f080532
|
||||
const v0, 0x7f080534
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
const v0, 0x7f080533
|
||||
const v0, 0x7f080535
|
||||
|
||||
:goto_1
|
||||
invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setImageResource(I)V
|
||||
|
|
|
@ -314,7 +314,7 @@
|
|||
|
||||
new-instance v2, Lf/a/a/e/c$c;
|
||||
|
||||
const v3, 0x7f12145b
|
||||
const v3, 0x7f121460
|
||||
|
||||
invoke-virtual {p0, v3}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -324,7 +324,7 @@
|
|||
|
||||
invoke-static {v3, v4}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v4, 0x7f12145a
|
||||
const v4, 0x7f12145f
|
||||
|
||||
invoke-virtual {p0, v4}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -334,7 +334,7 @@
|
|||
|
||||
invoke-static {v4, v5}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v5, 0x7f080540
|
||||
const v5, 0x7f080542
|
||||
|
||||
invoke-direct {v2, v5, v3, v4}, Lf/a/a/e/c$c;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
|
@ -344,7 +344,7 @@
|
|||
|
||||
new-instance v2, Lf/a/a/e/c$c;
|
||||
|
||||
const v4, 0x7f121450
|
||||
const v4, 0x7f121455
|
||||
|
||||
invoke-virtual {p0, v4}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -354,7 +354,7 @@
|
|||
|
||||
invoke-static {v4, v5}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v5, 0x7f12144f
|
||||
const v5, 0x7f121454
|
||||
|
||||
invoke-virtual {p0, v5}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -364,7 +364,7 @@
|
|||
|
||||
invoke-static {v5, v6}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v6, 0x7f0804fb
|
||||
const v6, 0x7f0804fd
|
||||
|
||||
invoke-direct {v2, v6, v4, v5}, Lf/a/a/e/c$c;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
|
@ -372,7 +372,7 @@
|
|||
|
||||
new-instance v2, Lf/a/a/e/c$c;
|
||||
|
||||
const v4, 0x7f121448
|
||||
const v4, 0x7f12144d
|
||||
|
||||
invoke-virtual {p0, v4}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -382,7 +382,7 @@
|
|||
|
||||
invoke-static {v4, v5}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v5, 0x7f121447
|
||||
const v5, 0x7f12144c
|
||||
|
||||
invoke-virtual {p0, v5}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -392,7 +392,7 @@
|
|||
|
||||
invoke-static {v5, v6}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v6, 0x7f0804cd
|
||||
const v6, 0x7f0804cf
|
||||
|
||||
invoke-direct {v2, v6, v4, v5}, Lf/a/a/e/c$c;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
|
@ -402,7 +402,7 @@
|
|||
|
||||
new-instance v2, Lf/a/a/e/c$c;
|
||||
|
||||
const v5, 0x7f12145f
|
||||
const v5, 0x7f121464
|
||||
|
||||
invoke-virtual {p0, v5}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -414,7 +414,7 @@
|
|||
|
||||
new-array v4, v4, [Ljava/lang/Object;
|
||||
|
||||
const v6, 0x7f120747
|
||||
const v6, 0x7f12074c
|
||||
|
||||
invoke-virtual {p0, v6}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -422,7 +422,7 @@
|
|||
|
||||
aput-object v6, v4, v3
|
||||
|
||||
const v6, 0x7f120746
|
||||
const v6, 0x7f12074b
|
||||
|
||||
invoke-virtual {p0, v6}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -430,7 +430,7 @@
|
|||
|
||||
aput-object v6, v4, v0
|
||||
|
||||
const v6, 0x7f12145e
|
||||
const v6, 0x7f121463
|
||||
|
||||
invoke-virtual {p0, v6, v4}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
|
@ -440,7 +440,7 @@
|
|||
|
||||
invoke-static {v4, v6}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v6, 0x7f080541
|
||||
const v6, 0x7f080543
|
||||
|
||||
invoke-direct {v2, v6, v5, v4}, Lf/a/a/e/c$c;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
|
@ -450,7 +450,7 @@
|
|||
|
||||
new-instance v2, Lf/a/a/e/c$c;
|
||||
|
||||
const v4, 0x7f121445
|
||||
const v4, 0x7f12144a
|
||||
|
||||
invoke-virtual {p0, v4}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -460,7 +460,7 @@
|
|||
|
||||
invoke-static {v4, v5}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v5, 0x7f121444
|
||||
const v5, 0x7f121449
|
||||
|
||||
invoke-virtual {p0, v5}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -470,7 +470,7 @@
|
|||
|
||||
invoke-static {v5, v6}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v6, 0x7f0804d2
|
||||
const v6, 0x7f0804d4
|
||||
|
||||
invoke-direct {v2, v6, v4, v5}, Lf/a/a/e/c$c;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
|
@ -480,7 +480,7 @@
|
|||
|
||||
new-instance v2, Lf/a/a/e/c$c;
|
||||
|
||||
const v4, 0x7f12144b
|
||||
const v4, 0x7f121450
|
||||
|
||||
invoke-virtual {p0, v4}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -490,7 +490,7 @@
|
|||
|
||||
invoke-static {v4, v5}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v5, 0x7f12144a
|
||||
const v5, 0x7f12144f
|
||||
|
||||
invoke-virtual {p0, v5}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -500,7 +500,7 @@
|
|||
|
||||
invoke-static {v5, v6}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v6, 0x7f0804d5
|
||||
const v6, 0x7f0804d7
|
||||
|
||||
invoke-direct {v2, v6, v4, v5}, Lf/a/a/e/c$c;-><init>(ILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
|
|
|
@ -260,22 +260,22 @@
|
|||
:goto_0
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
const v2, 0x7f080509
|
||||
const v2, 0x7f08050b
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
const v2, 0x7f080503
|
||||
const v2, 0x7f080505
|
||||
|
||||
:goto_1
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
const v3, 0x7f08054f
|
||||
const v3, 0x7f080551
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
const v3, 0x7f08054d
|
||||
const v3, 0x7f08054f
|
||||
|
||||
:goto_2
|
||||
const/4 v4, 0x0
|
||||
|
@ -318,12 +318,12 @@
|
|||
:goto_3
|
||||
if-eqz v0, :cond_5
|
||||
|
||||
const v5, 0x7f120351
|
||||
const v5, 0x7f120352
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_5
|
||||
const v5, 0x7f120353
|
||||
const v5, 0x7f120354
|
||||
|
||||
:goto_4
|
||||
iget-object v8, p0, Lf/a/a/e/d;->f:Lkotlin/properties/ReadOnlyProperty;
|
||||
|
|
|
@ -248,7 +248,7 @@
|
|||
|
||||
check-cast v4, Landroid/widget/TextView;
|
||||
|
||||
const v7, 0x7f121736
|
||||
const v7, 0x7f121735
|
||||
|
||||
new-array v6, v6, [Ljava/lang/Object;
|
||||
|
||||
|
|
|
@ -386,17 +386,17 @@
|
|||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const v2, 0x7f120746
|
||||
const v2, 0x7f12074b
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
const v2, 0x7f120745
|
||||
const v2, 0x7f12074a
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
const v2, 0x7f120747
|
||||
const v2, 0x7f12074c
|
||||
|
||||
:goto_1
|
||||
iget-object v5, p0, Lf/a/a/f;->f:Lkotlin/properties/ReadOnlyProperty;
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v1, 0x7f120541
|
||||
const v1, 0x7f120543
|
||||
|
||||
invoke-static {p1, v0, v1}, Lf/a/b/p;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
iget-object p1, p0, Lf/a/a/m;->$onConfirm:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
const v0, 0x7f12084a
|
||||
const v0, 0x7f12084f
|
||||
|
||||
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
check-cast v1, Landroid/widget/TextView;
|
||||
|
||||
const v3, 0x7f1217c9
|
||||
const v3, 0x7f1217c8
|
||||
|
||||
invoke-virtual {v0, v3}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -91,7 +91,7 @@
|
|||
|
||||
check-cast v1, Landroid/widget/TextView;
|
||||
|
||||
const v2, 0x7f1217c8
|
||||
const v2, 0x7f1217c7
|
||||
|
||||
invoke-virtual {v0, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -103,7 +103,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v2, 0x7f1211e9
|
||||
const v2, 0x7f1211ee
|
||||
|
||||
invoke-virtual {v0, v2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const v0, 0x7f120df0
|
||||
const v0, 0x7f120df5
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
const p2, 0x7f120541
|
||||
const p2, 0x7f120543
|
||||
|
||||
:cond_0
|
||||
invoke-static {p0, p1, p2}, Lf/a/b/p;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V
|
||||
|
|
|
@ -23,11 +23,9 @@
|
|||
|
||||
.field public final d:Z
|
||||
|
||||
.field public final e:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZI)V
|
||||
.method public constructor <init>(Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZ)V
|
||||
.locals 1
|
||||
|
||||
const-string/jumbo v0, "videoRes"
|
||||
|
@ -48,77 +46,56 @@
|
|||
|
||||
iput-boolean p4, p0, Lf/a/c/f/a$a;->d:Z
|
||||
|
||||
iput p5, p0, Lf/a/c/f/a$a;->e:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZII)Lf/a/c/f/a$a;
|
||||
.locals 6
|
||||
.method public static a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZI)Lf/a/c/f/a$a;
|
||||
.locals 1
|
||||
|
||||
and-int/lit8 p2, p6, 0x1
|
||||
and-int/lit8 p2, p5, 0x1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
iget-object p1, p0, Lf/a/c/f/a$a;->a:Lcom/discord/hardware_analytics/media_codec/VideoRes;
|
||||
|
||||
:cond_0
|
||||
move-object v1, p1
|
||||
and-int/lit8 p2, p5, 0x2
|
||||
|
||||
and-int/lit8 p1, p6, 0x2
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Lf/a/c/f/a$a;->b:Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;
|
||||
iget-object p2, p0, Lf/a/c/f/a$a;->b:Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
const/4 p2, 0x0
|
||||
|
||||
:goto_0
|
||||
move-object v2, p1
|
||||
and-int/lit8 v0, p5, 0x4
|
||||
|
||||
and-int/lit8 p1, p6, 0x4
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
iget p3, p0, Lf/a/c/f/a$a;->c:F
|
||||
|
||||
:cond_2
|
||||
move v3, p3
|
||||
and-int/lit8 p5, p5, 0x8
|
||||
|
||||
and-int/lit8 p1, p6, 0x8
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
if-eqz p5, :cond_3
|
||||
|
||||
iget-boolean p4, p0, Lf/a/c/f/a$a;->d:Z
|
||||
|
||||
:cond_3
|
||||
move v4, p4
|
||||
|
||||
and-int/lit8 p1, p6, 0x10
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
iget p5, p0, Lf/a/c/f/a$a;->e:I
|
||||
|
||||
:cond_4
|
||||
move v5, p5
|
||||
|
||||
const-string/jumbo p0, "videoRes"
|
||||
|
||||
invoke-static {v1, p0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {p1, p0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p0, "mimeType"
|
||||
|
||||
invoke-static {v2, p0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {p2, p0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p0, Lf/a/c/f/a$a;
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lf/a/c/f/a$a;-><init>(Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZI)V
|
||||
invoke-direct {p0, p1, p2, p3, p4}, Lf/a/c/f/a$a;-><init>(Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZ)V
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
@ -168,13 +145,7 @@
|
|||
|
||||
iget-boolean v0, p0, Lf/a/c/f/a$a;->d:Z
|
||||
|
||||
iget-boolean v1, p1, Lf/a/c/f/a$a;->d:Z
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget v0, p0, Lf/a/c/f/a$a;->e:I
|
||||
|
||||
iget p1, p1, Lf/a/c/f/a$a;->e:I
|
||||
iget-boolean p1, p1, Lf/a/c/f/a$a;->d:Z
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
|
@ -243,12 +214,6 @@
|
|||
:cond_2
|
||||
add-int/2addr v0, v1
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget v1, p0, Lf/a/c/f/a$a;->e:I
|
||||
|
||||
add-int/2addr v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
|
@ -287,17 +252,9 @@
|
|||
|
||||
iget-boolean v1, p0, Lf/a/c/f/a$a;->d:Z
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", maxCount="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget v1, p0, Lf/a/c/f/a$a;->e:I
|
||||
|
||||
const-string v2, ")"
|
||||
|
||||
invoke-static {v0, v1, v2}, Lf/e/c/a/a;->u(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String;
|
||||
invoke-static {v0, v1, v2}, Lf/e/c/a/a;->C(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
|
|
@ -27,55 +27,21 @@
|
|||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 23
|
||||
.locals 20
|
||||
|
||||
new-instance v0, Lf/a/c/f/a;
|
||||
new-instance v6, Lf/a/c/f/a$a;
|
||||
|
||||
invoke-direct {v0}, Lf/a/c/f/a;-><init>()V
|
||||
sget-object v7, Lcom/discord/hardware_analytics/media_codec/VideoRes;->RESOLUTION_1080:Lcom/discord/hardware_analytics/media_codec/VideoRes;
|
||||
|
||||
sput-object v0, Lf/a/c/f/a;->b:Lf/a/c/f/a;
|
||||
sget-object v0, Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;->H264:Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;
|
||||
|
||||
const/4 v0, 0x1
|
||||
const/high16 v1, 0x41f00000 # 30.0f
|
||||
|
||||
const/16 v6, 0x10
|
||||
const/4 v8, 0x1
|
||||
|
||||
new-instance v14, Lf/a/c/f/a$a;
|
||||
invoke-direct {v6, v7, v0, v1, v8}, Lf/a/c/f/a$a;-><init>(Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZ)V
|
||||
|
||||
sget-object v15, Lcom/discord/hardware_analytics/media_codec/VideoRes;->RESOLUTION_1080:Lcom/discord/hardware_analytics/media_codec/VideoRes;
|
||||
|
||||
sget-object v3, Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;->H264:Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;
|
||||
|
||||
const/high16 v4, 0x41f00000 # 30.0f
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
move-object v1, v14
|
||||
|
||||
move-object v2, v15
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lf/a/c/f/a$a;-><init>(Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZI)V
|
||||
|
||||
sget-object v1, Lcom/discord/hardware_analytics/media_codec/VideoRes;->RESOLUTION_720:Lcom/discord/hardware_analytics/media_codec/VideoRes;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/16 v13, 0x1e
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/16 v16, 0x0
|
||||
|
||||
const/16 v17, 0x0
|
||||
|
||||
const/16 v18, 0x0
|
||||
|
||||
const/4 v9, 0x0
|
||||
sget-object v9, Lcom/discord/hardware_analytics/media_codec/VideoRes;->RESOLUTION_720:Lcom/discord/hardware_analytics/media_codec/VideoRes;
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
|
@ -83,91 +49,97 @@
|
|||
|
||||
const/4 v12, 0x0
|
||||
|
||||
move-object v7, v14
|
||||
const/16 v5, 0xe
|
||||
|
||||
move-object v8, v1
|
||||
const/4 v13, 0x0
|
||||
|
||||
invoke-static/range {v7 .. v13}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZII)Lf/a/c/f/a$a;
|
||||
const/4 v14, 0x0
|
||||
|
||||
move-result-object v19
|
||||
const/4 v15, 0x0
|
||||
|
||||
const/16 v13, 0x16
|
||||
move-object v0, v6
|
||||
|
||||
move-object v8, v15
|
||||
move-object v1, v9
|
||||
|
||||
invoke-static/range {v7 .. v13}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZII)Lf/a/c/f/a$a;
|
||||
move-object v2, v13
|
||||
|
||||
move-result-object v15
|
||||
move v3, v14
|
||||
|
||||
sget-object v20, Lcom/discord/hardware_analytics/media_codec/VideoRes;->RESOLUTION_480:Lcom/discord/hardware_analytics/media_codec/VideoRes;
|
||||
move v4, v15
|
||||
|
||||
const/16 v13, 0x1e
|
||||
invoke-static/range {v0 .. v5}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZI)Lf/a/c/f/a$a;
|
||||
|
||||
move-object/from16 v8, v20
|
||||
move-result-object v16
|
||||
|
||||
invoke-static/range {v7 .. v13}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZII)Lf/a/c/f/a$a;
|
||||
const/4 v5, 0x6
|
||||
|
||||
move-result-object v21
|
||||
move-object v1, v7
|
||||
|
||||
const/16 v22, 0x16
|
||||
invoke-static/range {v0 .. v5}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZI)Lf/a/c/f/a$a;
|
||||
|
||||
const/16 v13, 0x16
|
||||
move-result-object v7
|
||||
|
||||
move-object v8, v1
|
||||
sget-object v17, Lcom/discord/hardware_analytics/media_codec/VideoRes;->RESOLUTION_480:Lcom/discord/hardware_analytics/media_codec/VideoRes;
|
||||
|
||||
move-object v9, v6
|
||||
const/16 v5, 0xe
|
||||
|
||||
move/from16 v10, v16
|
||||
move-object/from16 v1, v17
|
||||
|
||||
move/from16 v11, v17
|
||||
invoke-static/range {v0 .. v5}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZI)Lf/a/c/f/a$a;
|
||||
|
||||
move/from16 v12, v18
|
||||
move-result-object v18
|
||||
|
||||
invoke-static/range {v7 .. v13}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZII)Lf/a/c/f/a$a;
|
||||
const/16 v19, 0x6
|
||||
|
||||
move-result-object v1
|
||||
const/4 v5, 0x6
|
||||
|
||||
const/4 v11, 0x0
|
||||
move-object v1, v9
|
||||
|
||||
move-object/from16 v8, v20
|
||||
invoke-static/range {v0 .. v5}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZI)Lf/a/c/f/a$a;
|
||||
|
||||
move-object v9, v2
|
||||
move-result-object v9
|
||||
|
||||
move v10, v3
|
||||
move-object/from16 v1, v17
|
||||
|
||||
move v12, v5
|
||||
move-object v2, v10
|
||||
|
||||
move/from16 v13, v22
|
||||
move v3, v11
|
||||
|
||||
invoke-static/range {v7 .. v13}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZII)Lf/a/c/f/a$a;
|
||||
move v4, v12
|
||||
|
||||
move-result-object v2
|
||||
move/from16 v5, v19
|
||||
|
||||
const/4 v3, 0x6
|
||||
invoke-static/range {v0 .. v5}, Lf/a/c/f/a$a;->a(Lf/a/c/f/a$a;Lcom/discord/hardware_analytics/media_codec/VideoRes;Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;FZI)Lf/a/c/f/a$a;
|
||||
|
||||
new-array v3, v3, [Lf/a/c/f/a$a;
|
||||
move-result-object v0
|
||||
|
||||
aput-object v14, v3, v4
|
||||
const/4 v1, 0x6
|
||||
|
||||
aput-object v19, v3, v0
|
||||
new-array v1, v1, [Lf/a/c/f/a$a;
|
||||
|
||||
const/4 v0, 0x2
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object v15, v3, v0
|
||||
aput-object v6, v1, v2
|
||||
|
||||
const/4 v0, 0x3
|
||||
aput-object v16, v1, v8
|
||||
|
||||
aput-object v21, v3, v0
|
||||
const/4 v2, 0x2
|
||||
|
||||
const/4 v0, 0x4
|
||||
aput-object v7, v1, v2
|
||||
|
||||
aput-object v1, v3, v0
|
||||
const/4 v2, 0x3
|
||||
|
||||
const/4 v0, 0x5
|
||||
aput-object v18, v1, v2
|
||||
|
||||
aput-object v2, v3, v0
|
||||
const/4 v2, 0x4
|
||||
|
||||
invoke-static {v3}, Lx/h/f;->listOf([Ljava/lang/Object;)Ljava/util/List;
|
||||
aput-object v9, v1, v2
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
aput-object v0, v1, v2
|
||||
|
||||
invoke-static {v1}, Lx/h/f;->listOf([Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -176,10 +148,171 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
.method public static final a(Lf/a/c/f/a$a;I)I
|
||||
.locals 9
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
iget-object v0, p0, Lf/a/c/f/a$a;->b:Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;
|
||||
|
||||
return-void
|
||||
iget-object v1, p0, Lf/a/c/f/a$a;->a:Lcom/discord/hardware_analytics/media_codec/VideoRes;
|
||||
|
||||
iget v2, p0, Lf/a/c/f/a$a;->c:F
|
||||
|
||||
const-string/jumbo v3, "videoCodecMimeType"
|
||||
|
||||
invoke-static {v0, v3}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string/jumbo v3, "videoRes"
|
||||
|
||||
invoke-static {v1, v3}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/hardware_analytics/media_codec/VideoCodecMimeType;->getMimeType()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/hardware_analytics/media_codec/VideoRes;->getWidth()I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/hardware_analytics/media_codec/VideoRes;->getHeight()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-static {v0, v3, v1}, Landroid/media/MediaFormat;->createVideoFormat(Ljava/lang/String;II)Landroid/media/MediaFormat;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "frame-rate"
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Landroid/media/MediaFormat;->setFloat(Ljava/lang/String;F)V
|
||||
|
||||
const-string v1, "MediaFormat.createVideoF\u2026t.KEY_BIT_RATE, it) }\n }"
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean p0, p0, Lf/a/c/f/a$a;->d:Z
|
||||
|
||||
const-string v1, "mediaFormat"
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v2, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-ge v3, p1, :cond_2
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
:try_start_0
|
||||
new-instance v6, Lf/a/c/f/e;
|
||||
|
||||
invoke-direct {v6, v0}, Lf/a/c/f/e;-><init>(Landroid/media/MediaFormat;)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_0
|
||||
move-exception v6
|
||||
|
||||
new-instance v7, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v8, "Unable to create VideoDecoder: "
|
||||
|
||||
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
const-string v7, "VideoDecoder"
|
||||
|
||||
invoke-static {v7, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
move-object v6, v5
|
||||
|
||||
:goto_1
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
iget-object v7, v6, Lf/a/c/f/e;->c:Lf/a/c/f/b;
|
||||
|
||||
iget-boolean v7, v7, Lf/a/c/f/b;->b:Z
|
||||
|
||||
if-nez v7, :cond_0
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
iget-boolean v7, v6, Lf/a/c/f/e;->e:Z
|
||||
|
||||
if-nez v7, :cond_1
|
||||
|
||||
iput-boolean v4, v6, Lf/a/c/f/e;->e:Z
|
||||
|
||||
iget-object v6, v6, Lf/a/c/f/e;->d:Landroid/media/MediaCodec;
|
||||
|
||||
invoke-virtual {v6}, Landroid/media/MediaCodec;->release()V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_0
|
||||
move-object v5, v6
|
||||
|
||||
:cond_1
|
||||
:goto_2
|
||||
if-eqz v5, :cond_2
|
||||
|
||||
invoke-virtual {v2, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
:cond_3
|
||||
:goto_3
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lf/a/c/f/e;
|
||||
|
||||
iget-boolean v0, p1, Lf/a/c/f/e;->e:Z
|
||||
|
||||
if-nez v0, :cond_3
|
||||
|
||||
iput-boolean v4, p1, Lf/a/c/f/e;->e:Z
|
||||
|
||||
iget-object p1, p1, Lf/a/c/f/e;->d:Landroid/media/MediaCodec;
|
||||
|
||||
invoke-virtual {p1}, Landroid/media/MediaCodec;->release()V
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_4
|
||||
invoke-virtual {v2}, Ljava/util/ArrayList;->size()I
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
move-result v1
|
||||
|
||||
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
|
@ -69,7 +69,7 @@
|
|||
|
||||
const-string v4, "network detected online"
|
||||
|
||||
invoke-virtual {v0, v1, v2, v4, v3}, Lf/a/h/t/a;->h(JLjava/lang/String;Z)V
|
||||
invoke-virtual {v0, v1, v2, v4, v3}, Lf/a/h/u/a;->h(JLjava/lang/String;Z)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
|||
|
||||
const-string v4, "network detected offline"
|
||||
|
||||
invoke-virtual {v0, v1, v2, v4, v3}, Lf/a/h/t/a;->h(JLjava/lang/String;Z)V
|
||||
invoke-virtual {v0, v1, v2, v4, v3}, Lf/a/h/u/a;->h(JLjava/lang/String;Z)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
invoke-direct {v1, p0, p1}, Lf/a/h/a;-><init>(Lf/a/h/b;Ljava/lang/Boolean;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->m(Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->l(Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
iget-object p1, p0, Lf/a/h/c;->d:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v0, p1, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v0, p1, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
const-string p1, "failed to handle connectivity change in "
|
||||
|
||||
|
|
|
@ -37,27 +37,25 @@
|
|||
|
||||
# virtual methods
|
||||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 17
|
||||
.locals 14
|
||||
|
||||
move-object/from16 v1, p0
|
||||
|
||||
iget-object v0, v1, Lf/a/h/d;->this$0:Lf/a/h/e;
|
||||
iget-object v0, p0, Lf/a/h/d;->this$0:Lf/a/h/e;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/e;->d:Lf/a/h/h;
|
||||
|
||||
iget-object v2, v0, Lf/a/h/h;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
iget-object v1, v0, Lf/a/h/h;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v3, v0, Lf/a/h/h;->$endpoint:Ljava/lang/String;
|
||||
iget-object v2, v0, Lf/a/h/h;->$endpoint:Ljava/lang/String;
|
||||
|
||||
iget-object v6, v0, Lf/a/h/h;->$token:Ljava/lang/String;
|
||||
iget-object v5, v0, Lf/a/h/h;->$token:Ljava/lang/String;
|
||||
|
||||
iget-object v7, v0, Lf/a/h/h;->$sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
||||
iget-object v6, v0, Lf/a/h/h;->$sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
|
||||
|
||||
iget-object v0, v2, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
iget-object v0, v1, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/networking/Backoff;->succeed()V
|
||||
|
||||
if-eqz v7, :cond_0
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
const-string/jumbo v0, "wss"
|
||||
|
||||
|
@ -67,212 +65,223 @@
|
|||
const-string/jumbo v0, "ws"
|
||||
|
||||
:goto_0
|
||||
const/4 v3, 0x1
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x1
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
if-eqz v3, :cond_2
|
||||
invoke-virtual {v2}, Ljava/lang/String;->length()I
|
||||
|
||||
invoke-virtual {v3}, Ljava/lang/String;->length()I
|
||||
move-result v7
|
||||
|
||||
move-result v8
|
||||
|
||||
if-nez v8, :cond_1
|
||||
if-nez v7, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 v8, 0x0
|
||||
const/4 v7, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
const/4 v8, 0x1
|
||||
const/4 v7, 0x1
|
||||
|
||||
:goto_2
|
||||
if-eqz v8, :cond_4
|
||||
if-eqz v7, :cond_4
|
||||
|
||||
iget-object v0, v2, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
iget-object v0, v1, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
iget-object v3, v0, Lf/a/h/t/a;->p:Ljava/util/List;
|
||||
iget-object v2, v0, Lf/a/h/u/a;->p:Ljava/util/List;
|
||||
|
||||
invoke-interface {v3}, Ljava/util/List;->clear()V
|
||||
invoke-interface {v2}, Ljava/util/List;->clear()V
|
||||
|
||||
sget-object v3, Lf/a/h/t/b;->d:Lf/a/h/t/b;
|
||||
sget-object v2, Lf/a/h/u/b;->d:Lf/a/h/u/b;
|
||||
|
||||
invoke-virtual {v0, v3}, Lf/a/h/t/a;->b(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {v0, v2}, Lf/a/h/u/a;->b(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
iput-boolean v5, v0, Lf/a/h/t/a;->q:Z
|
||||
iput-boolean v3, v0, Lf/a/h/u/a;->q:Z
|
||||
|
||||
:cond_3
|
||||
sget-object v0, Lcom/discord/rtcconnection/RtcConnection$State$b;->a:Lcom/discord/rtcconnection/RtcConnection$State$b;
|
||||
|
||||
invoke-virtual {v2, v0}, Lcom/discord/rtcconnection/RtcConnection;->o(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
invoke-virtual {v1, v0}, Lcom/discord/rtcconnection/RtcConnection;->n(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
goto/16 :goto_6
|
||||
goto/16 :goto_5
|
||||
|
||||
:cond_4
|
||||
const/4 v8, 0x4
|
||||
const/4 v7, 0x4
|
||||
|
||||
const-string v9, ".gg"
|
||||
const-string v8, ".gg"
|
||||
|
||||
const-string v10, ".media"
|
||||
const-string v9, ".media"
|
||||
|
||||
invoke-static {v3, v9, v10, v4, v8}, Lx/s/m;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
|
||||
invoke-static {v2, v8, v9, v4, v7}, Lx/s/m;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
move-result-object v2
|
||||
|
||||
const-string v9, "://"
|
||||
const-string v8, "://"
|
||||
|
||||
invoke-static {v0, v9, v3}, Lf/e/c/a/a;->s(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
invoke-static {v0, v8, v2}, Lf/e/c/a/a;->s(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v9, ":80"
|
||||
const-string v8, ":80"
|
||||
|
||||
const-string v10, ":443"
|
||||
const-string v9, ":443"
|
||||
|
||||
invoke-static {v0, v9, v10, v4, v8}, Lx/s/m;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
|
||||
invoke-static {v0, v8, v9, v4, v7}, Lx/s/m;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
|
||||
|
||||
move-result-object v8
|
||||
move-result-object v4
|
||||
|
||||
iget-object v9, v2, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
iget-object v7, v1, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
const/4 v10, 0x0
|
||||
const/4 v8, 0x0
|
||||
|
||||
if-eqz v9, :cond_5
|
||||
if-eqz v7, :cond_5
|
||||
|
||||
iget-object v9, v9, Lf/a/h/t/a;->r:Ljava/lang/String;
|
||||
iget-object v7, v7, Lf/a/h/u/a;->r:Ljava/lang/String;
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
move-object v9, v10
|
||||
move-object v7, v8
|
||||
|
||||
:goto_3
|
||||
invoke-static {v9, v8}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
invoke-static {v7, v4}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v9
|
||||
move-result v7
|
||||
|
||||
if-eqz v9, :cond_7
|
||||
if-eqz v7, :cond_7
|
||||
|
||||
iget-object v9, v2, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
iget-object v7, v1, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
if-eqz v9, :cond_6
|
||||
if-eqz v7, :cond_6
|
||||
|
||||
iget-object v9, v9, Lf/a/h/t/a;->s:Ljava/lang/String;
|
||||
|
||||
goto :goto_4
|
||||
iget-object v8, v7, Lf/a/h/u/a;->s:Ljava/lang/String;
|
||||
|
||||
:cond_6
|
||||
move-object v9, v10
|
||||
invoke-static {v8, v5}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
:goto_4
|
||||
invoke-static {v9, v6}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
move-result v7
|
||||
|
||||
move-result v9
|
||||
if-eqz v7, :cond_7
|
||||
|
||||
if-eqz v9, :cond_7
|
||||
iget-object v7, v1, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
|
||||
iget-object v9, v2, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
instance-of v7, v7, Lcom/discord/rtcconnection/RtcConnection$State$d;
|
||||
|
||||
instance-of v9, v9, Lcom/discord/rtcconnection/RtcConnection$State$d;
|
||||
if-nez v7, :cond_7
|
||||
|
||||
if-nez v9, :cond_7
|
||||
iget-object v8, v1, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v11, v2, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v9, v1, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
iget-object v12, v2, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
const/4 v11, 0x0
|
||||
|
||||
const/4 v14, 0x0
|
||||
const/4 v12, 0x4
|
||||
|
||||
const/4 v15, 0x4
|
||||
const/4 v13, 0x0
|
||||
|
||||
const/16 v16, 0x0
|
||||
const-string v10, "Already connecting, no need to continue."
|
||||
|
||||
const-string v13, "Already connecting, no need to continue."
|
||||
invoke-static/range {v8 .. v13}, Lcom/discord/utilities/logging/Logger;->w$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
invoke-static/range {v11 .. v16}, Lcom/discord/utilities/logging/Logger;->w$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
goto/16 :goto_6
|
||||
goto/16 :goto_5
|
||||
|
||||
:cond_7
|
||||
iget-object v9, v2, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
iget-object v7, v1, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
if-eqz v9, :cond_8
|
||||
if-eqz v7, :cond_8
|
||||
|
||||
iget-object v11, v9, Lf/a/h/t/a;->p:Ljava/util/List;
|
||||
iget-object v8, v7, Lf/a/h/u/a;->p:Ljava/util/List;
|
||||
|
||||
invoke-interface {v11}, Ljava/util/List;->clear()V
|
||||
invoke-interface {v8}, Ljava/util/List;->clear()V
|
||||
|
||||
sget-object v11, Lf/a/h/t/b;->d:Lf/a/h/t/b;
|
||||
sget-object v8, Lf/a/h/u/b;->d:Lf/a/h/u/b;
|
||||
|
||||
invoke-virtual {v9, v11}, Lf/a/h/t/a;->b(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {v7, v8}, Lf/a/h/u/a;->b(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
iput-boolean v5, v9, Lf/a/h/t/a;->q:Z
|
||||
iput-boolean v3, v7, Lf/a/h/u/a;->q:Z
|
||||
|
||||
:cond_8
|
||||
iget-boolean v5, v2, Lcom/discord/rtcconnection/RtcConnection;->h:Z
|
||||
iget-boolean v3, v1, Lcom/discord/rtcconnection/RtcConnection;->h:Z
|
||||
|
||||
if-eqz v5, :cond_9
|
||||
if-eqz v3, :cond_9
|
||||
|
||||
const-string v0, "Connect called on destroyed instance."
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v2, v4, v0, v10}, Lcom/discord/rtcconnection/RtcConnection;->d(ZLjava/lang/String;Ljava/lang/Throwable;)V
|
||||
const/4 v4, 0x0
|
||||
|
||||
goto/16 :goto_6
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x4
|
||||
|
||||
const-string v3, "Connect called on destroyed instance."
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lcom/discord/rtcconnection/RtcConnection;->d(Lcom/discord/rtcconnection/RtcConnection;ZLjava/lang/String;Ljava/lang/Throwable;ZI)V
|
||||
|
||||
goto/16 :goto_5
|
||||
|
||||
:cond_9
|
||||
if-nez v6, :cond_a
|
||||
if-nez v5, :cond_a
|
||||
|
||||
const-string v0, "Connect called with no token."
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v2, v4, v0, v10}, Lcom/discord/rtcconnection/RtcConnection;->d(ZLjava/lang/String;Ljava/lang/Throwable;)V
|
||||
const/4 v4, 0x0
|
||||
|
||||
goto :goto_6
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/16 v6, 0xc
|
||||
|
||||
const-string v3, "Connect called with no token."
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lcom/discord/rtcconnection/RtcConnection;->d(Lcom/discord/rtcconnection/RtcConnection;ZLjava/lang/String;Ljava/lang/Throwable;ZI)V
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_a
|
||||
iget-object v4, v2, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v3, v1, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
new-instance v5, Ljava/lang/StringBuilder;
|
||||
new-instance v7, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
||||
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v9, "connecting via endpoint: "
|
||||
const-string v8, "connecting via endpoint: "
|
||||
|
||||
invoke-virtual {v5, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v9, " token: "
|
||||
const-string v8, " token: "
|
||||
|
||||
invoke-virtual {v5, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v5
|
||||
move-result-object v7
|
||||
|
||||
iget-object v9, v2, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
iget-object v8, v1, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v4, v5, v9}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
invoke-virtual {v3, v7, v8}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
:try_start_0
|
||||
new-instance v4, Ljava/net/URI;
|
||||
new-instance v3, Ljava/net/URI;
|
||||
|
||||
invoke-direct {v4, v0}, Ljava/net/URI;-><init>(Ljava/lang/String;)V
|
||||
invoke-direct {v3, v0}, Ljava/net/URI;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v4}, Ljava/net/URI;->getHost()Ljava/lang/String;
|
||||
invoke-virtual {v3}, Ljava/net/URI;->getHost()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, v2, Lcom/discord/rtcconnection/RtcConnection;->l:Ljava/lang/String;
|
||||
iput-object v0, v1, Lcom/discord/rtcconnection/RtcConnection;->l:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v4}, Ljava/net/URI;->getPort()I
|
||||
invoke-virtual {v3}, Ljava/net/URI;->getPort()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
@ -280,67 +289,63 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, v2, Lcom/discord/rtcconnection/RtcConnection;->m:Ljava/lang/Integer;
|
||||
iput-object v0, v1, Lcom/discord/rtcconnection/RtcConnection;->m:Ljava/lang/Integer;
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_5
|
||||
goto :goto_4
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
iget-object v4, v2, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v3, v1, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
new-instance v5, Lkotlin/Pair;
|
||||
new-instance v7, Lkotlin/Pair;
|
||||
|
||||
const-string v9, "endpoint"
|
||||
const-string v8, "endpoint"
|
||||
|
||||
invoke-direct {v5, v9, v3}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
invoke-direct {v7, v8, v2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
invoke-static {v5}, Lf/h/a/f/f/n/g;->mapOf(Lkotlin/Pair;)Ljava/util/Map;
|
||||
invoke-static {v7}, Lf/h/a/f/f/n/g;->mapOf(Lkotlin/Pair;)Ljava/util/Map;
|
||||
|
||||
move-result-object v3
|
||||
move-result-object v2
|
||||
|
||||
const-string v5, "Failed to parse RTC endpoint"
|
||||
const-string v7, "Failed to parse RTC endpoint"
|
||||
|
||||
invoke-virtual {v4, v5, v0, v3}, Lcom/discord/utilities/logging/Logger;->e(Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;)V
|
||||
invoke-virtual {v3, v7, v0, v2}, Lcom/discord/utilities/logging/Logger;->e(Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;)V
|
||||
|
||||
:goto_4
|
||||
new-instance v0, Lf/a/h/u/a;
|
||||
|
||||
iget-object v7, v1, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v2, v1, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/rtcconnection/mediaengine/MediaEngine;
|
||||
|
||||
invoke-interface {v2}, Lcom/discord/rtcconnection/mediaengine/MediaEngine;->l()Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
iget-object v9, v1, Lcom/discord/rtcconnection/RtcConnection;->E:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
move-object v3, v0
|
||||
|
||||
invoke-direct/range {v3 .. v9}, Lf/a/h/u/a;-><init>(Ljava/lang/String;Ljava/lang/String;Ljavax/net/ssl/SSLSocketFactory;Lcom/discord/utilities/logging/Logger;Ljava/util/concurrent/ExecutorService;Lcom/discord/utilities/time/Clock;)V
|
||||
|
||||
iget-object v2, v1, Lcom/discord/rtcconnection/RtcConnection;->u:Lf/a/h/r;
|
||||
|
||||
const-string v3, "listener"
|
||||
|
||||
invoke-static {v2, v3}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v3, v0, Lf/a/h/u/a;->p:Ljava/util/List;
|
||||
|
||||
invoke-interface {v3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
invoke-virtual {v0}, Lf/a/h/u/a;->e()Z
|
||||
|
||||
iput-object v0, v1, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
:goto_5
|
||||
new-instance v0, Lf/a/h/t/a;
|
||||
|
||||
iget-object v3, v2, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v4, v2, Lcom/discord/rtcconnection/RtcConnection;->B:Lcom/discord/rtcconnection/mediaengine/MediaEngine;
|
||||
|
||||
invoke-interface {v4}, Lcom/discord/rtcconnection/mediaengine/MediaEngine;->l()Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
move-result-object v9
|
||||
|
||||
iget-object v10, v2, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
move-object v4, v0
|
||||
|
||||
move-object v5, v8
|
||||
|
||||
move-object v8, v3
|
||||
|
||||
invoke-direct/range {v4 .. v10}, Lf/a/h/t/a;-><init>(Ljava/lang/String;Ljava/lang/String;Ljavax/net/ssl/SSLSocketFactory;Lcom/discord/utilities/logging/Logger;Ljava/util/concurrent/ExecutorService;Lcom/discord/utilities/time/Clock;)V
|
||||
|
||||
iget-object v3, v2, Lcom/discord/rtcconnection/RtcConnection;->t:Lf/a/h/q;
|
||||
|
||||
const-string v4, "listener"
|
||||
|
||||
invoke-static {v3, v4}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v4, v0, Lf/a/h/t/a;->p:Ljava/util/List;
|
||||
|
||||
invoke-interface {v4, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
invoke-virtual {v0}, Lf/a/h/t/a;->e()Z
|
||||
|
||||
iput-object v0, v2, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
|
||||
:goto_6
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object v0
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
invoke-direct {v0, p0}, Lf/a/h/d;-><init>(Lf/a/h/e;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/rtcconnection/RtcConnection;->m(Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-virtual {p1, v0}, Lcom/discord/rtcconnection/RtcConnection;->l(Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -57,11 +57,11 @@
|
|||
|
||||
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
new-instance v2, Lf/a/h/j;
|
||||
new-instance v2, Lf/a/h/k;
|
||||
|
||||
invoke-direct {v2, v0, v1}, Lf/a/h/j;-><init>(Lcom/discord/rtcconnection/RtcConnection;Ljava/lang/Throwable;)V
|
||||
invoke-direct {v2, v0, v1}, Lf/a/h/k;-><init>(Lcom/discord/rtcconnection/RtcConnection;Ljava/lang/Throwable;)V
|
||||
|
||||
invoke-virtual {v0, v2}, Lcom/discord/rtcconnection/RtcConnection;->m(Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-virtual {v0, v2}, Lcom/discord/rtcconnection/RtcConnection;->l(Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
invoke-direct {v1, p0, p1}, Lf/a/h/f;-><init>(Lf/a/h/g;Ljava/lang/Throwable;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->m(Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->l(Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -49,11 +49,11 @@
|
|||
|
||||
# virtual methods
|
||||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 4
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lf/a/h/h;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/time/Clock;
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->E:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
invoke-interface {v1}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
||||
|
||||
|
@ -73,29 +73,33 @@
|
|||
|
||||
iput v1, v0, Lcom/discord/rtcconnection/RtcConnection;->q:I
|
||||
|
||||
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->B:Lcom/discord/rtcconnection/mediaengine/MediaEngine;
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/rtcconnection/mediaengine/MediaEngine;
|
||||
|
||||
invoke-interface {v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngine;->a()Lrx/Observable;
|
||||
invoke-interface {v1}, Lcom/discord/rtcconnection/mediaengine/MediaEngine;->a()Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
move-result-object v1
|
||||
|
||||
const-wide/16 v1, 0x1
|
||||
const-wide/16 v2, 0x1
|
||||
|
||||
sget-object v3, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
sget-object v4, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-virtual {v0, v1, v2, v3}, Lrx/Observable;->X(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
||||
invoke-virtual {v1, v2, v3, v4}, Lrx/Observable;->X(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
move-result-object v1
|
||||
|
||||
new-instance v1, Lf/a/h/e;
|
||||
new-instance v2, Lf/a/h/e;
|
||||
|
||||
invoke-direct {v1, p0}, Lf/a/h/e;-><init>(Lf/a/h/h;)V
|
||||
invoke-direct {v2, p0}, Lf/a/h/e;-><init>(Lf/a/h/h;)V
|
||||
|
||||
new-instance v2, Lf/a/h/g;
|
||||
new-instance v3, Lf/a/h/g;
|
||||
|
||||
invoke-direct {v2, p0}, Lf/a/h/g;-><init>(Lf/a/h/h;)V
|
||||
invoke-direct {v3, p0}, Lf/a/h/g;-><init>(Lf/a/h/h;)V
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lrx/Observable;->R(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
invoke-virtual {v1, v2, v3}, Lrx/Observable;->R(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iput-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->r:Lrx/Subscription;
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
|
|
|
@ -3,57 +3,62 @@
|
|||
.source "RtcConnection.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lx/m/c/k;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/rtcconnection/RtcConnection$b;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $throwable:Ljava/lang/Throwable;
|
||||
|
||||
.field public final synthetic this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
# static fields
|
||||
.field public static final d:Lf/a/h/j;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
iput-object p1, p0, Lf/a/h/j;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
new-instance v0, Lf/a/h/j;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/j;->$throwable:Ljava/lang/Throwable;
|
||||
invoke-direct {v0}, Lf/a/h/j;-><init>()V
|
||||
|
||||
const/4 p1, 0x0
|
||||
sput-object v0, Lf/a/h/j;->d:Lf/a/h/j;
|
||||
|
||||
invoke-direct {p0, p1}, Lx/m/c/k;-><init>(I)V
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-direct {p0, v0}, Lx/m/c/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 4
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/j;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
check-cast p1, Lcom/discord/rtcconnection/RtcConnection$b;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/j;->$throwable:Ljava/lang/Throwable;
|
||||
const-string v0, "it"
|
||||
|
||||
const/4 v2, 0x0
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v3, "Unable to prepare media engine."
|
||||
invoke-interface {p1}, Lcom/discord/rtcconnection/RtcConnection$b;->onFatalClose()V
|
||||
|
||||
invoke-virtual {v0, v2, v3, v1}, Lcom/discord/rtcconnection/RtcConnection;->d(ZLjava/lang/String;Ljava/lang/Throwable;)V
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object v0
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -1,706 +1,63 @@
|
|||
.class public final Lf/a/h/k;
|
||||
.super Ljava/lang/Object;
|
||||
.super Lx/m/c/k;
|
||||
.source "RtcConnection.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lx/m/c/k;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
.field public final synthetic $throwable:Ljava/lang/Throwable;
|
||||
|
||||
.field public final synthetic this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lf/a/h/k;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
iput-object p1, p0, Lf/a/h/k;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
iput-object p2, p0, Lf/a/h/k;->$throwable:Ljava/lang/Throwable;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lx/m/c/k;-><init>(I)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 11
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;",
|
||||
"Ljava/util/List<",
|
||||
"Lf/a/h/s/a;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 6
|
||||
|
||||
const-string v0, "connection"
|
||||
iget-object v0, p0, Lf/a/h/k;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string/jumbo p1, "transportInfo"
|
||||
|
||||
invoke-static {p2, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string/jumbo p1, "supportedVideoCodecs"
|
||||
|
||||
invoke-static {p3, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/k;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v0, p1, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/networking/Backoff;->succeed()V
|
||||
|
||||
iput-object p2, p1, Lcom/discord/rtcconnection/RtcConnection;->f:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;
|
||||
|
||||
iget-object v5, p1, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
if-eqz v5, :cond_1
|
||||
|
||||
new-instance v10, Lf/a/h/u/h;
|
||||
|
||||
const-wide/16 v2, 0x3e8
|
||||
|
||||
iget-object v4, p1, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
new-instance v6, Lco/discord/media_engine/VoiceQuality;
|
||||
|
||||
invoke-direct {v6}, Lco/discord/media_engine/VoiceQuality;-><init>()V
|
||||
|
||||
new-instance v7, Lf/a/h/u/j;
|
||||
|
||||
invoke-direct {v7, v9, v0}, Lf/a/h/u/j;-><init>(Lcom/discord/utilities/time/Clock;I)V
|
||||
|
||||
new-instance v8, Lcom/discord/rtcconnection/KrispOveruseDetector;
|
||||
|
||||
invoke-direct {v8, v5}, Lcom/discord/rtcconnection/KrispOveruseDetector;-><init>(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
move-object v1, v10
|
||||
|
||||
invoke-direct/range {v1 .. v8}, Lf/a/h/u/h;-><init>(JLcom/discord/utilities/logging/Logger;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lco/discord/media_engine/VoiceQuality;Lf/a/h/u/j;Lcom/discord/rtcconnection/KrispOveruseDetector;)V
|
||||
|
||||
iput-object v10, p1, Lcom/discord/rtcconnection/RtcConnection;->d:Lf/a/h/u/h;
|
||||
|
||||
iput-object v9, v10, Lf/a/h/u/h;->a:Lco/discord/media_engine/Stats;
|
||||
|
||||
iget-object v1, v10, Lf/a/h/u/h;->b:Lrx/Subscription;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-interface {v1}, Lrx/Subscription;->isUnsubscribed()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
invoke-virtual {v10}, Lf/a/h/u/h;->a()V
|
||||
|
||||
:cond_0
|
||||
const-wide/16 v1, 0x0
|
||||
|
||||
iget-wide v3, v10, Lf/a/h/u/h;->c:J
|
||||
|
||||
sget-object v5, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-static {v1, v2, v3, v4, v5}, Lrx/Observable;->A(JJLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
new-instance v2, Lf/a/h/u/f;
|
||||
|
||||
invoke-direct {v2, v10}, Lf/a/h/u/f;-><init>(Lf/a/h/u/h;)V
|
||||
|
||||
new-instance v3, Lf/a/h/u/g;
|
||||
|
||||
invoke-direct {v3, v10}, Lf/a/h/u/g;-><init>(Lf/a/h/u/h;)V
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Lrx/Observable;->R(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iput-object v1, v10, Lf/a/h/u/h;->b:Lrx/Subscription;
|
||||
|
||||
:cond_1
|
||||
iget-object v1, p2, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;->c:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo$Protocol;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
const-string p3, "Unsupported protocol: "
|
||||
|
||||
invoke-static {p3}, Lf/e/c/a/a;->G(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
iget-object p2, p2, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;->c:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo$Protocol;
|
||||
|
||||
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 p2, 0x2e
|
||||
|
||||
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, v0, p2, v9}, Lcom/discord/rtcconnection/RtcConnection;->d(ZLjava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
iget-object v1, p1, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v2, p1, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
const-string v3, "Sending UDP info to RTC server."
|
||||
|
||||
invoke-virtual {v1, v3, v2}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p1, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
const-string/jumbo v1, "udp"
|
||||
|
||||
iget-object v2, p2, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;->a:Ljava/lang/String;
|
||||
|
||||
iget p2, p2, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;->b:I
|
||||
|
||||
const-string/jumbo v3, "xsalsa20_poly1305"
|
||||
|
||||
const-string v4, "protocol"
|
||||
|
||||
invoke-static {v1, v4}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v4, "address"
|
||||
|
||||
invoke-static {v2, v4}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v4, "mode"
|
||||
|
||||
invoke-static {v3, v4}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v4, "codecs"
|
||||
|
||||
invoke-static {p3, v4}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v4, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$ProtocolInfo;
|
||||
|
||||
invoke-direct {v4, v2, p2, v3}, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$ProtocolInfo;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
||||
|
||||
new-instance p2, Ljava/util/ArrayList;
|
||||
|
||||
const/16 v2, 0xa
|
||||
|
||||
invoke-static {p3, v2}, Lf/h/a/f/f/n/g;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-direct {p2, v2}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
invoke-interface {p3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p3}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
invoke-interface {p3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Lf/a/h/s/a;
|
||||
|
||||
new-instance v3, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$CodecInfo;
|
||||
|
||||
iget-object v6, v2, Lf/a/h/s/a;->a:Ljava/lang/String;
|
||||
|
||||
iget v7, v2, Lf/a/h/s/a;->b:I
|
||||
|
||||
iget-object v8, v2, Lf/a/h/s/a;->c:Ljava/lang/String;
|
||||
|
||||
iget v9, v2, Lf/a/h/s/a;->d:I
|
||||
|
||||
iget-object v10, v2, Lf/a/h/s/a;->e:Ljava/lang/Integer;
|
||||
|
||||
move-object v5, v3
|
||||
|
||||
invoke-direct/range {v5 .. v10}, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$CodecInfo;-><init>(Ljava/lang/String;ILjava/lang/String;ILjava/lang/Integer;)V
|
||||
|
||||
invoke-virtual {p2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
new-instance p3, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol;
|
||||
|
||||
invoke-direct {p3, v1, v4, p2}, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol;-><init>(Ljava/lang/String;Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$ProtocolInfo;Ljava/util/List;)V
|
||||
|
||||
invoke-virtual {p1, v0, p3}, Lf/a/h/t/a;->m(ILjava/lang/Object;)V
|
||||
|
||||
:cond_4
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
.locals 7
|
||||
|
||||
const-string v0, "connection"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p1, "connectionState"
|
||||
|
||||
invoke-static {p2, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/k;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
sget-object v0, Lcom/discord/rtcconnection/RtcConnection$State$f;->a:Lcom/discord/rtcconnection/RtcConnection$State$f;
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$State$g;->a:Lcom/discord/rtcconnection/RtcConnection$State$g;
|
||||
|
||||
sget-object v2, Lcom/discord/rtcconnection/RtcConnection$State$h;->a:Lcom/discord/rtcconnection/RtcConnection$State$h;
|
||||
|
||||
iget-object v3, p1, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
|
||||
iget-object v4, p1, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
new-instance v5, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v6, "Connection state change: "
|
||||
|
||||
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
iget-object v6, p1, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v4, v5, v6}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result p2
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
if-eq p2, v4, :cond_2
|
||||
|
||||
const/4 v5, 0x2
|
||||
|
||||
if-eq p2, v5, :cond_1
|
||||
|
||||
const/4 v5, 0x3
|
||||
|
||||
if-ne p2, v5, :cond_0
|
||||
|
||||
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$State$e;->a:Lcom/discord/rtcconnection/RtcConnection$State$e;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
|
||||
|
||||
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
move-object p2, v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
move-object p2, v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
move-object p2, v2
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p1, p2}, Lcom/discord/rtcconnection/RtcConnection;->o(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
if-ne v3, v1, :cond_4
|
||||
|
||||
iget-object p2, p1, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
|
||||
if-ne p2, v2, :cond_4
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/rtcconnection/RtcConnection;->l()V
|
||||
|
||||
:cond_4
|
||||
iget-object p2, p1, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
|
||||
if-ne p2, v0, :cond_8
|
||||
|
||||
iget-object p2, p1, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
invoke-interface {p2}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iput-object p2, p1, Lcom/discord/rtcconnection/RtcConnection;->p:Ljava/lang/Long;
|
||||
|
||||
iput-boolean v4, p1, Lcom/discord/rtcconnection/RtcConnection;->r:Z
|
||||
|
||||
new-array p2, v4, [Lkotlin/Pair;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iget v1, p1, Lcom/discord/rtcconnection/RtcConnection;->q:I
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
new-instance v2, Lkotlin/Pair;
|
||||
|
||||
const-string v3, "connect_count"
|
||||
|
||||
invoke-direct {v2, v3, v1}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object v2, p2, v0
|
||||
|
||||
invoke-static {p2}, Lx/h/f;->mutableMapOf([Lkotlin/Pair;)Ljava/util/Map;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iget-object v0, p1, Lcom/discord/rtcconnection/RtcConnection;->o:Ljava/lang/Long;
|
||||
|
||||
iget-object v1, p1, Lcom/discord/rtcconnection/RtcConnection;->p:Ljava/lang/Long;
|
||||
|
||||
if-eqz v1, :cond_6
|
||||
|
||||
if-nez v0, :cond_5
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_5
|
||||
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
sub-long/2addr v1, v3
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_6
|
||||
:goto_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_2
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Number;->longValue()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "connect_time"
|
||||
|
||||
invoke-interface {p2, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_7
|
||||
invoke-virtual {p1, p2}, Lcom/discord/rtcconnection/RtcConnection;->a(Ljava/util/Map;)Ljava/util/Map;
|
||||
|
||||
sget-object v0, Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;->VOICE_CONNECTION_SUCCESS:Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Lcom/discord/rtcconnection/RtcConnection;->j(Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;Ljava/util/Map;)V
|
||||
|
||||
:cond_8
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "connection"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
.locals 8
|
||||
|
||||
const-string v0, "connection"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p1, "exception"
|
||||
|
||||
invoke-static {p2, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/k;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v1, "connection error: "
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;->a()Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException$FailureType;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;->a()Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException$FailureType;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
if-eq v1, v2, :cond_0
|
||||
|
||||
const/4 v4, 0x2
|
||||
|
||||
if-eq v1, v4, :cond_0
|
||||
iget-object v3, p0, Lf/a/h/k;->$throwable:Ljava/lang/Throwable;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
goto :goto_0
|
||||
const/4 v4, 0x0
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x1
|
||||
const/16 v5, 0x8
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_1
|
||||
const-string v2, "Unable to prepare media engine."
|
||||
|
||||
iget-object v1, p1, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/rtcconnection/RtcConnection;->d(Lcom/discord/rtcconnection/RtcConnection;ZLjava/lang/String;Ljava/lang/Throwable;ZI)V
|
||||
|
||||
const-string v3, " -- "
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
invoke-static {v0, v3}, Lf/e/c/a/a;->L(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
iget-object v4, p1, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, v3, v4}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;->VOICE_CONNECTION_FAILURE:Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;
|
||||
|
||||
new-array v4, v2, [Lkotlin/Pair;
|
||||
|
||||
iget v5, p1, Lcom/discord/rtcconnection/RtcConnection;->q:I
|
||||
|
||||
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
new-instance v6, Lkotlin/Pair;
|
||||
|
||||
const-string v7, "connect_count"
|
||||
|
||||
invoke-direct {v6, v7, v5}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object v6, v4, v3
|
||||
|
||||
invoke-static {v4}, Lx/h/f;->mutableMapOf([Lkotlin/Pair;)Ljava/util/Map;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {p1, v3}, Lcom/discord/rtcconnection/RtcConnection;->a(Ljava/util/Map;)Ljava/util/Map;
|
||||
|
||||
invoke-virtual {p1, v1, v3}, Lcom/discord/rtcconnection/RtcConnection;->j(Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;Ljava/util/Map;)V
|
||||
|
||||
:goto_1
|
||||
invoke-virtual {p1, v2, v0, p2}, Lcom/discord/rtcconnection/RtcConnection;->d(ZLjava/lang/String;Ljava/lang/Throwable;)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}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string/jumbo p1, "status"
|
||||
|
||||
invoke-static {p2, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onSpeaking(JIZ)V
|
||||
.locals 11
|
||||
|
||||
iget-object v0, p0, Lf/a/h/k;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-wide v1, v0, Lcom/discord/rtcconnection/RtcConnection;->A:J
|
||||
|
||||
cmp-long v3, p1, v1
|
||||
|
||||
if-nez v3, :cond_0
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
new-instance v10, Lcom/discord/rtcconnection/socket/io/Payloads$Speaking;
|
||||
|
||||
invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/16 v8, 0x8
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
move-object v3, v10
|
||||
|
||||
move v4, p3
|
||||
|
||||
invoke-direct/range {v3 .. v9}, Lcom/discord/rtcconnection/socket/io/Payloads$Speaking;-><init>(ILjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
invoke-virtual {v1, v2, v10}, Lf/a/h/t/a;->m(ILjava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
new-instance p3, Lf/a/h/l;
|
||||
|
||||
invoke-direct {p3, p1, p2, p4}, Lf/a/h/l;-><init>(JZ)V
|
||||
|
||||
invoke-virtual {v0, p3}, Lcom/discord/rtcconnection/RtcConnection;->k(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onVideo(JLjava/lang/Integer;III)V
|
||||
.locals 13
|
||||
|
||||
move-wide v0, p1
|
||||
|
||||
move-object v2, p0
|
||||
|
||||
iget-object v3, v2, Lf/a/h/k;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-wide v4, v3, Lcom/discord/rtcconnection/RtcConnection;->A:J
|
||||
|
||||
cmp-long v6, v0, v4
|
||||
|
||||
if-nez v6, :cond_0
|
||||
|
||||
iget-object v4, v3, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
new-instance v12, Lcom/discord/rtcconnection/socket/io/Payloads$Video;
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
const/16 v10, 0x8
|
||||
|
||||
const/4 v11, 0x0
|
||||
|
||||
move-object v5, v12
|
||||
|
||||
move/from16 v6, p4
|
||||
|
||||
move/from16 v7, p5
|
||||
|
||||
move/from16 v8, p6
|
||||
|
||||
invoke-direct/range {v5 .. v11}, Lcom/discord/rtcconnection/socket/io/Payloads$Video;-><init>(IIILjava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
const/16 v5, 0xc
|
||||
|
||||
invoke-virtual {v4, v5, v12}, Lf/a/h/t/a;->m(ILjava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
new-instance v4, Lf/a/h/m;
|
||||
|
||||
move-object/from16 v5, p3
|
||||
|
||||
invoke-direct {v4, p1, p2, v5}, Lf/a/h/m;-><init>(JLjava/lang/Integer;)V
|
||||
|
||||
invoke-virtual {v3, v4}, Lcom/discord/rtcconnection/RtcConnection;->k(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
return-object v0
|
||||
.end method
|
||||
|
|
|
@ -1,62 +1,722 @@
|
|||
.class public final Lf/a/h/l;
|
||||
.super Lx/m/c/k;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RtcConnection.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lx/m/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/rtcconnection/RtcConnection$b;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.implements Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $isSpeaking:Z
|
||||
|
||||
.field public final synthetic $userId:J
|
||||
.field public final synthetic a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(JZ)V
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-wide p1, p0, Lf/a/h/l;->$userId:J
|
||||
iput-object p1, p0, Lf/a/h/l;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iput-boolean p3, p0, Lf/a/h/l;->$isSpeaking:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lx/m/c/k;-><init>(I)V
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 3
|
||||
.method public onConnected(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;Ljava/util/List;)V
|
||||
.locals 11
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;",
|
||||
"Ljava/util/List<",
|
||||
"Lf/a/h/t/a;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
check-cast p1, Lcom/discord/rtcconnection/RtcConnection$b;
|
||||
|
||||
const-string v0, "it"
|
||||
const-string v0, "connection"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v0, p0, Lf/a/h/l;->$userId:J
|
||||
const-string/jumbo p1, "transportInfo"
|
||||
|
||||
iget-boolean v2, p0, Lf/a/h/l;->$isSpeaking:Z
|
||||
invoke-static {p2, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p1, v0, v1, v2}, Lcom/discord/rtcconnection/RtcConnection$b;->onSpeaking(JZ)V
|
||||
const-string/jumbo p1, "supportedVideoCodecs"
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
invoke-static {p3, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
iget-object v0, p0, Lf/a/h/l;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/utilities/networking/Backoff;->succeed()V
|
||||
|
||||
iput-object p2, v0, Lcom/discord/rtcconnection/RtcConnection;->f:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;
|
||||
|
||||
iget-object v5, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
if-eqz v5, :cond_1
|
||||
|
||||
new-instance v9, Lf/a/h/v/h;
|
||||
|
||||
const-wide/16 v2, 0x3e8
|
||||
|
||||
iget-object v4, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
new-instance v6, Lco/discord/media_engine/VoiceQuality;
|
||||
|
||||
invoke-direct {v6}, Lco/discord/media_engine/VoiceQuality;-><init>()V
|
||||
|
||||
new-instance v7, Lf/a/h/v/j;
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
invoke-direct {v7, v10, p1}, Lf/a/h/v/j;-><init>(Lcom/discord/utilities/time/Clock;I)V
|
||||
|
||||
new-instance v8, Lcom/discord/rtcconnection/KrispOveruseDetector;
|
||||
|
||||
invoke-direct {v8, v5}, Lcom/discord/rtcconnection/KrispOveruseDetector;-><init>(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
move-object v1, v9
|
||||
|
||||
invoke-direct/range {v1 .. v8}, Lf/a/h/v/h;-><init>(JLcom/discord/utilities/logging/Logger;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lco/discord/media_engine/VoiceQuality;Lf/a/h/v/j;Lcom/discord/rtcconnection/KrispOveruseDetector;)V
|
||||
|
||||
iput-object v9, v0, Lcom/discord/rtcconnection/RtcConnection;->d:Lf/a/h/v/h;
|
||||
|
||||
iput-object v10, v9, Lf/a/h/v/h;->a:Lco/discord/media_engine/Stats;
|
||||
|
||||
iget-object v1, v9, Lf/a/h/v/h;->b:Lrx/Subscription;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-interface {v1}, Lrx/Subscription;->isUnsubscribed()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
invoke-virtual {v9}, Lf/a/h/v/h;->a()V
|
||||
|
||||
:cond_0
|
||||
const-wide/16 v1, 0x0
|
||||
|
||||
iget-wide v3, v9, Lf/a/h/v/h;->c:J
|
||||
|
||||
sget-object v5, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-static {v1, v2, v3, v4, v5}, Lrx/Observable;->A(JJLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
new-instance v2, Lf/a/h/v/f;
|
||||
|
||||
invoke-direct {v2, v9}, Lf/a/h/v/f;-><init>(Lf/a/h/v/h;)V
|
||||
|
||||
new-instance v3, Lf/a/h/v/g;
|
||||
|
||||
invoke-direct {v3, v9}, Lf/a/h/v/g;-><init>(Lf/a/h/v/h;)V
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Lrx/Observable;->R(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iput-object v1, v9, Lf/a/h/v/h;->b:Lrx/Subscription;
|
||||
|
||||
:cond_1
|
||||
iget-object v1, p2, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;->c:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo$Protocol;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const-string p1, "Unsupported protocol: "
|
||||
|
||||
invoke-static {p1}, Lf/e/c/a/a;->G(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object p2, p2, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;->c:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo$Protocol;
|
||||
|
||||
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 p2, 0x2e
|
||||
|
||||
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/16 v5, 0xc
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/rtcconnection/RtcConnection;->d(Lcom/discord/rtcconnection/RtcConnection;ZLjava/lang/String;Ljava/lang/Throwable;ZI)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v2, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
const-string v3, "Sending UDP info to RTC server."
|
||||
|
||||
invoke-virtual {v1, v3, v2}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
const-string/jumbo v1, "udp"
|
||||
|
||||
iget-object v2, p2, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;->a:Ljava/lang/String;
|
||||
|
||||
iget p2, p2, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;->b:I
|
||||
|
||||
const-string/jumbo v3, "xsalsa20_poly1305"
|
||||
|
||||
const-string v4, "protocol"
|
||||
|
||||
invoke-static {v1, v4}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v4, "address"
|
||||
|
||||
invoke-static {v2, v4}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v4, "mode"
|
||||
|
||||
invoke-static {v3, v4}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v4, "codecs"
|
||||
|
||||
invoke-static {p3, v4}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v4, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$ProtocolInfo;
|
||||
|
||||
invoke-direct {v4, v2, p2, v3}, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$ProtocolInfo;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
||||
|
||||
new-instance p2, Ljava/util/ArrayList;
|
||||
|
||||
const/16 v2, 0xa
|
||||
|
||||
invoke-static {p3, v2}, Lf/h/a/f/f/n/g;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-direct {p2, v2}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
invoke-interface {p3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p3}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
invoke-interface {p3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Lf/a/h/t/a;
|
||||
|
||||
new-instance v3, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$CodecInfo;
|
||||
|
||||
iget-object v6, v2, Lf/a/h/t/a;->a:Ljava/lang/String;
|
||||
|
||||
iget v7, v2, Lf/a/h/t/a;->b:I
|
||||
|
||||
iget-object v8, v2, Lf/a/h/t/a;->c:Ljava/lang/String;
|
||||
|
||||
iget v9, v2, Lf/a/h/t/a;->d:I
|
||||
|
||||
iget-object v10, v2, Lf/a/h/t/a;->e:Ljava/lang/Integer;
|
||||
|
||||
move-object v5, v3
|
||||
|
||||
invoke-direct/range {v5 .. v10}, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$CodecInfo;-><init>(Ljava/lang/String;ILjava/lang/String;ILjava/lang/Integer;)V
|
||||
|
||||
invoke-virtual {p2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
new-instance p3, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol;
|
||||
|
||||
invoke-direct {p3, v1, v4, p2}, Lcom/discord/rtcconnection/socket/io/Payloads$Protocol;-><init>(Ljava/lang/String;Lcom/discord/rtcconnection/socket/io/Payloads$Protocol$ProtocolInfo;Ljava/util/List;)V
|
||||
|
||||
invoke-virtual {v0, p1, p3}, Lf/a/h/u/a;->m(ILjava/lang/Object;)V
|
||||
|
||||
:cond_4
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
.locals 7
|
||||
|
||||
const-string v0, "connection"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p1, "connectionState"
|
||||
|
||||
invoke-static {p2, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/l;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
sget-object v0, Lcom/discord/rtcconnection/RtcConnection$State$f;->a:Lcom/discord/rtcconnection/RtcConnection$State$f;
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$State$g;->a:Lcom/discord/rtcconnection/RtcConnection$State$g;
|
||||
|
||||
sget-object v2, Lcom/discord/rtcconnection/RtcConnection$State$h;->a:Lcom/discord/rtcconnection/RtcConnection$State$h;
|
||||
|
||||
iget-object v3, p1, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
|
||||
iget-object v4, p1, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
new-instance v5, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v6, "Connection state change: "
|
||||
|
||||
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
iget-object v6, p1, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v4, v5, v6}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result p2
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
if-eq p2, v4, :cond_2
|
||||
|
||||
const/4 v5, 0x2
|
||||
|
||||
if-eq p2, v5, :cond_1
|
||||
|
||||
const/4 v5, 0x3
|
||||
|
||||
if-ne p2, v5, :cond_0
|
||||
|
||||
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$State$e;->a:Lcom/discord/rtcconnection/RtcConnection$State$e;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
|
||||
|
||||
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
move-object p2, v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
move-object p2, v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
move-object p2, v2
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p1, p2}, Lcom/discord/rtcconnection/RtcConnection;->n(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
if-ne v3, v1, :cond_4
|
||||
|
||||
iget-object p2, p1, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
|
||||
if-ne p2, v2, :cond_4
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/rtcconnection/RtcConnection;->k()V
|
||||
|
||||
:cond_4
|
||||
iget-object p2, p1, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
|
||||
if-ne p2, v0, :cond_8
|
||||
|
||||
iget-object p2, p1, Lcom/discord/rtcconnection/RtcConnection;->E:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
invoke-interface {p2}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iput-object p2, p1, Lcom/discord/rtcconnection/RtcConnection;->p:Ljava/lang/Long;
|
||||
|
||||
iput-boolean v4, p1, Lcom/discord/rtcconnection/RtcConnection;->s:Z
|
||||
|
||||
new-array p2, v4, [Lkotlin/Pair;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iget v1, p1, Lcom/discord/rtcconnection/RtcConnection;->q:I
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
new-instance v2, Lkotlin/Pair;
|
||||
|
||||
const-string v3, "connect_count"
|
||||
|
||||
invoke-direct {v2, v3, v1}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object v2, p2, v0
|
||||
|
||||
invoke-static {p2}, Lx/h/f;->mutableMapOf([Lkotlin/Pair;)Ljava/util/Map;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iget-object v0, p1, Lcom/discord/rtcconnection/RtcConnection;->o:Ljava/lang/Long;
|
||||
|
||||
iget-object v1, p1, Lcom/discord/rtcconnection/RtcConnection;->p:Ljava/lang/Long;
|
||||
|
||||
if-eqz v1, :cond_6
|
||||
|
||||
if-nez v0, :cond_5
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_5
|
||||
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
sub-long/2addr v1, v3
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_6
|
||||
:goto_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_2
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Number;->longValue()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "connect_time"
|
||||
|
||||
invoke-interface {p2, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_7
|
||||
invoke-virtual {p1, p2}, Lcom/discord/rtcconnection/RtcConnection;->a(Ljava/util/Map;)Ljava/util/Map;
|
||||
|
||||
sget-object v0, Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;->VOICE_CONNECTION_SUCCESS:Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Lcom/discord/rtcconnection/RtcConnection;->i(Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;Ljava/util/Map;)V
|
||||
|
||||
:cond_8
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "connection"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
.locals 7
|
||||
|
||||
const-string v0, "connection"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p1, "exception"
|
||||
|
||||
invoke-static {p2, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/l;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
new-instance p1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v1, "connection error: "
|
||||
|
||||
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;->a()Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException$FailureType;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;->a()Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException$FailureType;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result p1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
if-eq p1, v1, :cond_0
|
||||
|
||||
const/4 v4, 0x2
|
||||
|
||||
if-eq p1, v4, :cond_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
:goto_0
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
const-string v1, " -- "
|
||||
|
||||
invoke-static {v2, v1}, Lf/e/c/a/a;->L(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p1, v1, v3}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
sget-object p1, Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;->VOICE_CONNECTION_FAILURE:Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;
|
||||
|
||||
new-array v1, v1, [Lkotlin/Pair;
|
||||
|
||||
iget v4, v0, Lcom/discord/rtcconnection/RtcConnection;->q:I
|
||||
|
||||
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
new-instance v5, Lkotlin/Pair;
|
||||
|
||||
const-string v6, "connect_count"
|
||||
|
||||
invoke-direct {v5, v6, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
aput-object v5, v1, v3
|
||||
|
||||
invoke-static {v1}, Lx/h/f;->mutableMapOf([Lkotlin/Pair;)Ljava/util/Map;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->a(Ljava/util/Map;)Ljava/util/Map;
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Lcom/discord/rtcconnection/RtcConnection;->i(Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;Ljava/util/Map;)V
|
||||
|
||||
:goto_1
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/16 v5, 0x8
|
||||
|
||||
move-object v3, p2
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/rtcconnection/RtcConnection;->d(Lcom/discord/rtcconnection/RtcConnection;ZLjava/lang/String;Ljava/lang/Throwable;ZI)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}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string/jumbo p1, "status"
|
||||
|
||||
invoke-static {p2, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onSpeaking(JIZ)V
|
||||
.locals 11
|
||||
|
||||
iget-object v0, p0, Lf/a/h/l;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-wide v1, v0, Lcom/discord/rtcconnection/RtcConnection;->B:J
|
||||
|
||||
cmp-long v3, p1, v1
|
||||
|
||||
if-nez v3, :cond_0
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
new-instance v10, Lcom/discord/rtcconnection/socket/io/Payloads$Speaking;
|
||||
|
||||
invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/16 v8, 0x8
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
move-object v3, v10
|
||||
|
||||
move v4, p3
|
||||
|
||||
invoke-direct/range {v3 .. v9}, Lcom/discord/rtcconnection/socket/io/Payloads$Speaking;-><init>(ILjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
invoke-virtual {v1, v2, v10}, Lf/a/h/u/a;->m(ILjava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
new-instance p3, Lf/a/h/m;
|
||||
|
||||
invoke-direct {p3, p1, p2, p4}, Lf/a/h/m;-><init>(JZ)V
|
||||
|
||||
invoke-virtual {v0, p3}, Lcom/discord/rtcconnection/RtcConnection;->j(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onVideo(JLjava/lang/Integer;III)V
|
||||
.locals 13
|
||||
|
||||
move-wide v0, p1
|
||||
|
||||
move-object v2, p0
|
||||
|
||||
iget-object v3, v2, Lf/a/h/l;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-wide v4, v3, Lcom/discord/rtcconnection/RtcConnection;->B:J
|
||||
|
||||
cmp-long v6, v0, v4
|
||||
|
||||
if-nez v6, :cond_0
|
||||
|
||||
iget-object v4, v3, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
new-instance v12, Lcom/discord/rtcconnection/socket/io/Payloads$Video;
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
const/16 v10, 0x8
|
||||
|
||||
const/4 v11, 0x0
|
||||
|
||||
move-object v5, v12
|
||||
|
||||
move/from16 v6, p4
|
||||
|
||||
move/from16 v7, p5
|
||||
|
||||
move/from16 v8, p6
|
||||
|
||||
invoke-direct/range {v5 .. v11}, Lcom/discord/rtcconnection/socket/io/Payloads$Video;-><init>(IIILjava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
const/16 v5, 0xc
|
||||
|
||||
invoke-virtual {v4, v5, v12}, Lf/a/h/u/a;->m(ILjava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
new-instance v4, Lf/a/h/n;
|
||||
|
||||
move-object/from16 v5, p3
|
||||
|
||||
invoke-direct {v4, p1, p2, v5}, Lf/a/h/n;-><init>(JLjava/lang/Integer;)V
|
||||
|
||||
invoke-virtual {v3, v4}, Lcom/discord/rtcconnection/RtcConnection;->j(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -19,18 +19,18 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $streamId:Ljava/lang/Integer;
|
||||
.field public final synthetic $isSpeaking:Z
|
||||
|
||||
.field public final synthetic $userId:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(JLjava/lang/Integer;)V
|
||||
.method public constructor <init>(JZ)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lf/a/h/m;->$userId:J
|
||||
|
||||
iput-object p3, p0, Lf/a/h/m;->$streamId:Ljava/lang/Integer;
|
||||
iput-boolean p3, p0, Lf/a/h/m;->$isSpeaking:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -52,9 +52,9 @@
|
|||
|
||||
iget-wide v0, p0, Lf/a/h/m;->$userId:J
|
||||
|
||||
iget-object v2, p0, Lf/a/h/m;->$streamId:Ljava/lang/Integer;
|
||||
iget-boolean v2, p0, Lf/a/h/m;->$isSpeaking:Z
|
||||
|
||||
invoke-interface {p1, v0, v1, v2}, Lcom/discord/rtcconnection/RtcConnection$b;->onVideoStream(JLjava/lang/Integer;)V
|
||||
invoke-interface {p1, v0, v1, v2}, Lcom/discord/rtcconnection/RtcConnection$b;->onSpeaking(JZ)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
|
|
|
@ -3,14 +3,15 @@
|
|||
.source "RtcConnection.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lx/m/c/k;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/rtcconnection/RtcConnection$b;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
|
@ -18,16 +19,20 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
.field public final synthetic $streamId:Ljava/lang/Integer;
|
||||
|
||||
.field public final synthetic $userId:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
.method public constructor <init>(JLjava/lang/Integer;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/n;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
iput-wide p1, p0, Lf/a/h/n;->$userId:J
|
||||
|
||||
const/4 p1, 0x0
|
||||
iput-object p3, p0, Lf/a/h/n;->$streamId:Ljava/lang/Integer;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lx/m/c/k;-><init>(I)V
|
||||
|
||||
|
@ -36,14 +41,22 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lf/a/h/n;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
check-cast p1, Lcom/discord/rtcconnection/RtcConnection$b;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/rtcconnection/RtcConnection;->l()V
|
||||
const-string v0, "it"
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
iget-wide v0, p0, Lf/a/h/n;->$userId:J
|
||||
|
||||
iget-object v2, p0, Lf/a/h/n;->$streamId:Ljava/lang/Integer;
|
||||
|
||||
invoke-interface {p1, v0, v1, v2}, Lcom/discord/rtcconnection/RtcConnection$b;->onVideoStream(JLjava/lang/Integer;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -3,15 +3,14 @@
|
|||
.source "RtcConnection.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lx/m/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Ljava/lang/Exception;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
|
@ -28,7 +27,7 @@
|
|||
|
||||
iput-object p1, p0, Lf/a/h/o;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
const/4 p1, 0x1
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lx/m/c/k;-><init>(I)V
|
||||
|
||||
|
@ -37,46 +36,14 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 4
|
||||
|
||||
check-cast p1, Ljava/lang/Exception;
|
||||
|
||||
const-string v0, "it"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/o;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
const-string v1, "Error occurred while connecting to RTC server: "
|
||||
invoke-virtual {v0}, Lcom/discord/rtcconnection/RtcConnection;->k()V
|
||||
|
||||
invoke-static {v1}, Lf/e/c/a/a;->G(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 p1, 0x2e
|
||||
|
||||
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x4
|
||||
|
||||
invoke-static {v0, v1, p1, v2, v3}, Lcom/discord/rtcconnection/RtcConnection;->e(Lcom/discord/rtcconnection/RtcConnection;ZLjava/lang/String;Ljava/lang/Throwable;I)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
return-object v0
|
||||
.end method
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
value = {
|
||||
"Lx/m/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/rtcconnection/RtcConnection$b;",
|
||||
"Ljava/lang/Exception;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
|
@ -19,14 +19,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $quality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
.field public final synthetic this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection$Quality;)V
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/p;->$quality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
iput-object p1, p0, Lf/a/h/p;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -38,17 +38,45 @@
|
|||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.locals 7
|
||||
|
||||
check-cast p1, Lcom/discord/rtcconnection/RtcConnection$b;
|
||||
check-cast p1, Ljava/lang/Exception;
|
||||
|
||||
const-string v0, "it"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/p;->$quality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
iget-object v1, p0, Lf/a/h/p;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
invoke-interface {p1, v0}, Lcom/discord/rtcconnection/RtcConnection$b;->onQualityUpdate(Lcom/discord/rtcconnection/RtcConnection$Quality;)V
|
||||
const-string v0, "Error occurred while connecting to RTC server: "
|
||||
|
||||
invoke-static {v0}, Lf/e/c/a/a;->G(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 p1, 0x2e
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/16 v6, 0xc
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lcom/discord/rtcconnection/RtcConnection;->d(Lcom/discord/rtcconnection/RtcConnection;ZLjava/lang/String;Ljava/lang/Throwable;ZI)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
|
|
|
@ -1,772 +1,56 @@
|
|||
.class public final Lf/a/h/q;
|
||||
.super Ljava/lang/Object;
|
||||
.super Lx/m/c/k;
|
||||
.source "RtcConnection.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/a/h/t/a$c;
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lx/m/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/rtcconnection/RtcConnection$b;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
.field public final synthetic $quality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection$Quality;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
iput-object p1, p0, Lf/a/h/q;->$quality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lx/m/c/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Ljava/lang/String;Ljava/lang/String;)V
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "audioCodec"
|
||||
check-cast p1, Lcom/discord/rtcconnection/RtcConnection$b;
|
||||
|
||||
const-string v0, "it"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string/jumbo v0, "videoCodec"
|
||||
iget-object v0, p0, Lf/a/h/q;->$quality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-interface {p1, v0}, Lcom/discord/rtcconnection/RtcConnection$b;->onQualityUpdate(Lcom/discord/rtcconnection/RtcConnection$Quality;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-interface {v0, p1, p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->o(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(ZLjava/lang/Integer;Ljava/lang/String;)V
|
||||
.locals 9
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
new-instance v2, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v3, "Disconnected from RTC server. wasFatal: "
|
||||
|
||||
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p1, " -- code: "
|
||||
|
||||
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p1, " -- reason: "
|
||||
|
||||
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v2, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, p1, v2}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-interface {p1}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->i()V
|
||||
|
||||
:cond_0
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->u:Lf/a/h/k;
|
||||
|
||||
invoke-interface {p1, v1}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->l(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;)V
|
||||
|
||||
:cond_1
|
||||
const/16 p1, 0x3e8
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-nez p2, :cond_2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p2}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eq v2, p1, :cond_3
|
||||
|
||||
:goto_0
|
||||
const/4 v2, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_1
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
|
||||
instance-of v3, v3, Lcom/discord/rtcconnection/RtcConnection$State$d;
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
if-nez v3, :cond_5
|
||||
|
||||
invoke-virtual {v0, v2, p3}, Lcom/discord/rtcconnection/RtcConnection;->i(ZLjava/lang/String;)V
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->d:Lf/a/h/u/h;
|
||||
|
||||
if-eqz v3, :cond_4
|
||||
|
||||
invoke-virtual {v3}, Lf/a/h/u/h;->a()V
|
||||
|
||||
:cond_4
|
||||
iput-object v4, v0, Lcom/discord/rtcconnection/RtcConnection;->d:Lf/a/h/u/h;
|
||||
|
||||
:cond_5
|
||||
iput v1, v0, Lcom/discord/rtcconnection/RtcConnection;->n:I
|
||||
|
||||
iput-object v4, v0, Lcom/discord/rtcconnection/RtcConnection;->p:Ljava/lang/Long;
|
||||
|
||||
new-instance v1, Lcom/discord/rtcconnection/RtcConnection$State$d;
|
||||
|
||||
invoke-direct {v1, v2}, Lcom/discord/rtcconnection/RtcConnection$State$d;-><init>(Z)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->o(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
if-eqz v2, :cond_6
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
|
||||
new-instance v2, Lf/a/h/n;
|
||||
|
||||
invoke-direct {v2, v0}, Lf/a/h/n;-><init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
|
||||
invoke-virtual {v1, v2}, Lcom/discord/utilities/networking/Backoff;->fail(Lkotlin/jvm/functions/Function0;)J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v4, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v5, "Disconnect was not clean! Reason: "
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p3, ", code: "
|
||||
|
||||
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p2, ". Reconnecting in "
|
||||
|
||||
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
int-to-long p1, p1
|
||||
|
||||
div-long/2addr v1, p1
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p1, " seconds."
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x4
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
invoke-static/range {v3 .. v8}, Lcom/discord/utilities/logging/Logger;->w$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
:cond_6
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public c(JII)V
|
||||
.locals 10
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-wide v1, v0, Lcom/discord/rtcconnection/RtcConnection;->A:J
|
||||
|
||||
cmp-long v3, p1, v1
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
iget-object v4, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
iget-object p4, v0, Lcom/discord/rtcconnection/RtcConnection;->F:Ljava/util/Map;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {p4, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p4
|
||||
|
||||
check-cast p4, Ljava/lang/Boolean;
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
|
||||
move-result p4
|
||||
|
||||
move v9, p4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p4, 0x0
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
:goto_0
|
||||
move-wide v5, p1
|
||||
|
||||
move v7, p3
|
||||
|
||||
invoke-interface/range {v4 .. v9}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->m(JILjava/lang/Integer;Z)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public d(Ljava/lang/String;Ljava/util/List;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Integer;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "mode"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "secretKey"
|
||||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {p2}, Lx/h/f;->toIntArray(Ljava/util/Collection;)[I
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-interface {v0, p1, p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->p(Ljava/lang/String;[I)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public e(Ljava/lang/String;)V
|
||||
.locals 3
|
||||
|
||||
const-string v0, "mediaSessionId"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iput-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->s:Ljava/lang/String;
|
||||
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->c:Ljava/util/List;
|
||||
|
||||
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lcom/discord/rtcconnection/RtcConnection$b;
|
||||
|
||||
invoke-interface {v1}, Lcom/discord/rtcconnection/RtcConnection$b;->onMediaSessionIdReceived()V
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;->MEDIA_SESSION_JOINED:Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;
|
||||
|
||||
new-instance v2, Ljava/util/LinkedHashMap;
|
||||
|
||||
invoke-direct {v2}, Ljava/util/LinkedHashMap;-><init>()V
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lcom/discord/rtcconnection/RtcConnection;->j(Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;Ljava/util/Map;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public f(J)V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->i:Ljava/util/LinkedList;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->i:Ljava/util/LinkedList;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/LinkedList;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
if-le v1, v2, :cond_0
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->i:Ljava/util/LinkedList;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/LinkedList;->removeFirst()Ljava/lang/Object;
|
||||
|
||||
:cond_0
|
||||
const/16 v1, 0x1f4
|
||||
|
||||
int-to-long v2, v1
|
||||
|
||||
cmp-long v4, p1, v2
|
||||
|
||||
if-lez v4, :cond_1
|
||||
|
||||
iget v2, v0, Lcom/discord/rtcconnection/RtcConnection;->n:I
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
iput v2, v0, Lcom/discord/rtcconnection/RtcConnection;->n:I
|
||||
|
||||
:cond_1
|
||||
sget-object v2, Lcom/discord/rtcconnection/RtcConnection$Quality;->Companion:Lcom/discord/rtcconnection/RtcConnection$Quality$a;
|
||||
|
||||
long-to-double p1, p1
|
||||
|
||||
invoke-static {v2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Double;->isNaN(D)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/RtcConnection$Quality;->UNKNOWN:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
const/16 v2, 0xfa
|
||||
|
||||
int-to-double v2, v2
|
||||
|
||||
cmpg-double v4, p1, v2
|
||||
|
||||
if-gez v4, :cond_3
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/RtcConnection$Quality;->FINE:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
int-to-double v1, v1
|
||||
|
||||
cmpg-double v3, p1, v1
|
||||
|
||||
if-gez v3, :cond_4
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/RtcConnection$Quality;->AVERAGE:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
sget-object p1, Lcom/discord/rtcconnection/RtcConnection$Quality;->BAD:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
:goto_0
|
||||
new-instance p2, Lf/a/h/p;
|
||||
|
||||
invoke-direct {p2, p1}, Lf/a/h/p;-><init>(Lcom/discord/rtcconnection/RtcConnection$Quality;)V
|
||||
|
||||
invoke-virtual {v0, p2}, Lcom/discord/rtcconnection/RtcConnection;->k(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public g()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public h()V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/utilities/networking/Backoff;->cancel()V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
const-string v2, "Connecting to RTC server "
|
||||
|
||||
invoke-static {v2}, Lf/e/c/a/a;->G(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
iget-object v3, v3, Lf/a/h/t/a;->r:Ljava/lang/String;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$State$c;->a:Lcom/discord/rtcconnection/RtcConnection$State$c;
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->o(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public i()V
|
||||
.locals 15
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/utilities/networking/Backoff;->cancel()V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v2, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
const-string v3, "Connected to RTC server."
|
||||
|
||||
invoke-virtual {v1, v3, v2}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->z:Ljava/lang/String;
|
||||
|
||||
iget-wide v4, v0, Lcom/discord/rtcconnection/RtcConnection;->A:J
|
||||
|
||||
iget-object v6, v0, Lcom/discord/rtcconnection/RtcConnection;->x:Ljava/lang/String;
|
||||
|
||||
iget-boolean v8, v0, Lcom/discord/rtcconnection/RtcConnection;->y:Z
|
||||
|
||||
const-string v2, "serverId"
|
||||
|
||||
invoke-static {v3, v2}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v2, "sessionId"
|
||||
|
||||
invoke-static {v6, v2}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v2, v1, Lf/a/h/t/a;->q:Z
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
iget-object v9, v1, Lf/a/h/t/a;->u:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v10, v1, Lf/a/h/t/a;->a:Ljava/lang/String;
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x4
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
const-string v11, "identify called on canceled instance of RtcControlSocket"
|
||||
|
||||
invoke-static/range {v9 .. v14}, Lcom/discord/utilities/logging/Logger;->w$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iput-object v3, v1, Lf/a/h/t/a;->f:Ljava/lang/String;
|
||||
|
||||
iput-object v6, v1, Lf/a/h/t/a;->g:Ljava/lang/String;
|
||||
|
||||
sget-object v2, Lf/a/h/t/a$b;->f:Lf/a/h/t/a$b;
|
||||
|
||||
iput-object v2, v1, Lf/a/h/t/a;->i:Lf/a/h/t/a$b;
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
new-instance v10, Lcom/discord/rtcconnection/socket/io/Payloads$Identify;
|
||||
|
||||
iget-object v7, v1, Lf/a/h/t/a;->s:Ljava/lang/String;
|
||||
|
||||
move-object v2, v10
|
||||
|
||||
invoke-direct/range {v2 .. v8}, Lcom/discord/rtcconnection/socket/io/Payloads$Identify;-><init>(Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Z)V
|
||||
|
||||
invoke-virtual {v1, v9, v10}, Lf/a/h/t/a;->m(ILjava/lang/Object;)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$State$a;->a:Lcom/discord/rtcconnection/RtcConnection$State$a;
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->o(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public j(J)V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->E:Lcom/discord/rtcconnection/RtcConnection$c;
|
||||
|
||||
instance-of v1, v1, Lcom/discord/rtcconnection/RtcConnection$c$a;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->d:Lf/a/h/u/h;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget-object v1, v1, Lf/a/h/u/h;->g:Lf/a/h/u/j;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Lf/a/h/u/j;->b(Ljava/lang/String;)Ljava/util/Map;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-virtual {v0, p1, p2, v1}, Lcom/discord/rtcconnection/RtcConnection;->g(JLjava/util/Map;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public k(IILjava/lang/String;)V
|
||||
.locals 8
|
||||
|
||||
const-string v0, "ip"
|
||||
|
||||
invoke-static {p3, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
const-string v2, "Discovered dedicated UDP server on port "
|
||||
|
||||
invoke-static {v2, p1}, Lf/e/c/a/a;->j(Ljava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$State$g;->a:Lcom/discord/rtcconnection/RtcConnection$State$g;
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->o(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
iget-object v2, v0, Lcom/discord/rtcconnection/RtcConnection;->B:Lcom/discord/rtcconnection/mediaengine/MediaEngine;
|
||||
|
||||
iget-wide v3, v0, Lcom/discord/rtcconnection/RtcConnection;->A:J
|
||||
|
||||
new-instance v5, Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;
|
||||
|
||||
invoke-direct {v5, p2, p3, p1}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;-><init>(ILjava/lang/String;I)V
|
||||
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->E:Lcom/discord/rtcconnection/RtcConnection$c;
|
||||
|
||||
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$c$a;->a:Lcom/discord/rtcconnection/RtcConnection$c$a;
|
||||
|
||||
invoke-static {p1, p2}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;->DEFAULT:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
|
||||
:goto_0
|
||||
move-object v6, p1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
instance-of p1, p1, Lcom/discord/rtcconnection/RtcConnection$c$b;
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;->STREAM:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:goto_1
|
||||
new-instance v7, Lf/a/h/o;
|
||||
|
||||
invoke-direct {v7, v0}, Lf/a/h/o;-><init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
|
||||
invoke-interface/range {v2 .. v7}, Lcom/discord/rtcconnection/mediaengine/MediaEngine;->g(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;Lkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p2, v0, Lcom/discord/rtcconnection/RtcConnection;->u:Lf/a/h/k;
|
||||
|
||||
invoke-interface {p1, p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->j(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;)V
|
||||
|
||||
iput-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
|
||||
|
||||
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onSpeaking(JIZ)V
|
||||
.locals 9
|
||||
|
||||
iget-object p4, p0, Lf/a/h/q;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-wide v0, p4, Lcom/discord/rtcconnection/RtcConnection;->A:J
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
iget-object v3, p4, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
iget-object p4, p4, Lcom/discord/rtcconnection/RtcConnection;->F:Ljava/util/Map;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {p4, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p4
|
||||
|
||||
check-cast p4, Ljava/lang/Boolean;
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
|
||||
move-result p4
|
||||
|
||||
move v8, p4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p4, 0x0
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
:goto_0
|
||||
const/4 v7, 0x0
|
||||
|
||||
move-wide v4, p1
|
||||
|
||||
move v6, p3
|
||||
|
||||
invoke-interface/range {v3 .. v8}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->m(JILjava/lang/Integer;Z)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -3,38 +3,770 @@
|
|||
.source "RtcConnection.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
.implements Lf/a/h/u/a$c;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lkotlin/jvm/functions/Function0;
|
||||
.field public final synthetic a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/jvm/functions/Function0;)V
|
||||
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/r;->d:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final synthetic run()V
|
||||
.locals 2
|
||||
.method public a(Ljava/lang/String;Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->d:Lkotlin/jvm/functions/Function0;
|
||||
const-string v0, "audioCodec"
|
||||
|
||||
invoke-interface {v0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string/jumbo v0, "videoCodec"
|
||||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-interface {v0, p1, p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->o(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(ZLjava/lang/Integer;Ljava/lang/String;)V
|
||||
.locals 9
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
new-instance v2, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v3, "Disconnected from RTC server. wasFatal: "
|
||||
|
||||
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p1, " -- code: "
|
||||
|
||||
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p1, " -- reason: "
|
||||
|
||||
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v2, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, p1, v2}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-interface {p1}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->i()V
|
||||
|
||||
:cond_0
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->v:Lf/a/h/l;
|
||||
|
||||
invoke-interface {p1, v1}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->l(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;)V
|
||||
|
||||
:cond_1
|
||||
const/16 p1, 0x3e8
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-nez p2, :cond_2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p2}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eq v2, p1, :cond_3
|
||||
|
||||
:goto_0
|
||||
const/4 v2, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_1
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->g:Lcom/discord/rtcconnection/RtcConnection$State;
|
||||
|
||||
instance-of v3, v3, Lcom/discord/rtcconnection/RtcConnection$State$d;
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
if-nez v3, :cond_5
|
||||
|
||||
invoke-virtual {v0, v2, p3}, Lcom/discord/rtcconnection/RtcConnection;->h(ZLjava/lang/String;)V
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->d:Lf/a/h/v/h;
|
||||
|
||||
if-eqz v3, :cond_4
|
||||
|
||||
invoke-virtual {v3}, Lf/a/h/v/h;->a()V
|
||||
|
||||
:cond_4
|
||||
iput-object v4, v0, Lcom/discord/rtcconnection/RtcConnection;->d:Lf/a/h/v/h;
|
||||
|
||||
:cond_5
|
||||
iput v1, v0, Lcom/discord/rtcconnection/RtcConnection;->n:I
|
||||
|
||||
iput-object v4, v0, Lcom/discord/rtcconnection/RtcConnection;->p:Ljava/lang/Long;
|
||||
|
||||
new-instance v1, Lcom/discord/rtcconnection/RtcConnection$State$d;
|
||||
|
||||
invoke-direct {v1, v2}, Lcom/discord/rtcconnection/RtcConnection$State$d;-><init>(Z)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->n(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
if-eqz v2, :cond_6
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
|
||||
new-instance v2, Lf/a/h/o;
|
||||
|
||||
invoke-direct {v2, v0}, Lf/a/h/o;-><init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
|
||||
invoke-virtual {v1, v2}, Lcom/discord/utilities/networking/Backoff;->fail(Lkotlin/jvm/functions/Function0;)J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v4, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v5, "Disconnect was not clean! Reason: "
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p3, ", code: "
|
||||
|
||||
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p2, ". Reconnecting in "
|
||||
|
||||
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
int-to-long p1, p1
|
||||
|
||||
div-long/2addr v1, p1
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p1, " seconds."
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x4
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
invoke-static/range {v3 .. v8}, Lcom/discord/utilities/logging/Logger;->w$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
:cond_6
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public c(JII)V
|
||||
.locals 10
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-wide v1, v0, Lcom/discord/rtcconnection/RtcConnection;->B:J
|
||||
|
||||
cmp-long v3, p1, v1
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
iget-object v4, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
iget-object p4, v0, Lcom/discord/rtcconnection/RtcConnection;->G:Ljava/util/Map;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "invoke(...)"
|
||||
invoke-interface {p4, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
move-result-object p4
|
||||
|
||||
check-cast p4, Ljava/lang/Boolean;
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
|
||||
move-result p4
|
||||
|
||||
move v9, p4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p4, 0x0
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
:goto_0
|
||||
move-wide v5, p1
|
||||
|
||||
move v7, p3
|
||||
|
||||
invoke-interface/range {v4 .. v9}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->m(JILjava/lang/Integer;Z)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public d(Ljava/lang/String;Ljava/util/List;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Integer;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "mode"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "secretKey"
|
||||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {p2}, Lx/h/f;->toIntArray(Ljava/util/Collection;)[I
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-interface {v0, p1, p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->p(Ljava/lang/String;[I)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public e(Ljava/lang/String;)V
|
||||
.locals 3
|
||||
|
||||
const-string v0, "mediaSessionId"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iput-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->t:Ljava/lang/String;
|
||||
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->c:Ljava/util/List;
|
||||
|
||||
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lcom/discord/rtcconnection/RtcConnection$b;
|
||||
|
||||
invoke-interface {v1}, Lcom/discord/rtcconnection/RtcConnection$b;->onMediaSessionIdReceived()V
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;->MEDIA_SESSION_JOINED:Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;
|
||||
|
||||
new-instance v2, Ljava/util/LinkedHashMap;
|
||||
|
||||
invoke-direct {v2}, Ljava/util/LinkedHashMap;-><init>()V
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lcom/discord/rtcconnection/RtcConnection;->i(Lcom/discord/rtcconnection/RtcConnection$AnalyticsEvent;Ljava/util/Map;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public f(J)V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->i:Ljava/util/LinkedList;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->i:Ljava/util/LinkedList;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/LinkedList;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
if-le v1, v2, :cond_0
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->i:Ljava/util/LinkedList;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/LinkedList;->removeFirst()Ljava/lang/Object;
|
||||
|
||||
:cond_0
|
||||
const/16 v1, 0x1f4
|
||||
|
||||
int-to-long v2, v1
|
||||
|
||||
cmp-long v4, p1, v2
|
||||
|
||||
if-lez v4, :cond_1
|
||||
|
||||
iget v2, v0, Lcom/discord/rtcconnection/RtcConnection;->n:I
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
iput v2, v0, Lcom/discord/rtcconnection/RtcConnection;->n:I
|
||||
|
||||
:cond_1
|
||||
sget-object v2, Lcom/discord/rtcconnection/RtcConnection$Quality;->Companion:Lcom/discord/rtcconnection/RtcConnection$Quality$a;
|
||||
|
||||
long-to-double p1, p1
|
||||
|
||||
invoke-static {v2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Double;->isNaN(D)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/RtcConnection$Quality;->UNKNOWN:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
const/16 v2, 0xfa
|
||||
|
||||
int-to-double v2, v2
|
||||
|
||||
cmpg-double v4, p1, v2
|
||||
|
||||
if-gez v4, :cond_3
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/RtcConnection$Quality;->FINE:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
int-to-double v1, v1
|
||||
|
||||
cmpg-double v3, p1, v1
|
||||
|
||||
if-gez v3, :cond_4
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/RtcConnection$Quality;->AVERAGE:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
sget-object p1, Lcom/discord/rtcconnection/RtcConnection$Quality;->BAD:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
||||
|
||||
:goto_0
|
||||
new-instance p2, Lf/a/h/q;
|
||||
|
||||
invoke-direct {p2, p1}, Lf/a/h/q;-><init>(Lcom/discord/rtcconnection/RtcConnection$Quality;)V
|
||||
|
||||
invoke-virtual {v0, p2}, Lcom/discord/rtcconnection/RtcConnection;->j(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public g()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public h()V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/utilities/networking/Backoff;->cancel()V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
const-string v2, "Connecting to RTC server "
|
||||
|
||||
invoke-static {v2}, Lf/e/c/a/a;->G(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
iget-object v3, v3, Lf/a/h/u/a;->r:Ljava/lang/String;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$State$c;->a:Lcom/discord/rtcconnection/RtcConnection$State$c;
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->n(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public i()V
|
||||
.locals 15
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->e:Lcom/discord/utilities/networking/Backoff;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/utilities/networking/Backoff;->cancel()V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v2, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
const-string v3, "Connected to RTC server."
|
||||
|
||||
invoke-virtual {v1, v3, v2}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/u/a;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->A:Ljava/lang/String;
|
||||
|
||||
iget-wide v4, v0, Lcom/discord/rtcconnection/RtcConnection;->B:J
|
||||
|
||||
iget-object v6, v0, Lcom/discord/rtcconnection/RtcConnection;->y:Ljava/lang/String;
|
||||
|
||||
iget-boolean v8, v0, Lcom/discord/rtcconnection/RtcConnection;->z:Z
|
||||
|
||||
const-string v2, "serverId"
|
||||
|
||||
invoke-static {v3, v2}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v2, "sessionId"
|
||||
|
||||
invoke-static {v6, v2}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v2, v1, Lf/a/h/u/a;->q:Z
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
iget-object v9, v1, Lf/a/h/u/a;->u:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v10, v1, Lf/a/h/u/a;->a:Ljava/lang/String;
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x4
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
const-string v11, "identify called on canceled instance of RtcControlSocket"
|
||||
|
||||
invoke-static/range {v9 .. v14}, Lcom/discord/utilities/logging/Logger;->w$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iput-object v3, v1, Lf/a/h/u/a;->f:Ljava/lang/String;
|
||||
|
||||
iput-object v6, v1, Lf/a/h/u/a;->g:Ljava/lang/String;
|
||||
|
||||
sget-object v2, Lf/a/h/u/a$b;->f:Lf/a/h/u/a$b;
|
||||
|
||||
iput-object v2, v1, Lf/a/h/u/a;->i:Lf/a/h/u/a$b;
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
new-instance v10, Lcom/discord/rtcconnection/socket/io/Payloads$Identify;
|
||||
|
||||
iget-object v7, v1, Lf/a/h/u/a;->s:Ljava/lang/String;
|
||||
|
||||
move-object v2, v10
|
||||
|
||||
invoke-direct/range {v2 .. v8}, Lcom/discord/rtcconnection/socket/io/Payloads$Identify;-><init>(Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Z)V
|
||||
|
||||
invoke-virtual {v1, v9, v10}, Lf/a/h/u/a;->m(ILjava/lang/Object;)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$State$a;->a:Lcom/discord/rtcconnection/RtcConnection$State$a;
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->n(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public j(J)V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->F:Lcom/discord/rtcconnection/RtcConnection$c;
|
||||
|
||||
instance-of v1, v1, Lcom/discord/rtcconnection/RtcConnection$c$a;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->d:Lf/a/h/v/h;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget-object v1, v1, Lf/a/h/v/h;->g:Lf/a/h/v/j;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Lf/a/h/v/j;->b(Ljava/lang/String;)Ljava/util/Map;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-virtual {v0, p1, p2, v1}, Lcom/discord/rtcconnection/RtcConnection;->f(JLjava/util/Map;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public k(IILjava/lang/String;)V
|
||||
.locals 8
|
||||
|
||||
const-string v0, "ip"
|
||||
|
||||
invoke-static {p3, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
const-string v2, "Discovered dedicated UDP server on port "
|
||||
|
||||
invoke-static {v2, p1}, Lf/e/c/a/a;->j(Ljava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Lcom/discord/utilities/logging/Logger;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/RtcConnection$State$g;->a:Lcom/discord/rtcconnection/RtcConnection$State$g;
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/rtcconnection/RtcConnection;->n(Lcom/discord/rtcconnection/RtcConnection$State;)V
|
||||
|
||||
iget-object v2, v0, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/rtcconnection/mediaengine/MediaEngine;
|
||||
|
||||
iget-wide v3, v0, Lcom/discord/rtcconnection/RtcConnection;->B:J
|
||||
|
||||
new-instance v5, Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;
|
||||
|
||||
invoke-direct {v5, p2, p3, p1}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;-><init>(ILjava/lang/String;I)V
|
||||
|
||||
iget-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->F:Lcom/discord/rtcconnection/RtcConnection$c;
|
||||
|
||||
sget-object p2, Lcom/discord/rtcconnection/RtcConnection$c$a;->a:Lcom/discord/rtcconnection/RtcConnection$c$a;
|
||||
|
||||
invoke-static {p1, p2}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;->DEFAULT:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
|
||||
:goto_0
|
||||
move-object v6, p1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
instance-of p1, p1, Lcom/discord/rtcconnection/RtcConnection$c$b;
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
sget-object p1, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;->STREAM:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:goto_1
|
||||
new-instance v7, Lf/a/h/p;
|
||||
|
||||
invoke-direct {v7, v0}, Lf/a/h/p;-><init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
||||
|
||||
invoke-interface/range {v2 .. v7}, Lcom/discord/rtcconnection/mediaengine/MediaEngine;->g(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;Lkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p2, v0, Lcom/discord/rtcconnection/RtcConnection;->v:Lf/a/h/l;
|
||||
|
||||
invoke-interface {p1, p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->j(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;)V
|
||||
|
||||
iput-object p1, v0, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
|
||||
|
||||
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onSpeaking(JIZ)V
|
||||
.locals 9
|
||||
|
||||
iget-object p4, p0, Lf/a/h/r;->a:Lcom/discord/rtcconnection/RtcConnection;
|
||||
|
||||
iget-wide v0, p4, Lcom/discord/rtcconnection/RtcConnection;->B:J
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
iget-object v3, p4, Lcom/discord/rtcconnection/RtcConnection;->k:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
iget-object p4, p4, Lcom/discord/rtcconnection/RtcConnection;->G:Ljava/util/Map;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {p4, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p4
|
||||
|
||||
check-cast p4, Ljava/lang/Boolean;
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
|
||||
move-result p4
|
||||
|
||||
move v8, p4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p4, 0x0
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
:goto_0
|
||||
const/4 v7, 0x0
|
||||
|
||||
move-wide v4, p1
|
||||
|
||||
move v6, p3
|
||||
|
||||
invoke-interface/range {v3 .. v8}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;->m(JILjava/lang/Integer;Z)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
|
40
com.discord/smali/f/a/h/s.smali
Normal file
40
com.discord/smali/f/a/h/s.smali
Normal file
|
@ -0,0 +1,40 @@
|
|||
.class public final Lf/a/h/s;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RtcConnection.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/jvm/functions/Function0;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s;->d:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final synthetic run()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s;->d:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
invoke-interface {v0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "invoke(...)"
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,229 +0,0 @@
|
|||
.class public final Lf/a/h/s/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Codec.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/lang/String;
|
||||
|
||||
.field public final b:I
|
||||
|
||||
.field public final c:Ljava/lang/String;
|
||||
|
||||
.field public final d:I
|
||||
|
||||
.field public final e:Ljava/lang/Integer;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;ILjava/lang/String;ILjava/lang/Integer;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "name"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string/jumbo v0, "type"
|
||||
|
||||
invoke-static {p3, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/a;->a:Ljava/lang/String;
|
||||
|
||||
iput p2, p0, Lf/a/h/s/a;->b:I
|
||||
|
||||
iput-object p3, p0, Lf/a/h/s/a;->c:Ljava/lang/String;
|
||||
|
||||
iput p4, p0, Lf/a/h/s/a;->d:I
|
||||
|
||||
iput-object p5, p0, Lf/a/h/s/a;->e:Ljava/lang/Integer;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 2
|
||||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Lf/a/h/s/a;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Lf/a/h/s/a;
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/a;->a:Ljava/lang/String;
|
||||
|
||||
iget-object v1, p1, Lf/a/h/s/a;->a:Ljava/lang/String;
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget v0, p0, Lf/a/h/s/a;->b:I
|
||||
|
||||
iget v1, p1, Lf/a/h/s/a;->b:I
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/a;->c:Ljava/lang/String;
|
||||
|
||||
iget-object v1, p1, Lf/a/h/s/a;->c:Ljava/lang/String;
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget v0, p0, Lf/a/h/s/a;->d:I
|
||||
|
||||
iget v1, p1, Lf/a/h/s/a;->d:I
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/a;->e:Ljava/lang/Integer;
|
||||
|
||||
iget-object p1, p1, Lf/a/h/s/a;->e:Ljava/lang/Integer;
|
||||
|
||||
invoke-static {v0, p1}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/a;->a:Ljava/lang/String;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget v2, p0, Lf/a/h/s/a;->b:I
|
||||
|
||||
add-int/2addr v0, v2
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-object v2, p0, Lf/a/h/s/a;->c:Ljava/lang/String;
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_1
|
||||
add-int/2addr v0, v2
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget v2, p0, Lf/a/h/s/a;->d:I
|
||||
|
||||
add-int/2addr v0, v2
|
||||
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget-object v2, p0, Lf/a/h/s/a;->e:Ljava/lang/Integer;
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v1
|
||||
|
||||
:cond_2
|
||||
add-int/2addr v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "Codec(name="
|
||||
|
||||
invoke-static {v0}, Lf/e/c/a/a;->G(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/a;->a:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", priority="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget v1, p0, Lf/a/h/s/a;->b:I
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", type="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/a;->c:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", payloadType="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget v1, p0, Lf/a/h/s/a;->d:I
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", rtxPayloadType="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/a;->e:Ljava/lang/Integer;
|
||||
|
||||
const-string v2, ")"
|
||||
|
||||
invoke-static {v0, v1, v2}, Lf/e/c/a/a;->w(Ljava/lang/StringBuilder;Ljava/lang/Integer;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,776 +0,0 @@
|
|||
.class public final Lf/a/h/s/b;
|
||||
.super Lorg/webrtc/ScreenCapturerAndroid;
|
||||
.source "ScreenCapturer.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/a/h/s/b$b;,
|
||||
Lf/a/h/s/b$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final q:Lf/a/h/s/b$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lf/a/h/s/b$b;
|
||||
|
||||
.field public e:Lco/discord/media_engine/NativeCapturerObserver;
|
||||
|
||||
.field public f:Lorg/webrtc/SurfaceTextureHelper;
|
||||
|
||||
.field public g:Landroid/view/Display;
|
||||
|
||||
.field public final h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
.field public i:I
|
||||
|
||||
.field public j:I
|
||||
|
||||
.field public k:Ljava/lang/Long;
|
||||
|
||||
.field public final l:Landroid/graphics/Point;
|
||||
|
||||
.field public final m:Landroid/graphics/Point;
|
||||
|
||||
.field public final n:Landroid/graphics/Point;
|
||||
|
||||
.field public o:I
|
||||
|
||||
.field public final p:Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
new-instance v0, Lf/a/h/s/b$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lf/a/h/s/b$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lf/a/h/s/b;->q:Lf/a/h/s/b$a;
|
||||
|
||||
const v0, 0xac44
|
||||
|
||||
const/16 v1, 0x10
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
invoke-static {v0, v1, v2}, Landroid/media/AudioRecord;->getMinBufferSize(III)I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/content/Intent;Landroid/media/projection/MediaProjection$Callback;Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "mediaProjectionPermissionResultData"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "mediaProjectionCallback"
|
||||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0, p1, p2}, Lorg/webrtc/ScreenCapturerAndroid;-><init>(Landroid/content/Intent;Landroid/media/projection/MediaProjection$Callback;)V
|
||||
|
||||
iput-object p3, p0, Lf/a/h/s/b;->p:Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;
|
||||
|
||||
new-instance p1, Lf/a/h/s/b$b;
|
||||
|
||||
invoke-direct {p1, p0}, Lf/a/h/s/b$b;-><init>(Lf/a/h/s/b;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/b;->d:Lf/a/h/s/b$b;
|
||||
|
||||
new-instance p1, Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
invoke-direct {p1}, Lco/discord/media_engine/SoundshareAudioSource;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
new-instance p1, Landroid/graphics/Point;
|
||||
|
||||
invoke-direct {p1}, Landroid/graphics/Point;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/b;->l:Landroid/graphics/Point;
|
||||
|
||||
new-instance p1, Landroid/graphics/Point;
|
||||
|
||||
invoke-direct {p1}, Landroid/graphics/Point;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/b;->m:Landroid/graphics/Point;
|
||||
|
||||
new-instance p1, Landroid/graphics/Point;
|
||||
|
||||
invoke-direct {p1}, Landroid/graphics/Point;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/b;->n:Landroid/graphics/Point;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final declared-synchronized a(Landroid/graphics/Point;I)V
|
||||
.locals 3
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
const-string v0, "measuredSize"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget v0, p1, Landroid/graphics/Point;->x:I
|
||||
|
||||
iget v1, p1, Landroid/graphics/Point;->y:I
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-lez v0, :cond_2
|
||||
|
||||
int-to-float p2, p2
|
||||
|
||||
int-to-float v0, v0
|
||||
|
||||
div-float/2addr p2, v0
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b;->n:Landroid/graphics/Point;
|
||||
|
||||
iget v1, p1, Landroid/graphics/Point;->x:I
|
||||
|
||||
int-to-float v1, v1
|
||||
|
||||
mul-float v1, v1, p2
|
||||
|
||||
float-to-int v1, v1
|
||||
|
||||
iget p1, p1, Landroid/graphics/Point;->y:I
|
||||
|
||||
int-to-float p1, p1
|
||||
|
||||
mul-float p1, p1, p2
|
||||
|
||||
float-to-int p1, p1
|
||||
|
||||
invoke-virtual {v0, v1, p1}, Landroid/graphics/Point;->set(II)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/s/b;->n:Landroid/graphics/Point;
|
||||
|
||||
iget p2, p1, Landroid/graphics/Point;->x:I
|
||||
|
||||
rem-int/lit8 v0, p2, 0x10
|
||||
|
||||
const/16 v1, 0x8
|
||||
|
||||
if-ge v0, v1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 p2, p2, 0x10
|
||||
|
||||
:goto_0
|
||||
sub-int/2addr p2, v0
|
||||
|
||||
iget v0, p1, Landroid/graphics/Point;->y:I
|
||||
|
||||
rem-int/lit8 v2, v0, 0x10
|
||||
|
||||
if-ge v2, v1, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
add-int/lit8 v0, v0, 0x10
|
||||
|
||||
:goto_1
|
||||
sub-int/2addr v0, v2
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Landroid/graphics/Point;->set(II)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/s/b;->n:Landroid/graphics/Point;
|
||||
|
||||
iget p2, p1, Landroid/graphics/Point;->x:I
|
||||
|
||||
iget p1, p1, Landroid/graphics/Point;->y:I
|
||||
|
||||
iget v0, p0, Lf/a/h/s/b;->i:I
|
||||
|
||||
invoke-super {p0, p2, p1, v0}, Lorg/webrtc/ScreenCapturerAndroid;->changeCaptureFormat(III)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:cond_2
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final b()Landroid/media/AudioRecord;
|
||||
.locals 4
|
||||
.annotation build Landroidx/annotation/RequiresApi;
|
||||
value = 0x1d
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lorg/webrtc/ScreenCapturerAndroid;->mediaProjection:Landroid/media/projection/MediaProjection;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v1, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;
|
||||
|
||||
invoke-direct {v1, v0}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;-><init>(Landroid/media/projection/MediaProjection;)V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {v1, v0}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;->addMatchingUsage(I)Landroid/media/AudioPlaybackCaptureConfiguration$Builder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/16 v1, 0xe
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;->addMatchingUsage(I)Landroid/media/AudioPlaybackCaptureConfiguration$Builder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;->addMatchingUsage(I)Landroid/media/AudioPlaybackCaptureConfiguration$Builder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;->build()Landroid/media/AudioPlaybackCaptureConfiguration;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "AudioPlaybackCaptureConf\u2026KNOWN)\n .build()"
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v1, Landroid/media/AudioRecord$Builder;
|
||||
|
||||
invoke-direct {v1}, Landroid/media/AudioRecord$Builder;-><init>()V
|
||||
|
||||
new-instance v2, Landroid/media/AudioFormat$Builder;
|
||||
|
||||
invoke-direct {v2}, Landroid/media/AudioFormat$Builder;-><init>()V
|
||||
|
||||
const/4 v3, 0x2
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/media/AudioFormat$Builder;->setEncoding(I)Landroid/media/AudioFormat$Builder;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const v3, 0xac44
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/media/AudioFormat$Builder;->setSampleRate(I)Landroid/media/AudioFormat$Builder;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const/16 v3, 0x10
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/media/AudioFormat$Builder;->setChannelMask(I)Landroid/media/AudioFormat$Builder;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Landroid/media/AudioFormat$Builder;->build()Landroid/media/AudioFormat;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Landroid/media/AudioRecord$Builder;->setAudioFormat(Landroid/media/AudioFormat;)Landroid/media/AudioRecord$Builder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1, v0}, Landroid/media/AudioRecord$Builder;->setAudioPlaybackCaptureConfig(Landroid/media/AudioPlaybackCaptureConfiguration;)Landroid/media/AudioRecord$Builder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroid/media/AudioRecord$Builder;->build()Landroid/media/AudioRecord;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final c()V
|
||||
.locals 6
|
||||
|
||||
iget v0, p0, Lf/a/h/s/b;->i:I
|
||||
|
||||
if-lez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b;->f:Lorg/webrtc/SurfaceTextureHelper;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lorg/webrtc/SurfaceTextureHelper;->getHandler()Landroid/os/Handler;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/b;->d:Lf/a/h/s/b$b;
|
||||
|
||||
iget v2, p0, Lf/a/h/s/b;->j:I
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
const v4, 0xf4240
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
div-long/2addr v2, v4
|
||||
|
||||
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const-string/jumbo v0, "surfaceTextureHelper"
|
||||
|
||||
invoke-static {v0}, Lx/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized changeCaptureFormat(III)V
|
||||
.locals 1
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lf/a/h/s/b;->l:Landroid/graphics/Point;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p0, v0, p1}, Lf/a/h/s/b;->a(Landroid/graphics/Point;I)V
|
||||
|
||||
if-gtz p3, :cond_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput p1, p0, Lf/a/h/s/b;->i:I
|
||||
|
||||
iput p1, p0, Lf/a/h/s/b;->j:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iput p3, p0, Lf/a/h/s/b;->i:I
|
||||
|
||||
const p1, 0x3b9aca00
|
||||
|
||||
div-int/2addr p1, p3
|
||||
|
||||
iput p1, p0, Lf/a/h/s/b;->j:I
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:goto_0
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public dispose()V
|
||||
.locals 3
|
||||
|
||||
invoke-virtual {p0}, Lf/a/h/s/b;->stopCapture()V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b;->p:Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->e:Lorg/webrtc/VideoFrameDrawer;
|
||||
|
||||
invoke-virtual {v1}, Lorg/webrtc/VideoFrameDrawer;->release()V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->d:Lorg/webrtc/GlRectDrawer;
|
||||
|
||||
invoke-virtual {v1}, Lorg/webrtc/GlRectDrawer;->release()V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->b:Ljava/nio/ByteBuffer;
|
||||
|
||||
invoke-static {v1}, Lorg/webrtc/JniCommon;->nativeFreeByteBuffer(Ljava/nio/ByteBuffer;)V
|
||||
|
||||
const-wide v1, 0x7fffffffffffffffL
|
||||
|
||||
iput-wide v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->a:J
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
iget-object v0, p0, Lf/a/h/s/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
invoke-virtual {v0}, Lco/discord/media_engine/SoundshareAudioSource;->release()V
|
||||
|
||||
invoke-super {p0}, Lorg/webrtc/ScreenCapturerAndroid;->dispose()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized initialize(Lorg/webrtc/SurfaceTextureHelper;Landroid/content/Context;Lorg/webrtc/CapturerObserver;)V
|
||||
.locals 2
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
const-string/jumbo v0, "surfaceTextureHelper"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "applicationContext"
|
||||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "capturerObserver"
|
||||
|
||||
invoke-static {p3, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/b;->f:Lorg/webrtc/SurfaceTextureHelper;
|
||||
|
||||
const-string/jumbo v0, "window"
|
||||
|
||||
invoke-virtual {p2, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast v0, Landroid/view/WindowManager;
|
||||
|
||||
invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string/jumbo v1, "wm.defaultDisplay"
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object v0, p0, Lf/a/h/s/b;->g:Landroid/view/Display;
|
||||
|
||||
move-object v0, p3
|
||||
|
||||
check-cast v0, Lco/discord/media_engine/NativeCapturerObserver;
|
||||
|
||||
iput-object v0, p0, Lf/a/h/s/b;->e:Lco/discord/media_engine/NativeCapturerObserver;
|
||||
|
||||
invoke-super {p0, p1, p2, p3}, Lorg/webrtc/ScreenCapturerAndroid;->initialize(Lorg/webrtc/SurfaceTextureHelper;Landroid/content/Context;Lorg/webrtc/CapturerObserver;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
:try_start_1
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
const-string p2, "null cannot be cast to non-null type android.view.WindowManager"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onFrame(Lorg/webrtc/VideoFrame;)V
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b;->g:Landroid/view/Display;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/b;->m:Landroid/graphics/Point;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/view/Display;->getRealSize(Landroid/graphics/Point;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b;->m:Landroid/graphics/Point;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/b;->l:Landroid/graphics/Point;
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b;->l:Landroid/graphics/Point;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/b;->m:Landroid/graphics/Point;
|
||||
|
||||
iget v2, v1, Landroid/graphics/Point;->x:I
|
||||
|
||||
iget v1, v1, Landroid/graphics/Point;->y:I
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Landroid/graphics/Point;->set(II)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b;->m:Landroid/graphics/Point;
|
||||
|
||||
iget v1, p0, Lf/a/h/s/b;->o:I
|
||||
|
||||
invoke-virtual {p0, v0, v1}, Lf/a/h/s/b;->a(Landroid/graphics/Point;I)V
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p1}, Lorg/webrtc/VideoFrame;->getTimestampNs()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Lf/a/h/s/b;->k:Ljava/lang/Long;
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b;->p:Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
const-string v1, "frame"
|
||||
|
||||
invoke-static {p1, v1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->l:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
invoke-interface {v1}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iget-wide v3, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->f:J
|
||||
|
||||
sub-long/2addr v1, v3
|
||||
|
||||
invoke-virtual {p1}, Lorg/webrtc/VideoFrame;->getTimestampNs()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
iget-wide v5, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->a:J
|
||||
|
||||
sub-long/2addr v3, v5
|
||||
|
||||
iget-wide v5, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->j:J
|
||||
|
||||
cmp-long v7, v1, v5
|
||||
|
||||
if-lez v7, :cond_1
|
||||
|
||||
iget-wide v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->i:J
|
||||
|
||||
const/16 v5, 0x3e8
|
||||
|
||||
int-to-long v5, v5
|
||||
|
||||
mul-long v1, v1, v5
|
||||
|
||||
mul-long v1, v1, v5
|
||||
|
||||
cmp-long v5, v3, v1
|
||||
|
||||
if-lez v5, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Lorg/webrtc/VideoFrame;->getTimestampNs()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iput-wide v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->a:J
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->k:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->a(Lorg/webrtc/VideoFrame;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:cond_1
|
||||
monitor-exit v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
invoke-super {p0, p1}, Lorg/webrtc/ScreenCapturerAndroid;->onFrame(Lorg/webrtc/VideoFrame;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
const-string p1, "defaultDisplay"
|
||||
|
||||
invoke-static {p1}, Lx/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized startCapture(III)V
|
||||
.locals 0
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
invoke-super {p0, p1, p2, p3}, Lorg/webrtc/ScreenCapturerAndroid;->startCapture(III)V
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result p1
|
||||
|
||||
iput p1, p0, Lf/a/h/s/b;->o:I
|
||||
|
||||
if-gtz p3, :cond_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput p1, p0, Lf/a/h/s/b;->i:I
|
||||
|
||||
iput p1, p0, Lf/a/h/s/b;->j:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iput p3, p0, Lf/a/h/s/b;->i:I
|
||||
|
||||
const p1, 0x3b9aca00
|
||||
|
||||
div-int/2addr p1, p3
|
||||
|
||||
iput p1, p0, Lf/a/h/s/b;->j:I
|
||||
|
||||
:goto_0
|
||||
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 p2, 0x1d
|
||||
|
||||
if-lt p1, p2, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Lf/a/h/s/b;->b()Landroid/media/AudioRecord;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p2, p0, Lf/a/h/s/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
invoke-virtual {p2, p1}, Lco/discord/media_engine/SoundshareAudioSource;->startRecording(Landroid/media/AudioRecord;)Z
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p0}, Lf/a/h/s/b;->c()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized stopCapture()V
|
||||
.locals 1
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
invoke-super {p0}, Lorg/webrtc/ScreenCapturerAndroid;->stopCapture()V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
invoke-virtual {v0}, Lco/discord/media_engine/SoundshareAudioSource;->stopRecording()Z
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput v0, p0, Lf/a/h/s/b;->i:I
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Lf/a/h/s/b;->k:Ljava/lang/Long;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw v0
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -1,11 +1,11 @@
|
|||
.class public final Lf/a/h/s/b$a;
|
||||
.class public final Lf/a/h/t/b$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ScreenCapturer.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/h/s/b;
|
||||
value = Lf/a/h/t/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/b$b;
|
||||
.class public final Lf/a/h/t/b$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ScreenCapturer.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/a/h/s/b;
|
||||
value = Lf/a/h/t/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -18,11 +18,11 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/a/h/s/b;
|
||||
.field public final synthetic d:Lf/a/h/t/b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/b;)V
|
||||
.method public constructor <init>(Lf/a/h/t/b;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -30,7 +30,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/b$b;->d:Lf/a/h/s/b;
|
||||
iput-object p1, p0, Lf/a/h/t/b$b;->d:Lf/a/h/t/b;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -42,13 +42,13 @@
|
|||
.method public run()V
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/b$b;->d:Lf/a/h/s/b;
|
||||
iget-object v0, p0, Lf/a/h/t/b$b;->d:Lf/a/h/t/b;
|
||||
|
||||
iget v1, v0, Lf/a/h/s/b;->i:I
|
||||
iget v1, v0, Lf/a/h/t/b;->i:I
|
||||
|
||||
if-lez v1, :cond_2
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/b;->k:Ljava/lang/Long;
|
||||
iget-object v0, v0, Lf/a/h/t/b;->k:Ljava/lang/Long;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
|
@ -62,9 +62,9 @@
|
|||
|
||||
sub-long v0, v2, v0
|
||||
|
||||
iget-object v4, p0, Lf/a/h/s/b$b;->d:Lf/a/h/s/b;
|
||||
iget-object v4, p0, Lf/a/h/t/b$b;->d:Lf/a/h/t/b;
|
||||
|
||||
iget v5, v4, Lf/a/h/s/b;->j:I
|
||||
iget v5, v4, Lf/a/h/t/b;->j:I
|
||||
|
||||
int-to-long v5, v5
|
||||
|
||||
|
@ -72,7 +72,7 @@
|
|||
|
||||
if-lez v7, :cond_1
|
||||
|
||||
iget-object v0, v4, Lf/a/h/s/b;->e:Lco/discord/media_engine/NativeCapturerObserver;
|
||||
iget-object v0, v4, Lf/a/h/t/b;->e:Lco/discord/media_engine/NativeCapturerObserver;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -91,9 +91,9 @@
|
|||
|
||||
:cond_1
|
||||
:goto_0
|
||||
iget-object v0, p0, Lf/a/h/s/b$b;->d:Lf/a/h/s/b;
|
||||
iget-object v0, p0, Lf/a/h/t/b$b;->d:Lf/a/h/t/b;
|
||||
|
||||
invoke-virtual {v0}, Lf/a/h/s/b;->c()V
|
||||
invoke-virtual {v0}, Lf/a/h/t/b;->c()V
|
||||
|
||||
:cond_2
|
||||
return-void
|
|
@ -1,74 +1,776 @@
|
|||
.class public final synthetic Lf/a/h/t/b;
|
||||
.super Lx/m/c/i;
|
||||
.source "RtcControlSocket.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
.class public final Lf/a/h/t/b;
|
||||
.super Lorg/webrtc/ScreenCapturerAndroid;
|
||||
.source "ScreenCapturer.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
"Lx/m/c/i;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lokhttp3/WebSocket;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
Lf/a/h/t/b$b;,
|
||||
Lf/a/h/t/b$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Lf/a/h/t/b;
|
||||
.field public static final q:Lf/a/h/t/b$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lf/a/h/t/b$b;
|
||||
|
||||
.field public e:Lco/discord/media_engine/NativeCapturerObserver;
|
||||
|
||||
.field public f:Lorg/webrtc/SurfaceTextureHelper;
|
||||
|
||||
.field public g:Landroid/view/Display;
|
||||
|
||||
.field public final h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
.field public i:I
|
||||
|
||||
.field public j:I
|
||||
|
||||
.field public k:Ljava/lang/Long;
|
||||
|
||||
.field public final l:Landroid/graphics/Point;
|
||||
|
||||
.field public final m:Landroid/graphics/Point;
|
||||
|
||||
.field public final n:Landroid/graphics/Point;
|
||||
|
||||
.field public o:I
|
||||
|
||||
.field public final p:Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
.locals 3
|
||||
|
||||
new-instance v0, Lf/a/h/t/b;
|
||||
new-instance v0, Lf/a/h/t/b$a;
|
||||
|
||||
invoke-direct {v0}, Lf/a/h/t/b;-><init>()V
|
||||
const/4 v1, 0x0
|
||||
|
||||
sput-object v0, Lf/a/h/t/b;->d:Lf/a/h/t/b;
|
||||
invoke-direct {v0, v1}, Lf/a/h/t/b$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lf/a/h/t/b;->q:Lf/a/h/t/b$a;
|
||||
|
||||
const v0, 0xac44
|
||||
|
||||
const/16 v1, 0x10
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
invoke-static {v0, v1, v2}, Landroid/media/AudioRecord;->getMinBufferSize(III)I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 6
|
||||
.method public constructor <init>(Landroid/content/Intent;Landroid/media/projection/MediaProjection$Callback;Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;)V
|
||||
.locals 1
|
||||
|
||||
const-class v2, Lokhttp3/WebSocket;
|
||||
const-string v0, "mediaProjectionPermissionResultData"
|
||||
|
||||
const/4 v1, 0x1
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v3, "cancel"
|
||||
const-string v0, "mediaProjectionCallback"
|
||||
|
||||
const-string v4, "cancel()V"
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v5, 0x0
|
||||
invoke-direct {p0, p1, p2}, Lorg/webrtc/ScreenCapturerAndroid;-><init>(Landroid/content/Intent;Landroid/media/projection/MediaProjection$Callback;)V
|
||||
|
||||
move-object v0, p0
|
||||
iput-object p3, p0, Lf/a/h/t/b;->p:Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lx/m/c/i;-><init>(ILjava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V
|
||||
new-instance p1, Lf/a/h/t/b$b;
|
||||
|
||||
invoke-direct {p1, p0}, Lf/a/h/t/b$b;-><init>(Lf/a/h/t/b;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/t/b;->d:Lf/a/h/t/b$b;
|
||||
|
||||
new-instance p1, Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
invoke-direct {p1}, Lco/discord/media_engine/SoundshareAudioSource;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/t/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
new-instance p1, Landroid/graphics/Point;
|
||||
|
||||
invoke-direct {p1}, Landroid/graphics/Point;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/t/b;->l:Landroid/graphics/Point;
|
||||
|
||||
new-instance p1, Landroid/graphics/Point;
|
||||
|
||||
invoke-direct {p1}, Landroid/graphics/Point;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/t/b;->m:Landroid/graphics/Point;
|
||||
|
||||
new-instance p1, Landroid/graphics/Point;
|
||||
|
||||
invoke-direct {p1}, Landroid/graphics/Point;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/t/b;->n:Landroid/graphics/Point;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.method public final declared-synchronized a(Landroid/graphics/Point;I)V
|
||||
.locals 3
|
||||
|
||||
check-cast p1, Lokhttp3/WebSocket;
|
||||
monitor-enter p0
|
||||
|
||||
const-string v0, "p1"
|
||||
:try_start_0
|
||||
const-string v0, "measuredSize"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p1}, Lokhttp3/WebSocket;->cancel()V
|
||||
iget v0, p1, Landroid/graphics/Point;->x:I
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
iget v1, p1, Landroid/graphics/Point;->y:I
|
||||
|
||||
return-object p1
|
||||
invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-lez v0, :cond_2
|
||||
|
||||
int-to-float p2, p2
|
||||
|
||||
int-to-float v0, v0
|
||||
|
||||
div-float/2addr p2, v0
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/b;->n:Landroid/graphics/Point;
|
||||
|
||||
iget v1, p1, Landroid/graphics/Point;->x:I
|
||||
|
||||
int-to-float v1, v1
|
||||
|
||||
mul-float v1, v1, p2
|
||||
|
||||
float-to-int v1, v1
|
||||
|
||||
iget p1, p1, Landroid/graphics/Point;->y:I
|
||||
|
||||
int-to-float p1, p1
|
||||
|
||||
mul-float p1, p1, p2
|
||||
|
||||
float-to-int p1, p1
|
||||
|
||||
invoke-virtual {v0, v1, p1}, Landroid/graphics/Point;->set(II)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/t/b;->n:Landroid/graphics/Point;
|
||||
|
||||
iget p2, p1, Landroid/graphics/Point;->x:I
|
||||
|
||||
rem-int/lit8 v0, p2, 0x10
|
||||
|
||||
const/16 v1, 0x8
|
||||
|
||||
if-ge v0, v1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 p2, p2, 0x10
|
||||
|
||||
:goto_0
|
||||
sub-int/2addr p2, v0
|
||||
|
||||
iget v0, p1, Landroid/graphics/Point;->y:I
|
||||
|
||||
rem-int/lit8 v2, v0, 0x10
|
||||
|
||||
if-ge v2, v1, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
add-int/lit8 v0, v0, 0x10
|
||||
|
||||
:goto_1
|
||||
sub-int/2addr v0, v2
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Landroid/graphics/Point;->set(II)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/t/b;->n:Landroid/graphics/Point;
|
||||
|
||||
iget p2, p1, Landroid/graphics/Point;->x:I
|
||||
|
||||
iget p1, p1, Landroid/graphics/Point;->y:I
|
||||
|
||||
iget v0, p0, Lf/a/h/t/b;->i:I
|
||||
|
||||
invoke-super {p0, p2, p1, v0}, Lorg/webrtc/ScreenCapturerAndroid;->changeCaptureFormat(III)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:cond_2
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final b()Landroid/media/AudioRecord;
|
||||
.locals 4
|
||||
.annotation build Landroidx/annotation/RequiresApi;
|
||||
value = 0x1d
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lorg/webrtc/ScreenCapturerAndroid;->mediaProjection:Landroid/media/projection/MediaProjection;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v1, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;
|
||||
|
||||
invoke-direct {v1, v0}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;-><init>(Landroid/media/projection/MediaProjection;)V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {v1, v0}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;->addMatchingUsage(I)Landroid/media/AudioPlaybackCaptureConfiguration$Builder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/16 v1, 0xe
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;->addMatchingUsage(I)Landroid/media/AudioPlaybackCaptureConfiguration$Builder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;->addMatchingUsage(I)Landroid/media/AudioPlaybackCaptureConfiguration$Builder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroid/media/AudioPlaybackCaptureConfiguration$Builder;->build()Landroid/media/AudioPlaybackCaptureConfiguration;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "AudioPlaybackCaptureConf\u2026KNOWN)\n .build()"
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v1, Landroid/media/AudioRecord$Builder;
|
||||
|
||||
invoke-direct {v1}, Landroid/media/AudioRecord$Builder;-><init>()V
|
||||
|
||||
new-instance v2, Landroid/media/AudioFormat$Builder;
|
||||
|
||||
invoke-direct {v2}, Landroid/media/AudioFormat$Builder;-><init>()V
|
||||
|
||||
const/4 v3, 0x2
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/media/AudioFormat$Builder;->setEncoding(I)Landroid/media/AudioFormat$Builder;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const v3, 0xac44
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/media/AudioFormat$Builder;->setSampleRate(I)Landroid/media/AudioFormat$Builder;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const/16 v3, 0x10
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/media/AudioFormat$Builder;->setChannelMask(I)Landroid/media/AudioFormat$Builder;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Landroid/media/AudioFormat$Builder;->build()Landroid/media/AudioFormat;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Landroid/media/AudioRecord$Builder;->setAudioFormat(Landroid/media/AudioFormat;)Landroid/media/AudioRecord$Builder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1, v0}, Landroid/media/AudioRecord$Builder;->setAudioPlaybackCaptureConfig(Landroid/media/AudioPlaybackCaptureConfiguration;)Landroid/media/AudioRecord$Builder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroid/media/AudioRecord$Builder;->build()Landroid/media/AudioRecord;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final c()V
|
||||
.locals 6
|
||||
|
||||
iget v0, p0, Lf/a/h/t/b;->i:I
|
||||
|
||||
if-lez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/b;->f:Lorg/webrtc/SurfaceTextureHelper;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lorg/webrtc/SurfaceTextureHelper;->getHandler()Landroid/os/Handler;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lf/a/h/t/b;->d:Lf/a/h/t/b$b;
|
||||
|
||||
iget v2, p0, Lf/a/h/t/b;->j:I
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
const v4, 0xf4240
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
div-long/2addr v2, v4
|
||||
|
||||
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const-string/jumbo v0, "surfaceTextureHelper"
|
||||
|
||||
invoke-static {v0}, Lx/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized changeCaptureFormat(III)V
|
||||
.locals 1
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lf/a/h/t/b;->l:Landroid/graphics/Point;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p0, v0, p1}, Lf/a/h/t/b;->a(Landroid/graphics/Point;I)V
|
||||
|
||||
if-gtz p3, :cond_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput p1, p0, Lf/a/h/t/b;->i:I
|
||||
|
||||
iput p1, p0, Lf/a/h/t/b;->j:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iput p3, p0, Lf/a/h/t/b;->i:I
|
||||
|
||||
const p1, 0x3b9aca00
|
||||
|
||||
div-int/2addr p1, p3
|
||||
|
||||
iput p1, p0, Lf/a/h/t/b;->j:I
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:goto_0
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public dispose()V
|
||||
.locals 3
|
||||
|
||||
invoke-virtual {p0}, Lf/a/h/t/b;->stopCapture()V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/b;->p:Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->e:Lorg/webrtc/VideoFrameDrawer;
|
||||
|
||||
invoke-virtual {v1}, Lorg/webrtc/VideoFrameDrawer;->release()V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->d:Lorg/webrtc/GlRectDrawer;
|
||||
|
||||
invoke-virtual {v1}, Lorg/webrtc/GlRectDrawer;->release()V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->b:Ljava/nio/ByteBuffer;
|
||||
|
||||
invoke-static {v1}, Lorg/webrtc/JniCommon;->nativeFreeByteBuffer(Ljava/nio/ByteBuffer;)V
|
||||
|
||||
const-wide v1, 0x7fffffffffffffffL
|
||||
|
||||
iput-wide v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->a:J
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
iget-object v0, p0, Lf/a/h/t/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
invoke-virtual {v0}, Lco/discord/media_engine/SoundshareAudioSource;->release()V
|
||||
|
||||
invoke-super {p0}, Lorg/webrtc/ScreenCapturerAndroid;->dispose()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized initialize(Lorg/webrtc/SurfaceTextureHelper;Landroid/content/Context;Lorg/webrtc/CapturerObserver;)V
|
||||
.locals 2
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
const-string/jumbo v0, "surfaceTextureHelper"
|
||||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "applicationContext"
|
||||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "capturerObserver"
|
||||
|
||||
invoke-static {p3, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/t/b;->f:Lorg/webrtc/SurfaceTextureHelper;
|
||||
|
||||
const-string/jumbo v0, "window"
|
||||
|
||||
invoke-virtual {p2, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast v0, Landroid/view/WindowManager;
|
||||
|
||||
invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string/jumbo v1, "wm.defaultDisplay"
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object v0, p0, Lf/a/h/t/b;->g:Landroid/view/Display;
|
||||
|
||||
move-object v0, p3
|
||||
|
||||
check-cast v0, Lco/discord/media_engine/NativeCapturerObserver;
|
||||
|
||||
iput-object v0, p0, Lf/a/h/t/b;->e:Lco/discord/media_engine/NativeCapturerObserver;
|
||||
|
||||
invoke-super {p0, p1, p2, p3}, Lorg/webrtc/ScreenCapturerAndroid;->initialize(Lorg/webrtc/SurfaceTextureHelper;Landroid/content/Context;Lorg/webrtc/CapturerObserver;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
:try_start_1
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
const-string p2, "null cannot be cast to non-null type android.view.WindowManager"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onFrame(Lorg/webrtc/VideoFrame;)V
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/b;->g:Landroid/view/Display;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
iget-object v1, p0, Lf/a/h/t/b;->m:Landroid/graphics/Point;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/view/Display;->getRealSize(Landroid/graphics/Point;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/b;->m:Landroid/graphics/Point;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/t/b;->l:Landroid/graphics/Point;
|
||||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/b;->l:Landroid/graphics/Point;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/t/b;->m:Landroid/graphics/Point;
|
||||
|
||||
iget v2, v1, Landroid/graphics/Point;->x:I
|
||||
|
||||
iget v1, v1, Landroid/graphics/Point;->y:I
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Landroid/graphics/Point;->set(II)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/b;->m:Landroid/graphics/Point;
|
||||
|
||||
iget v1, p0, Lf/a/h/t/b;->o:I
|
||||
|
||||
invoke-virtual {p0, v0, v1}, Lf/a/h/t/b;->a(Landroid/graphics/Point;I)V
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p1}, Lorg/webrtc/VideoFrame;->getTimestampNs()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Lf/a/h/t/b;->k:Ljava/lang/Long;
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/b;->p:Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
const-string v1, "frame"
|
||||
|
||||
invoke-static {p1, v1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->l:Lcom/discord/utilities/time/Clock;
|
||||
|
||||
invoke-interface {v1}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iget-wide v3, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->f:J
|
||||
|
||||
sub-long/2addr v1, v3
|
||||
|
||||
invoke-virtual {p1}, Lorg/webrtc/VideoFrame;->getTimestampNs()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
iget-wide v5, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->a:J
|
||||
|
||||
sub-long/2addr v3, v5
|
||||
|
||||
iget-wide v5, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->j:J
|
||||
|
||||
cmp-long v7, v1, v5
|
||||
|
||||
if-lez v7, :cond_1
|
||||
|
||||
iget-wide v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->i:J
|
||||
|
||||
const/16 v5, 0x3e8
|
||||
|
||||
int-to-long v5, v5
|
||||
|
||||
mul-long v1, v1, v5
|
||||
|
||||
mul-long v1, v1, v5
|
||||
|
||||
cmp-long v5, v3, v1
|
||||
|
||||
if-lez v5, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Lorg/webrtc/VideoFrame;->getTimestampNs()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iput-wide v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->a:J
|
||||
|
||||
iget-object v1, v0, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->k:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;->a(Lorg/webrtc/VideoFrame;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:cond_1
|
||||
monitor-exit v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
invoke-super {p0, p1}, Lorg/webrtc/ScreenCapturerAndroid;->onFrame(Lorg/webrtc/VideoFrame;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
const-string p1, "defaultDisplay"
|
||||
|
||||
invoke-static {p1}, Lx/m/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized startCapture(III)V
|
||||
.locals 0
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
invoke-super {p0, p1, p2, p3}, Lorg/webrtc/ScreenCapturerAndroid;->startCapture(III)V
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result p1
|
||||
|
||||
iput p1, p0, Lf/a/h/t/b;->o:I
|
||||
|
||||
if-gtz p3, :cond_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput p1, p0, Lf/a/h/t/b;->i:I
|
||||
|
||||
iput p1, p0, Lf/a/h/t/b;->j:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iput p3, p0, Lf/a/h/t/b;->i:I
|
||||
|
||||
const p1, 0x3b9aca00
|
||||
|
||||
div-int/2addr p1, p3
|
||||
|
||||
iput p1, p0, Lf/a/h/t/b;->j:I
|
||||
|
||||
:goto_0
|
||||
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 p2, 0x1d
|
||||
|
||||
if-lt p1, p2, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Lf/a/h/t/b;->b()Landroid/media/AudioRecord;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p2, p0, Lf/a/h/t/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
invoke-virtual {p2, p1}, Lco/discord/media_engine/SoundshareAudioSource;->startRecording(Landroid/media/AudioRecord;)Z
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p0}, Lf/a/h/t/b;->c()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized stopCapture()V
|
||||
.locals 1
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
invoke-super {p0}, Lorg/webrtc/ScreenCapturerAndroid;->stopCapture()V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
invoke-virtual {v0}, Lco/discord/media_engine/SoundshareAudioSource;->stopRecording()Z
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput v0, p0, Lf/a/h/t/b;->i:I
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Lf/a/h/t/b;->k:Ljava/lang/Long;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
.class public final Lf/a/h/t/c;
|
||||
.super Ljava/util/TimerTask;
|
||||
.source "RtcControlSocket.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/a/h/t/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/t/a;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lf/a/h/t/c;->d:Lf/a/h/t/a;
|
||||
|
||||
invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public run()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/h/t/c;->d:Lf/a/h/t/a;
|
||||
|
||||
new-instance v1, Lf/a/h/t/c$a;
|
||||
|
||||
invoke-direct {v1, p0}, Lf/a/h/t/c$a;-><init>(Lf/a/h/t/c;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lf/a/h/t/a;->l(Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/a;
|
||||
.class public final Lf/a/h/t/c/a;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -21,16 +21,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $value:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/a;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/a;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/a;->$value:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
iput-object p2, p0, Lf/a/h/t/c/a;->$value:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -50,9 +50,9 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/a;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/a;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/a;->$value:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
iget-object v1, p0, Lf/a/h/t/c/a;->$value:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
invoke-interface {p1, v0, v1}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;->onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/b$a;
|
||||
.class public final Lf/a/h/t/c/b$a;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/b;->onVideo(JILjava/lang/String;)V
|
||||
value = Lf/a/h/t/c/b;->onVideo(JILjava/lang/String;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -33,20 +33,20 @@
|
|||
|
||||
.field public final synthetic $userId:J
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/b;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/b;JILjava/lang/String;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/b;JILjava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/b$a;->this$0:Lf/a/h/s/c/b;
|
||||
iput-object p1, p0, Lf/a/h/t/c/b$a;->this$0:Lf/a/h/t/c/b;
|
||||
|
||||
iput-wide p2, p0, Lf/a/h/s/c/b$a;->$userId:J
|
||||
iput-wide p2, p0, Lf/a/h/t/c/b$a;->$userId:J
|
||||
|
||||
iput p4, p0, Lf/a/h/s/c/b$a;->$ssrc:I
|
||||
iput p4, p0, Lf/a/h/t/c/b$a;->$ssrc:I
|
||||
|
||||
iput-object p5, p0, Lf/a/h/s/c/b$a;->$streamIdentifier:Ljava/lang/String;
|
||||
iput-object p5, p0, Lf/a/h/t/c/b$a;->$streamIdentifier:Ljava/lang/String;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -60,17 +60,17 @@
|
|||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/b$a;->this$0:Lf/a/h/s/c/b;
|
||||
iget-object v0, p0, Lf/a/h/t/c/b$a;->this$0:Lf/a/h/t/c/b;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/b;->a:Lf/a/h/s/c/e;
|
||||
iget-object v0, v0, Lf/a/h/t/c/b;->a:Lf/a/h/t/c/e;
|
||||
|
||||
iget-wide v3, p0, Lf/a/h/s/c/b$a;->$userId:J
|
||||
iget-wide v3, p0, Lf/a/h/t/c/b$a;->$userId:J
|
||||
|
||||
iget v6, p0, Lf/a/h/s/c/b$a;->$ssrc:I
|
||||
iget v6, p0, Lf/a/h/t/c/b$a;->$ssrc:I
|
||||
|
||||
iget-object v5, p0, Lf/a/h/s/c/b$a;->$streamIdentifier:Ljava/lang/String;
|
||||
iget-object v5, p0, Lf/a/h/t/c/b$a;->$streamIdentifier:Ljava/lang/String;
|
||||
|
||||
iget-object v1, v0, Lf/a/h/s/c/e;->d:Ljava/util/HashMap;
|
||||
iget-object v1, v0, Lf/a/h/t/c/e;->d:Ljava/util/HashMap;
|
||||
|
||||
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
|
@ -82,15 +82,15 @@
|
|||
|
||||
invoke-interface {v1, v2, v7}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
new-instance v7, Lf/a/h/s/c/k;
|
||||
new-instance v7, Lf/a/h/t/c/k;
|
||||
|
||||
move-object v1, v7
|
||||
|
||||
move-object v2, v0
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lf/a/h/s/c/k;-><init>(Lf/a/h/s/c/e;JLjava/lang/String;I)V
|
||||
invoke-direct/range {v1 .. v6}, Lf/a/h/t/c/k;-><init>(Lf/a/h/t/c/e;JLjava/lang/String;I)V
|
||||
|
||||
invoke-virtual {v0, v7}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {v0, v7}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/b;
|
||||
.class public final Lf/a/h/t/c/b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -7,11 +7,11 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/a/h/s/c/e;
|
||||
.field public final synthetic a:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/b;->a:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/b;->a:Lf/a/h/t/c/e;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -35,9 +35,9 @@
|
|||
|
||||
invoke-static {p4, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/b;->a:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/b;->a:Lf/a/h/t/c/e;
|
||||
|
||||
new-instance v7, Lf/a/h/s/c/b$a;
|
||||
new-instance v7, Lf/a/h/t/c/b$a;
|
||||
|
||||
move-object v1, v7
|
||||
|
||||
|
@ -49,9 +49,9 @@
|
|||
|
||||
move-object v6, p4
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lf/a/h/s/c/b$a;-><init>(Lf/a/h/s/c/b;JILjava/lang/String;)V
|
||||
invoke-direct/range {v1 .. v6}, Lf/a/h/t/c/b$a;-><init>(Lf/a/h/t/c/b;JILjava/lang/String;)V
|
||||
|
||||
invoke-static {v0, v7}, Lf/a/h/s/c/e;->s(Lf/a/h/s/c/e;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-static {v0, v7}, Lf/a/h/t/c/e;->s(Lf/a/h/t/c/e;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/c$a;
|
||||
.class public final Lf/a/h/t/c/c$a;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/c;->onUserSpeakingStatusChanged(JZZ)V
|
||||
value = Lf/a/h/t/c/c;->onUserSpeakingStatusChanged(JZZ)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -31,18 +31,18 @@
|
|||
|
||||
.field public final synthetic $userId:J
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/c;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/c;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/c;JZ)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/c;JZ)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/c$a;->this$0:Lf/a/h/s/c/c;
|
||||
iput-object p1, p0, Lf/a/h/t/c/c$a;->this$0:Lf/a/h/t/c/c;
|
||||
|
||||
iput-wide p2, p0, Lf/a/h/s/c/c$a;->$userId:J
|
||||
iput-wide p2, p0, Lf/a/h/t/c/c$a;->$userId:J
|
||||
|
||||
iput-boolean p4, p0, Lf/a/h/s/c/c$a;->$isUserSpeakingNow:Z
|
||||
iput-boolean p4, p0, Lf/a/h/t/c/c$a;->$isUserSpeakingNow:Z
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -56,15 +56,15 @@
|
|||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 6
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/c$a;->this$0:Lf/a/h/s/c/c;
|
||||
iget-object v0, p0, Lf/a/h/t/c/c$a;->this$0:Lf/a/h/t/c/c;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/c;->a:Lf/a/h/s/c/e;
|
||||
iget-object v0, v0, Lf/a/h/t/c/c;->a:Lf/a/h/t/c/e;
|
||||
|
||||
iget-wide v1, p0, Lf/a/h/s/c/c$a;->$userId:J
|
||||
iget-wide v1, p0, Lf/a/h/t/c/c$a;->$userId:J
|
||||
|
||||
iget-boolean v3, p0, Lf/a/h/s/c/c$a;->$isUserSpeakingNow:Z
|
||||
iget-boolean v3, p0, Lf/a/h/t/c/c$a;->$isUserSpeakingNow:Z
|
||||
|
||||
iget-object v4, v0, Lf/a/h/s/c/e;->c:Ljava/util/HashMap;
|
||||
iget-object v4, v0, Lf/a/h/t/c/e;->c:Ljava/util/HashMap;
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
|
@ -96,11 +96,11 @@
|
|||
|
||||
move-result v4
|
||||
|
||||
new-instance v5, Lf/a/h/s/c/j;
|
||||
new-instance v5, Lf/a/h/t/c/j;
|
||||
|
||||
invoke-direct {v5, v1, v2, v4, v3}, Lf/a/h/s/c/j;-><init>(JIZ)V
|
||||
invoke-direct {v5, v1, v2, v4, v3}, Lf/a/h/t/c/j;-><init>(JIZ)V
|
||||
|
||||
invoke-virtual {v0, v5}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {v0, v5}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/c;
|
||||
.class public final Lf/a/h/t/c/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -7,11 +7,11 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/a/h/s/c/e;
|
||||
.field public final synthetic a:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/c;->a:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/c;->a:Lf/a/h/t/c/e;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -31,13 +31,13 @@
|
|||
.method public onUserSpeakingStatusChanged(JZZ)V
|
||||
.locals 1
|
||||
|
||||
iget-object p4, p0, Lf/a/h/s/c/c;->a:Lf/a/h/s/c/e;
|
||||
iget-object p4, p0, Lf/a/h/t/c/c;->a:Lf/a/h/t/c/e;
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/c$a;
|
||||
new-instance v0, Lf/a/h/t/c/c$a;
|
||||
|
||||
invoke-direct {v0, p0, p1, p2, p3}, Lf/a/h/s/c/c$a;-><init>(Lf/a/h/s/c/c;JZ)V
|
||||
invoke-direct {v0, p0, p1, p2, p3}, Lf/a/h/t/c/c$a;-><init>(Lf/a/h/t/c/c;JZ)V
|
||||
|
||||
invoke-static {p4, v0}, Lf/a/h/s/c/e;->s(Lf/a/h/s/c/e;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-static {p4, v0}, Lf/a/h/t/c/e;->s(Lf/a/h/t/c/e;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/d$a;
|
||||
.class public final Lf/a/h/t/c/d$a;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/d;->onConnectToServer(Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;Ljava/lang/String;)V
|
||||
value = Lf/a/h/t/c/d;->onConnectToServer(Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;Ljava/lang/String;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -31,18 +31,18 @@
|
|||
|
||||
.field public final synthetic $errorMessage:Ljava/lang/String;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/d;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/d;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/d;Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;Ljava/lang/String;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/d;Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/d$a;->this$0:Lf/a/h/s/c/d;
|
||||
iput-object p1, p0, Lf/a/h/t/c/d$a;->this$0:Lf/a/h/t/c/d;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/d$a;->$connectionInfo:Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;
|
||||
iput-object p2, p0, Lf/a/h/t/c/d$a;->$connectionInfo:Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;
|
||||
|
||||
iput-object p3, p0, Lf/a/h/s/c/d$a;->$errorMessage:Ljava/lang/String;
|
||||
iput-object p3, p0, Lf/a/h/t/c/d$a;->$errorMessage:Ljava/lang/String;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -56,17 +56,17 @@
|
|||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 10
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/d$a;->this$0:Lf/a/h/s/c/d;
|
||||
iget-object v0, p0, Lf/a/h/t/c/d$a;->this$0:Lf/a/h/t/c/d;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/d;->a:Lf/a/h/s/c/e;
|
||||
iget-object v0, v0, Lf/a/h/t/c/d;->a:Lf/a/h/t/c/e;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/d$a;->$connectionInfo:Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;
|
||||
iget-object v1, p0, Lf/a/h/t/c/d$a;->$connectionInfo:Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;
|
||||
|
||||
iget-object v2, p0, Lf/a/h/s/c/d$a;->$errorMessage:Ljava/lang/String;
|
||||
iget-object v2, p0, Lf/a/h/t/c/d$a;->$errorMessage:Ljava/lang/String;
|
||||
|
||||
iget-object v3, v0, Lf/a/h/s/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v3, v0, Lf/a/h/t/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v4, Lf/a/h/s/c/e;->m:Ljava/lang/String;
|
||||
sget-object v4, Lf/a/h/t/c/e;->m:Ljava/lang/String;
|
||||
|
||||
const-string v5, "TAG"
|
||||
|
||||
|
@ -150,15 +150,15 @@
|
|||
|
||||
sget-object v1, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;->CONNECTED:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
iput-object v1, v0, Lf/a/h/s/c/e;->b:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
iput-object v1, v0, Lf/a/h/t/c/e;->b:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
new-instance v3, Lf/a/h/s/c/a;
|
||||
new-instance v3, Lf/a/h/t/c/a;
|
||||
|
||||
invoke-direct {v3, v0, v1}, Lf/a/h/s/c/a;-><init>(Lf/a/h/s/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
invoke-direct {v3, v0, v1}, Lf/a/h/t/c/a;-><init>(Lf/a/h/t/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
|
||||
invoke-virtual {v0, v3}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {v0, v3}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
new-instance v1, Lf/a/h/s/a;
|
||||
new-instance v1, Lf/a/h/t/a;
|
||||
|
||||
const/4 v6, 0x1
|
||||
|
||||
|
@ -172,47 +172,47 @@
|
|||
|
||||
move-object v4, v1
|
||||
|
||||
invoke-direct/range {v4 .. v9}, Lf/a/h/s/a;-><init>(Ljava/lang/String;ILjava/lang/String;ILjava/lang/Integer;)V
|
||||
invoke-direct/range {v4 .. v9}, Lf/a/h/t/a;-><init>(Ljava/lang/String;ILjava/lang/String;ILjava/lang/Integer;)V
|
||||
|
||||
iget-object v3, v0, Lf/a/h/s/c/e;->e:Ljava/util/ArrayList;
|
||||
iget-object v3, v0, Lf/a/h/t/c/e;->e:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v3}, Ljava/util/ArrayList;->clear()V
|
||||
|
||||
iget-object v3, v0, Lf/a/h/s/c/e;->e:Ljava/util/ArrayList;
|
||||
iget-object v3, v0, Lf/a/h/t/c/e;->e:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v3, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
iget-object v1, v0, Lf/a/h/s/c/e;->e:Ljava/util/ArrayList;
|
||||
iget-object v1, v0, Lf/a/h/t/c/e;->e:Ljava/util/ArrayList;
|
||||
|
||||
iget-object v3, v0, Lf/a/h/s/c/e;->k:Ljava/util/List;
|
||||
iget-object v3, v0, Lf/a/h/t/c/e;->k:Ljava/util/List;
|
||||
|
||||
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/g;
|
||||
new-instance v1, Lf/a/h/t/c/g;
|
||||
|
||||
invoke-direct {v1, v0, v2}, Lf/a/h/s/c/g;-><init>(Lf/a/h/s/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;)V
|
||||
invoke-direct {v1, v0, v2}, Lf/a/h/t/c/g;-><init>(Lf/a/h/t/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {v0, v1}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
if-nez v1, :cond_3
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/h;
|
||||
new-instance v1, Lf/a/h/t/c/h;
|
||||
|
||||
invoke-direct {v1, v0, v2}, Lf/a/h/s/c/h;-><init>(Lf/a/h/s/c/e;Ljava/lang/String;)V
|
||||
invoke-direct {v1, v0, v2}, Lf/a/h/t/c/h;-><init>(Lf/a/h/t/c/e;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {v0, v1}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
new-instance v1, Lf/a/h/s/c/i;
|
||||
new-instance v1, Lf/a/h/t/c/i;
|
||||
|
||||
invoke-direct {v1, v0, v2}, Lf/a/h/s/c/i;-><init>(Lf/a/h/s/c/e;Ljava/lang/String;)V
|
||||
invoke-direct {v1, v0, v2}, Lf/a/h/t/c/i;-><init>(Lf/a/h/t/c/e;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {v0, v1}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
:goto_2
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/d;
|
||||
.class public final Lf/a/h/t/c/d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -7,14 +7,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/a/h/s/c/e;
|
||||
.field public final synthetic a:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/d;->a:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/d;->a:Lf/a/h/t/c/e;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -34,13 +34,13 @@
|
|||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/d;->a:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/d;->a:Lf/a/h/t/c/e;
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/d$a;
|
||||
new-instance v1, Lf/a/h/t/c/d$a;
|
||||
|
||||
invoke-direct {v1, p0, p1, p2}, Lf/a/h/s/c/d$a;-><init>(Lf/a/h/s/c/d;Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;Ljava/lang/String;)V
|
||||
invoke-direct {v1, p0, p1, p2}, Lf/a/h/t/c/d$a;-><init>(Lf/a/h/t/c/d;Lcom/hammerandchisel/libdiscord/Discord$ConnectionInfo;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, v1}, Lf/a/h/s/c/e;->s(Lf/a/h/s/c/e;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-static {v0, v1}, Lf/a/h/t/c/e;->s(Lf/a/h/t/c/e;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$a;
|
||||
.class public final Lf/a/h/t/c/e$a;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->m(JILjava/lang/Integer;Z)V
|
||||
value = Lf/a/h/t/c/e;->m(JILjava/lang/Integer;Z)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -36,22 +36,22 @@
|
|||
|
||||
.field public final synthetic $userId:J
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;JIIZ)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;JIIZ)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/e$a;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/e$a;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iput-wide p2, p0, Lf/a/h/s/c/e$a;->$userId:J
|
||||
iput-wide p2, p0, Lf/a/h/t/c/e$a;->$userId:J
|
||||
|
||||
iput p4, p0, Lf/a/h/s/c/e$a;->$audioSsrc:I
|
||||
iput p4, p0, Lf/a/h/t/c/e$a;->$audioSsrc:I
|
||||
|
||||
iput p5, p0, Lf/a/h/s/c/e$a;->$resolvedVideoSsrc:I
|
||||
iput p5, p0, Lf/a/h/t/c/e$a;->$resolvedVideoSsrc:I
|
||||
|
||||
iput-boolean p6, p0, Lf/a/h/s/c/e$a;->$isMuted:Z
|
||||
iput-boolean p6, p0, Lf/a/h/t/c/e$a;->$isMuted:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -73,15 +73,15 @@
|
|||
|
||||
invoke-static {v0, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v1, p0, Lf/a/h/s/c/e$a;->$userId:J
|
||||
iget-wide v1, p0, Lf/a/h/t/c/e$a;->$userId:J
|
||||
|
||||
iget v3, p0, Lf/a/h/s/c/e$a;->$audioSsrc:I
|
||||
iget v3, p0, Lf/a/h/t/c/e$a;->$audioSsrc:I
|
||||
|
||||
iget v4, p0, Lf/a/h/s/c/e$a;->$resolvedVideoSsrc:I
|
||||
iget v4, p0, Lf/a/h/t/c/e$a;->$resolvedVideoSsrc:I
|
||||
|
||||
iget-object p1, p0, Lf/a/h/s/c/e$a;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object p1, p0, Lf/a/h/t/c/e$a;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
sget-object v5, Lf/a/h/s/c/e;->m:Ljava/lang/String;
|
||||
sget-object v5, Lf/a/h/t/c/e;->m:Ljava/lang/String;
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
|
@ -99,7 +99,7 @@
|
|||
const/4 v5, 0x0
|
||||
|
||||
:goto_0
|
||||
iget-boolean v6, p0, Lf/a/h/s/c/e$a;->$isMuted:Z
|
||||
iget-boolean v6, p0, Lf/a/h/t/c/e$a;->$isMuted:Z
|
||||
|
||||
const/high16 v7, 0x3f800000 # 1.0f
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$b;
|
||||
.class public final Lf/a/h/t/c/e$b;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->i()V
|
||||
value = Lf/a/h/t/c/e;->i()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -28,18 +28,18 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Lf/a/h/s/c/e$b;
|
||||
.field public static final d:Lf/a/h/t/c/e$b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$b;
|
||||
new-instance v0, Lf/a/h/t/c/e$b;
|
||||
|
||||
invoke-direct {v0}, Lf/a/h/s/c/e$b;-><init>()V
|
||||
invoke-direct {v0}, Lf/a/h/t/c/e$b;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/h/s/c/e$b;->d:Lf/a/h/s/c/e$b;
|
||||
sput-object v0, Lf/a/h/t/c/e$b;->d:Lf/a/h/t/c/e$b;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$c;
|
||||
.class public final Lf/a/h/t/c/e$c;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->i()V
|
||||
value = Lf/a/h/t/c/e;->i()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -28,14 +28,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/e$c;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/e$c;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -55,13 +55,13 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$c;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$c;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;->DISCONNECTED:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
invoke-interface {p1, v0, v1}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;->onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$c;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$c;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
invoke-interface {p1, v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;->onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$d;
|
||||
.class public final Lf/a/h/t/c/e$d;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->e(Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
|
||||
value = Lf/a/h/t/c/e;->e(Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -30,16 +30,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $status:Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/e$d;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/e$d;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/e$d;->$status:Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
|
||||
iput-object p2, p0, Lf/a/h/t/c/e$d;->$status:Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -59,9 +59,9 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$d;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$d;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/e$d;->$status:Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
|
||||
iget-object v1, p0, Lf/a/h/t/c/e$d;->$status:Lcom/discord/rtcconnection/KrispOveruseDetector$Status;
|
||||
|
||||
invoke-interface {p1, v0, v1}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;->onKrispStatus(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$e;
|
||||
.class public final Lf/a/h/t/c/e$e;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->k(Lkotlin/jvm/functions/Function1;)V
|
||||
value = Lf/a/h/t/c/e;->k(Lkotlin/jvm/functions/Function1;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -30,16 +30,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $onStats:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;Lkotlin/jvm/functions/Function1;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;Lkotlin/jvm/functions/Function1;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/e$e;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/e$e;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/e$e;->$onStats:Lkotlin/jvm/functions/Function1;
|
||||
iput-object p2, p0, Lf/a/h/t/c/e$e;->$onStats:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -59,9 +59,9 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/f;
|
||||
new-instance v0, Lf/a/h/t/c/f;
|
||||
|
||||
invoke-direct {v0, p0}, Lf/a/h/s/c/f;-><init>(Lf/a/h/s/c/e$e;)V
|
||||
invoke-direct {v0, p0}, Lf/a/h/t/c/f;-><init>(Lf/a/h/t/c/e$e;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->getStats(Lco/discord/media_engine/Connection$GetStatsCallback;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$f;
|
||||
.class public final Lf/a/h/t/c/e$f;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->o(Ljava/lang/String;Ljava/lang/String;)V
|
||||
value = Lf/a/h/t/c/e;->o(Ljava/lang/String;Ljava/lang/String;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -30,16 +30,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $e:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/e$f;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/e$f;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/e$f;->$e:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;
|
||||
iput-object p2, p0, Lf/a/h/t/c/e$f;->$e:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -59,9 +59,9 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$f;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$f;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/e$f;->$e:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;
|
||||
iget-object v1, p0, Lf/a/h/t/c/e$f;->$e:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;
|
||||
|
||||
invoke-interface {p1, v0, v1}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;->onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$g;
|
||||
.class public final Lf/a/h/t/c/e$g;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->o(Ljava/lang/String;Ljava/lang/String;)V
|
||||
value = Lf/a/h/t/c/e;->o(Ljava/lang/String;Ljava/lang/String;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -41,13 +41,13 @@
|
|||
.method public constructor <init>(Lco/discord/media_engine/AudioEncoder;Lco/discord/media_engine/VideoEncoder;Lco/discord/media_engine/AudioDecoder;Lco/discord/media_engine/VideoDecoder;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/e$g;->$audioEncoder:Lco/discord/media_engine/AudioEncoder;
|
||||
iput-object p1, p0, Lf/a/h/t/c/e$g;->$audioEncoder:Lco/discord/media_engine/AudioEncoder;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/e$g;->$videoEncoder:Lco/discord/media_engine/VideoEncoder;
|
||||
iput-object p2, p0, Lf/a/h/t/c/e$g;->$videoEncoder:Lco/discord/media_engine/VideoEncoder;
|
||||
|
||||
iput-object p3, p0, Lf/a/h/s/c/e$g;->$audioDecoder:Lco/discord/media_engine/AudioDecoder;
|
||||
iput-object p3, p0, Lf/a/h/t/c/e$g;->$audioDecoder:Lco/discord/media_engine/AudioDecoder;
|
||||
|
||||
iput-object p4, p0, Lf/a/h/s/c/e$g;->$videoDecoder:Lco/discord/media_engine/VideoDecoder;
|
||||
iput-object p4, p0, Lf/a/h/t/c/e$g;->$videoDecoder:Lco/discord/media_engine/VideoDecoder;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -67,15 +67,15 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$g;->$audioEncoder:Lco/discord/media_engine/AudioEncoder;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$g;->$audioEncoder:Lco/discord/media_engine/AudioEncoder;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/e$g;->$videoEncoder:Lco/discord/media_engine/VideoEncoder;
|
||||
iget-object v1, p0, Lf/a/h/t/c/e$g;->$videoEncoder:Lco/discord/media_engine/VideoEncoder;
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
new-array v3, v2, [Lco/discord/media_engine/AudioDecoder;
|
||||
|
||||
iget-object v4, p0, Lf/a/h/s/c/e$g;->$audioDecoder:Lco/discord/media_engine/AudioDecoder;
|
||||
iget-object v4, p0, Lf/a/h/t/c/e$g;->$audioDecoder:Lco/discord/media_engine/AudioDecoder;
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
|
@ -83,7 +83,7 @@
|
|||
|
||||
new-array v2, v2, [Lco/discord/media_engine/VideoDecoder;
|
||||
|
||||
iget-object v4, p0, Lf/a/h/s/c/e$g;->$videoDecoder:Lco/discord/media_engine/VideoDecoder;
|
||||
iget-object v4, p0, Lf/a/h/t/c/e$g;->$videoDecoder:Lco/discord/media_engine/VideoDecoder;
|
||||
|
||||
aput-object v4, v2, v5
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$h;
|
||||
.class public final Lf/a/h/t/c/e$h;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->p(Ljava/lang/String;[I)V
|
||||
value = Lf/a/h/t/c/e;->p(Ljava/lang/String;[I)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -35,7 +35,7 @@
|
|||
.method public constructor <init>(Lco/discord/media_engine/EncryptionSettings;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/e$h;->$encryptionSettings:Lco/discord/media_engine/EncryptionSettings;
|
||||
iput-object p1, p0, Lf/a/h/t/c/e$h;->$encryptionSettings:Lco/discord/media_engine/EncryptionSettings;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$h;->$encryptionSettings:Lco/discord/media_engine/EncryptionSettings;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$h;->$encryptionSettings:Lco/discord/media_engine/EncryptionSettings;
|
||||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->setEncryptionSettings(Lco/discord/media_engine/EncryptionSettings;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$i;
|
||||
.class public final Lf/a/h/t/c/e$i;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->h(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;)V
|
||||
value = Lf/a/h/t/c/e;->h(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -37,9 +37,9 @@
|
|||
.method public constructor <init>(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
iput-object p1, p0, Lf/a/h/t/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/e$i;->$inputMode:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;
|
||||
iput-object p2, p0, Lf/a/h/t/c/e$i;->$inputMode:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -59,19 +59,19 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
|
||||
iget v0, v0, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;->b:I
|
||||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->setVADLeadingFramesToBuffer(I)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
|
||||
iget v0, v0, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;->c:I
|
||||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->setVADTrailingFramesToSend(I)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
|
||||
iget v0, v0, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;->a:I
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
|||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->setVADTriggerThreshold(F)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
|
||||
iget-boolean v0, v0, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;->d:Z
|
||||
|
||||
|
@ -95,13 +95,13 @@
|
|||
:goto_0
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->setVADAutoThreshold(I)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$i;->$inputModeOptions:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;
|
||||
|
||||
iget-boolean v0, v0, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;->e:Z
|
||||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->setVADUseKrisp(Z)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$i;->$inputMode:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$i;->$inputMode:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;->getNumeral()I
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$j;
|
||||
.class public final Lf/a/h/t/c/e$j;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->r(JZ)V
|
||||
value = Lf/a/h/t/c/e;->r(JZ)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -37,9 +37,9 @@
|
|||
.method public constructor <init>(JZ)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lf/a/h/s/c/e$j;->$userId:J
|
||||
iput-wide p1, p0, Lf/a/h/t/c/e$j;->$userId:J
|
||||
|
||||
iput-boolean p3, p0, Lf/a/h/s/c/e$j;->$mute:Z
|
||||
iput-boolean p3, p0, Lf/a/h/t/c/e$j;->$mute:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -59,9 +59,9 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v0, p0, Lf/a/h/s/c/e$j;->$userId:J
|
||||
iget-wide v0, p0, Lf/a/h/t/c/e$j;->$userId:J
|
||||
|
||||
iget-boolean v2, p0, Lf/a/h/s/c/e$j;->$mute:Z
|
||||
iget-boolean v2, p0, Lf/a/h/t/c/e$j;->$mute:Z
|
||||
|
||||
invoke-virtual {p1, v0, v1, v2}, Lco/discord/media_engine/Connection;->muteUser(JZ)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$k;
|
||||
.class public final Lf/a/h/t/c/e$k;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->d(JF)V
|
||||
value = Lf/a/h/t/c/e;->d(JF)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -37,9 +37,9 @@
|
|||
.method public constructor <init>(JF)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lf/a/h/s/c/e$k;->$userId:J
|
||||
iput-wide p1, p0, Lf/a/h/t/c/e$k;->$userId:J
|
||||
|
||||
iput p3, p0, Lf/a/h/s/c/e$k;->$volume:F
|
||||
iput p3, p0, Lf/a/h/t/c/e$k;->$volume:F
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -59,9 +59,9 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v0, p0, Lf/a/h/s/c/e$k;->$userId:J
|
||||
iget-wide v0, p0, Lf/a/h/t/c/e$k;->$userId:J
|
||||
|
||||
iget v2, p0, Lf/a/h/s/c/e$k;->$volume:F
|
||||
iget v2, p0, Lf/a/h/t/c/e$k;->$volume:F
|
||||
|
||||
const/high16 v3, 0x42c80000 # 100.0f
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$l;
|
||||
.class public final Lf/a/h/t/c/e$l;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->n(Z)V
|
||||
value = Lf/a/h/t/c/e;->n(Z)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -35,7 +35,7 @@
|
|||
.method public constructor <init>(Z)V
|
||||
.locals 0
|
||||
|
||||
iput-boolean p1, p0, Lf/a/h/s/c/e$l;->$active:Z
|
||||
iput-boolean p1, p0, Lf/a/h/t/c/e$l;->$active:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lf/a/h/s/c/e$l;->$active:Z
|
||||
iget-boolean v0, p0, Lf/a/h/t/c/e$l;->$active:Z
|
||||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->setPTTActive(Z)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$m;
|
||||
.class public final Lf/a/h/t/c/e$m;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->q(Z)V
|
||||
value = Lf/a/h/t/c/e;->q(Z)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -35,7 +35,7 @@
|
|||
.method public constructor <init>(Z)V
|
||||
.locals 0
|
||||
|
||||
iput-boolean p1, p0, Lf/a/h/s/c/e$m;->$selfDeaf:Z
|
||||
iput-boolean p1, p0, Lf/a/h/t/c/e$m;->$selfDeaf:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lf/a/h/s/c/e$m;->$selfDeaf:Z
|
||||
iget-boolean v0, p0, Lf/a/h/t/c/e$m;->$selfDeaf:Z
|
||||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->deafenLocalUser(Z)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$n;
|
||||
.class public final Lf/a/h/t/c/e$n;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->c(Z)V
|
||||
value = Lf/a/h/t/c/e;->c(Z)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -35,7 +35,7 @@
|
|||
.method public constructor <init>(Z)V
|
||||
.locals 0
|
||||
|
||||
iput-boolean p1, p0, Lf/a/h/s/c/e$n;->$selfMute:Z
|
||||
iput-boolean p1, p0, Lf/a/h/t/c/e$n;->$selfMute:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lf/a/h/s/c/e$n;->$selfMute:Z
|
||||
iget-boolean v0, p0, Lf/a/h/t/c/e$n;->$selfMute:Z
|
||||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->muteLocalUser(Z)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$o;
|
||||
.class public final Lf/a/h/t/c/e$o;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->g(Z)V
|
||||
value = Lf/a/h/t/c/e;->g(Z)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -35,7 +35,7 @@
|
|||
.method public constructor <init>(Z)V
|
||||
.locals 0
|
||||
|
||||
iput-boolean p1, p0, Lf/a/h/s/c/e$o;->$isVideoBroadcast:Z
|
||||
iput-boolean p1, p0, Lf/a/h/t/c/e$o;->$isVideoBroadcast:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lf/a/h/s/c/e$o;->$isVideoBroadcast:Z
|
||||
iget-boolean v0, p0, Lf/a/h/t/c/e$o;->$isVideoBroadcast:Z
|
||||
|
||||
invoke-virtual {p1, v0}, Lco/discord/media_engine/Connection;->setVideoBroadcast(Z)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$p;
|
||||
.class public final Lf/a/h/t/c/e$p;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->a(Landroid/content/Intent;Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;)V
|
||||
value = Lf/a/h/t/c/e;->a(Landroid/content/Intent;Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -28,14 +28,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $screenCapturer:Lf/a/h/s/b;
|
||||
.field public final synthetic $screenCapturer:Lf/a/h/t/b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/b;)V
|
||||
.method public constructor <init>(Lf/a/h/t/b;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/e$p;->$screenCapturer:Lf/a/h/s/b;
|
||||
iput-object p1, p0, Lf/a/h/t/c/e$p;->$screenCapturer:Lf/a/h/t/b;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -55,9 +55,9 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e$p;->$screenCapturer:Lf/a/h/s/b;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e$p;->$screenCapturer:Lf/a/h/t/b;
|
||||
|
||||
iget-object v1, v0, Lf/a/h/s/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
iget-object v1, v0, Lf/a/h/t/b;->h:Lco/discord/media_engine/SoundshareAudioSource;
|
||||
|
||||
invoke-virtual {v1}, Lco/discord/media_engine/SoundshareAudioSource;->getNativeInstance()J
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
.class public final Lf/a/h/s/c/e$q;
|
||||
.class public final Lf/a/h/t/c/e$q;
|
||||
.super Landroid/media/projection/MediaProjection$Callback;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->a(Landroid/content/Intent;Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;)V
|
||||
value = Lf/a/h/t/c/e;->a(Landroid/content/Intent;Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e$r;
|
||||
.class public final Lf/a/h/t/c/e$r;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/e;->f()V
|
||||
value = Lf/a/h/t/c/e;->f()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -28,18 +28,18 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Lf/a/h/s/c/e$r;
|
||||
.field public static final d:Lf/a/h/t/c/e$r;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$r;
|
||||
new-instance v0, Lf/a/h/t/c/e$r;
|
||||
|
||||
invoke-direct {v0}, Lf/a/h/s/c/e$r;-><init>()V
|
||||
invoke-direct {v0}, Lf/a/h/t/c/e$r;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/h/s/c/e$r;->d:Lf/a/h/s/c/e$r;
|
||||
sput-object v0, Lf/a/h/t/c/e$r;->d:Lf/a/h/t/c/e$r;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/e;
|
||||
.class public final Lf/a/h/t/c/e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
|||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/ArrayList<",
|
||||
"Lf/a/h/s/a;",
|
||||
"Lf/a/h/t/a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -61,7 +61,7 @@
|
|||
|
||||
.field public final h:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
.field public final i:Lf/a/h/s/c/u;
|
||||
.field public final i:Lf/a/h/t/c/u;
|
||||
|
||||
.field public final j:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
|
@ -69,7 +69,7 @@
|
|||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Lf/a/h/s/a;",
|
||||
"Lf/a/h/t/a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -79,17 +79,17 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/util/concurrent/ExecutorService;Lcom/discord/utilities/logging/Logger;Lf/a/h/s/c/u;Lcom/hammerandchisel/libdiscord/Discord;Ljava/util/List;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Ljava/util/List;)V
|
||||
.method public constructor <init>(Ljava/util/concurrent/ExecutorService;Lcom/discord/utilities/logging/Logger;Lf/a/h/t/c/u;Lcom/hammerandchisel/libdiscord/Discord;Ljava/util/List;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Ljava/util/List;)V
|
||||
.locals 12
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/concurrent/ExecutorService;",
|
||||
"Lcom/discord/utilities/logging/Logger;",
|
||||
"Lf/a/h/s/c/u;",
|
||||
"Lf/a/h/t/c/u;",
|
||||
"Lcom/hammerandchisel/libdiscord/Discord;",
|
||||
"Ljava/util/List<",
|
||||
"Lf/a/h/s/a;",
|
||||
"Lf/a/h/t/a;",
|
||||
">;",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;",
|
||||
"J",
|
||||
|
@ -153,21 +153,21 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object v1, v0, Lf/a/h/s/c/e;->g:Ljava/util/concurrent/ExecutorService;
|
||||
iput-object v1, v0, Lf/a/h/t/c/e;->g:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
iput-object v2, v0, Lf/a/h/s/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
iput-object v2, v0, Lf/a/h/t/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iput-object v3, v0, Lf/a/h/s/c/e;->i:Lf/a/h/s/c/u;
|
||||
iput-object v3, v0, Lf/a/h/t/c/e;->i:Lf/a/h/t/c/u;
|
||||
|
||||
iput-object v4, v0, Lf/a/h/s/c/e;->j:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iput-object v4, v0, Lf/a/h/t/c/e;->j:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
iput-object v5, v0, Lf/a/h/s/c/e;->k:Ljava/util/List;
|
||||
iput-object v5, v0, Lf/a/h/t/c/e;->k:Ljava/util/List;
|
||||
|
||||
iput-object v6, v0, Lf/a/h/s/c/e;->l:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
iput-object v6, v0, Lf/a/h/t/c/e;->l:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
|
||||
sget-object v10, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;->CONNECTING:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
iput-object v10, v0, Lf/a/h/s/c/e;->b:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
iput-object v10, v0, Lf/a/h/t/c/e;->b:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
|
@ -205,19 +205,19 @@
|
|||
|
||||
invoke-static {v5, v2}, Lx/h/f;->putAll(Ljava/util/Map;[Lkotlin/Pair;)V
|
||||
|
||||
iput-object v5, v0, Lf/a/h/s/c/e;->c:Ljava/util/HashMap;
|
||||
iput-object v5, v0, Lf/a/h/t/c/e;->c:Ljava/util/HashMap;
|
||||
|
||||
new-instance v2, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v2}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
iput-object v2, v0, Lf/a/h/s/c/e;->d:Ljava/util/HashMap;
|
||||
iput-object v2, v0, Lf/a/h/t/c/e;->d:Ljava/util/HashMap;
|
||||
|
||||
new-instance v2, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
iput-object v2, v0, Lf/a/h/s/c/e;->e:Ljava/util/ArrayList;
|
||||
iput-object v2, v0, Lf/a/h/t/c/e;->e:Ljava/util/ArrayList;
|
||||
|
||||
sget-object v2, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;->STREAM:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
|
||||
|
@ -237,9 +237,9 @@
|
|||
|
||||
iget v6, v7, Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;->c:I
|
||||
|
||||
new-instance v11, Lf/a/h/s/c/d;
|
||||
new-instance v11, Lf/a/h/t/c/d;
|
||||
|
||||
invoke-direct {v11, p0}, Lf/a/h/s/c/d;-><init>(Lf/a/h/s/c/e;)V
|
||||
invoke-direct {v11, p0}, Lf/a/h/t/c/d;-><init>(Lf/a/h/t/c/e;)V
|
||||
|
||||
move-object/from16 v1, p4
|
||||
|
||||
|
@ -257,45 +257,45 @@
|
|||
|
||||
invoke-static {v1, v2}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v2, Lf/a/h/s/c/b;
|
||||
new-instance v2, Lf/a/h/t/c/b;
|
||||
|
||||
invoke-direct {v2, p0}, Lf/a/h/s/c/b;-><init>(Lf/a/h/s/c/e;)V
|
||||
invoke-direct {v2, p0}, Lf/a/h/t/c/b;-><init>(Lf/a/h/t/c/e;)V
|
||||
|
||||
invoke-virtual {v1, v2}, Lco/discord/media_engine/Connection;->setOnVideoCallback(Lco/discord/media_engine/Connection$OnVideoCallback;)V
|
||||
|
||||
new-instance v2, Lf/a/h/s/c/c;
|
||||
new-instance v2, Lf/a/h/t/c/c;
|
||||
|
||||
invoke-direct {v2, p0}, Lf/a/h/s/c/c;-><init>(Lf/a/h/s/c/e;)V
|
||||
invoke-direct {v2, p0}, Lf/a/h/t/c/c;-><init>(Lf/a/h/t/c/e;)V
|
||||
|
||||
invoke-virtual {v1, v2}, Lco/discord/media_engine/Connection;->setUserSpeakingStatusChangedCallback(Lco/discord/media_engine/Connection$UserSpeakingStatusChangedCallback;)V
|
||||
|
||||
iput-object v1, v0, Lf/a/h/s/c/e;->f:Lco/discord/media_engine/Connection;
|
||||
iput-object v1, v0, Lf/a/h/t/c/e;->f:Lco/discord/media_engine/Connection;
|
||||
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v1, v9}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
||||
|
||||
iput-object v1, v0, Lf/a/h/s/c/e;->a:Ljava/util/List;
|
||||
iput-object v1, v0, Lf/a/h/t/c/e;->a:Ljava/util/List;
|
||||
|
||||
iput-object v10, v0, Lf/a/h/s/c/e;->b:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
iput-object v10, v0, Lf/a/h/t/c/e;->b:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/a;
|
||||
new-instance v1, Lf/a/h/t/c/a;
|
||||
|
||||
invoke-direct {v1, p0, v10}, Lf/a/h/s/c/a;-><init>(Lf/a/h/s/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
invoke-direct {v1, p0, v10}, Lf/a/h/t/c/a;-><init>(Lf/a/h/t/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
|
||||
invoke-virtual {p0, v1}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v1}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final s(Lf/a/h/s/c/e;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
.method public static final s(Lf/a/h/t/c/e;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
.locals 1
|
||||
|
||||
iget-object p0, p0, Lf/a/h/s/c/e;->g:Ljava/util/concurrent/ExecutorService;
|
||||
iget-object p0, p0, Lf/a/h/t/c/e;->g:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/l;
|
||||
new-instance v0, Lf/a/h/t/c/l;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/a/h/s/c/l;-><init>(Lkotlin/jvm/functions/Function0;)V
|
||||
invoke-direct {v0, p1}, Lf/a/h/t/c/l;-><init>(Lkotlin/jvm/functions/Function0;)V
|
||||
|
||||
invoke-interface {p0, v0}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
||||
|
||||
|
@ -316,19 +316,19 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$q;
|
||||
new-instance v0, Lf/a/h/t/c/e$q;
|
||||
|
||||
invoke-direct {v0}, Lf/a/h/s/c/e$q;-><init>()V
|
||||
invoke-direct {v0}, Lf/a/h/t/c/e$q;-><init>()V
|
||||
|
||||
new-instance v1, Lf/a/h/s/b;
|
||||
new-instance v1, Lf/a/h/t/b;
|
||||
|
||||
invoke-direct {v1, p1, v0, p2}, Lf/a/h/s/b;-><init>(Landroid/content/Intent;Landroid/media/projection/MediaProjection$Callback;Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;)V
|
||||
invoke-direct {v1, p1, v0, p2}, Lf/a/h/t/b;-><init>(Landroid/content/Intent;Landroid/media/projection/MediaProjection$Callback;Lcom/discord/rtcconnection/mediaengine/ThumbnailEmitter;)V
|
||||
|
||||
new-instance p1, Lf/a/h/s/c/e$p;
|
||||
new-instance p1, Lf/a/h/t/c/e$p;
|
||||
|
||||
invoke-direct {p1, v1}, Lf/a/h/s/c/e$p;-><init>(Lf/a/h/s/b;)V
|
||||
invoke-direct {p1, v1}, Lf/a/h/t/c/e$p;-><init>(Lf/a/h/t/b;)V
|
||||
|
||||
invoke-virtual {p0, p1}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, p1}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
|
@ -347,9 +347,9 @@
|
|||
.method public b()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e;->i:Lf/a/h/s/c/u;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e;->i:Lf/a/h/t/c/u;
|
||||
|
||||
iget-boolean v0, v0, Lf/a/h/s/c/u;->a:Z
|
||||
iget-boolean v0, v0, Lf/a/h/t/c/u;->a:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
@ -357,11 +357,11 @@
|
|||
.method public c(Z)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$n;
|
||||
new-instance v0, Lf/a/h/t/c/e$n;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/a/h/s/c/e$n;-><init>(Z)V
|
||||
invoke-direct {v0, p1}, Lf/a/h/t/c/e$n;-><init>(Z)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -369,11 +369,11 @@
|
|||
.method public d(JF)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$k;
|
||||
new-instance v0, Lf/a/h/t/c/e$k;
|
||||
|
||||
invoke-direct {v0, p1, p2, p3}, Lf/a/h/s/c/e$k;-><init>(JF)V
|
||||
invoke-direct {v0, p1, p2, p3}, Lf/a/h/t/c/e$k;-><init>(JF)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -385,11 +385,11 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$d;
|
||||
new-instance v0, Lf/a/h/t/c/e$d;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Lf/a/h/s/c/e$d;-><init>(Lf/a/h/s/c/e;Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
|
||||
invoke-direct {v0, p0, p1}, Lf/a/h/t/c/e$d;-><init>(Lf/a/h/t/c/e;Lcom/discord/rtcconnection/KrispOveruseDetector$Status;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -400,9 +400,9 @@
|
|||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
sget-object v0, Lf/a/h/s/c/e$r;->d:Lf/a/h/s/c/e$r;
|
||||
sget-object v0, Lf/a/h/t/c/e$r;->d:Lf/a/h/t/c/e$r;
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
|
@ -421,11 +421,11 @@
|
|||
.method public g(Z)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$o;
|
||||
new-instance v0, Lf/a/h/t/c/e$o;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/a/h/s/c/e$o;-><init>(Z)V
|
||||
invoke-direct {v0, p1}, Lf/a/h/t/c/e$o;-><init>(Z)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -433,7 +433,7 @@
|
|||
.method public getType()Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e;->l:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e;->l:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
@ -449,7 +449,7 @@
|
|||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e;->i:Lf/a/h/s/c/u;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e;->i:Lf/a/h/t/c/u;
|
||||
|
||||
sget-object v1, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;->VOICE_ACTIVITY:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;
|
||||
|
||||
|
@ -460,11 +460,11 @@
|
|||
:cond_0
|
||||
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$i;
|
||||
new-instance v0, Lf/a/h/t/c/e$i;
|
||||
|
||||
invoke-direct {v0, p2, p1}, Lf/a/h/s/c/e$i;-><init>(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;)V
|
||||
invoke-direct {v0, p2, p1}, Lf/a/h/t/c/e$i;-><init>(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -472,9 +472,9 @@
|
|||
.method public i()V
|
||||
.locals 6
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v1, Lf/a/h/s/c/e;->m:Ljava/lang/String;
|
||||
sget-object v1, Lf/a/h/t/c/e;->m:Ljava/lang/String;
|
||||
|
||||
const-string v2, "TAG"
|
||||
|
||||
|
@ -490,15 +490,15 @@
|
|||
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/logging/Logger;->i$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
sget-object v0, Lf/a/h/s/c/e$b;->d:Lf/a/h/s/c/e$b;
|
||||
sget-object v0, Lf/a/h/t/c/e$b;->d:Lf/a/h/t/c/e$b;
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$c;
|
||||
new-instance v0, Lf/a/h/t/c/e$c;
|
||||
|
||||
invoke-direct {v0, p0}, Lf/a/h/s/c/e$c;-><init>(Lf/a/h/s/c/e;)V
|
||||
invoke-direct {v0, p0}, Lf/a/h/t/c/e$c;-><init>(Lf/a/h/t/c/e;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -510,11 +510,11 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e;->a:Ljava/util/List;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e;->a:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e;->b:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e;->b:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
|
||||
|
||||
invoke-interface {p1, p0, v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;->onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
|
||||
|
@ -538,11 +538,11 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$e;
|
||||
new-instance v0, Lf/a/h/t/c/e$e;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Lf/a/h/s/c/e$e;-><init>(Lf/a/h/s/c/e;Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-direct {v0, p0, p1}, Lf/a/h/t/c/e$e;-><init>(Lf/a/h/t/c/e;Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -554,7 +554,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e;->a:Ljava/util/List;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e;->a:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
|
||||
|
||||
|
@ -569,7 +569,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object p4, p0, Lf/a/h/s/c/e;->d:Ljava/util/HashMap;
|
||||
iget-object p4, p0, Lf/a/h/t/c/e;->d:Ljava/util/HashMap;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
|
@ -596,7 +596,7 @@
|
|||
const/4 p4, 0x0
|
||||
|
||||
:goto_1
|
||||
iget-object v1, p0, Lf/a/h/s/c/e;->c:Ljava/util/HashMap;
|
||||
iget-object v1, p0, Lf/a/h/t/c/e;->c:Ljava/util/HashMap;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
|
@ -630,7 +630,7 @@
|
|||
const/4 v1, 0x0
|
||||
|
||||
:goto_3
|
||||
iget-object v3, p0, Lf/a/h/s/c/e;->d:Ljava/util/HashMap;
|
||||
iget-object v3, p0, Lf/a/h/t/c/e;->d:Ljava/util/HashMap;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
|
@ -662,7 +662,7 @@
|
|||
if-eqz v0, :cond_7
|
||||
|
||||
:cond_6
|
||||
new-instance v0, Lf/a/h/s/c/e$a;
|
||||
new-instance v0, Lf/a/h/t/c/e$a;
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
|
@ -676,12 +676,12 @@
|
|||
|
||||
move v7, p5
|
||||
|
||||
invoke-direct/range {v1 .. v7}, Lf/a/h/s/c/e$a;-><init>(Lf/a/h/s/c/e;JIIZ)V
|
||||
invoke-direct/range {v1 .. v7}, Lf/a/h/t/c/e$a;-><init>(Lf/a/h/t/c/e;JIIZ)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
:cond_7
|
||||
iget-object p5, p0, Lf/a/h/s/c/e;->c:Ljava/util/HashMap;
|
||||
iget-object p5, p0, Lf/a/h/t/c/e;->c:Ljava/util/HashMap;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
|
@ -693,7 +693,7 @@
|
|||
|
||||
invoke-interface {p5, v0, p3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
iget-object p3, p0, Lf/a/h/s/c/e;->d:Ljava/util/HashMap;
|
||||
iget-object p3, p0, Lf/a/h/t/c/e;->d:Ljava/util/HashMap;
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
|
@ -711,11 +711,11 @@
|
|||
.method public n(Z)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$l;
|
||||
new-instance v0, Lf/a/h/t/c/e$l;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/a/h/s/c/e$l;-><init>(Z)V
|
||||
invoke-direct {v0, p1}, Lf/a/h/t/c/e$l;-><init>(Z)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -737,7 +737,7 @@
|
|||
|
||||
invoke-static {v9, v2}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v2, v1, Lf/a/h/s/c/e;->e:Ljava/util/ArrayList;
|
||||
iget-object v2, v1, Lf/a/h/t/c/e;->e:Ljava/util/ArrayList;
|
||||
|
||||
invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
|
@ -758,9 +758,9 @@
|
|||
|
||||
move-object v5, v3
|
||||
|
||||
check-cast v5, Lf/a/h/s/a;
|
||||
check-cast v5, Lf/a/h/t/a;
|
||||
|
||||
iget-object v5, v5, Lf/a/h/s/a;->a:Ljava/lang/String;
|
||||
iget-object v5, v5, Lf/a/h/t/a;->a:Ljava/lang/String;
|
||||
|
||||
invoke-static {v5, p1}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
|
@ -776,9 +776,9 @@
|
|||
:goto_0
|
||||
move-object v10, v3
|
||||
|
||||
check-cast v10, Lf/a/h/s/a;
|
||||
check-cast v10, Lf/a/h/t/a;
|
||||
|
||||
iget-object v2, v1, Lf/a/h/s/c/e;->e:Ljava/util/ArrayList;
|
||||
iget-object v2, v1, Lf/a/h/t/c/e;->e:Ljava/util/ArrayList;
|
||||
|
||||
invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
|
@ -797,9 +797,9 @@
|
|||
|
||||
move-object v5, v3
|
||||
|
||||
check-cast v5, Lf/a/h/s/a;
|
||||
check-cast v5, Lf/a/h/t/a;
|
||||
|
||||
iget-object v5, v5, Lf/a/h/s/a;->a:Ljava/lang/String;
|
||||
iget-object v5, v5, Lf/a/h/t/a;->a:Ljava/lang/String;
|
||||
|
||||
invoke-static {v5, v9}, Lx/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
|
@ -812,7 +812,7 @@
|
|||
:cond_3
|
||||
move-object v11, v4
|
||||
|
||||
check-cast v11, Lf/a/h/s/a;
|
||||
check-cast v11, Lf/a/h/t/a;
|
||||
|
||||
const/16 v2, 0x2e
|
||||
|
||||
|
@ -821,7 +821,7 @@
|
|||
if-eqz v11, :cond_5
|
||||
|
||||
:try_start_0
|
||||
iget-object v2, v11, Lf/a/h/s/a;->e:Ljava/lang/Integer;
|
||||
iget-object v2, v11, Lf/a/h/t/a;->e:Ljava/lang/Integer;
|
||||
|
||||
if-eqz v2, :cond_4
|
||||
|
||||
|
@ -833,7 +833,7 @@
|
|||
|
||||
new-instance v13, Lco/discord/media_engine/AudioEncoder;
|
||||
|
||||
iget v3, v10, Lf/a/h/s/a;->d:I
|
||||
iget v3, v10, Lf/a/h/t/a;->d:I
|
||||
|
||||
const/16 v6, 0x3c0
|
||||
|
||||
|
@ -851,7 +851,7 @@
|
|||
|
||||
new-instance v8, Lco/discord/media_engine/AudioDecoder;
|
||||
|
||||
iget v3, v10, Lf/a/h/s/a;->d:I
|
||||
iget v3, v10, Lf/a/h/t/a;->d:I
|
||||
|
||||
const/4 v6, 0x2
|
||||
|
||||
|
@ -917,9 +917,9 @@
|
|||
|
||||
new-instance v2, Lco/discord/media_engine/VideoEncoder;
|
||||
|
||||
iget v3, v11, Lf/a/h/s/a;->d:I
|
||||
iget v3, v11, Lf/a/h/t/a;->d:I
|
||||
|
||||
iget-object v4, v11, Lf/a/h/s/a;->e:Ljava/lang/Integer;
|
||||
iget-object v4, v11, Lf/a/h/t/a;->e:Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
|
@ -929,9 +929,9 @@
|
|||
|
||||
new-instance v3, Lco/discord/media_engine/VideoDecoder;
|
||||
|
||||
iget v4, v11, Lf/a/h/s/a;->d:I
|
||||
iget v4, v11, Lf/a/h/t/a;->d:I
|
||||
|
||||
iget-object v5, v11, Lf/a/h/s/a;->e:Ljava/lang/Integer;
|
||||
iget-object v5, v11, Lf/a/h/t/a;->e:Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
|
@ -939,11 +939,11 @@
|
|||
|
||||
invoke-direct {v3, v9, v4, v5, v0}, Lco/discord/media_engine/VideoDecoder;-><init>(Ljava/lang/String;IILjava/util/Map;)V
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$g;
|
||||
new-instance v0, Lf/a/h/t/c/e$g;
|
||||
|
||||
invoke-direct {v0, v13, v2, v8, v3}, Lf/a/h/s/c/e$g;-><init>(Lco/discord/media_engine/AudioEncoder;Lco/discord/media_engine/VideoEncoder;Lco/discord/media_engine/AudioDecoder;Lco/discord/media_engine/VideoDecoder;)V
|
||||
invoke-direct {v0, v13, v2, v8, v3}, Lf/a/h/t/c/e$g;-><init>(Lco/discord/media_engine/AudioEncoder;Lco/discord/media_engine/VideoEncoder;Lco/discord/media_engine/AudioDecoder;Lco/discord/media_engine/VideoDecoder;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
|
||||
|
@ -1030,11 +1030,11 @@
|
|||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
new-instance v2, Lf/a/h/s/c/e$f;
|
||||
new-instance v2, Lf/a/h/t/c/e$f;
|
||||
|
||||
invoke-direct {v2, p0, v0}, Lf/a/h/s/c/e$f;-><init>(Lf/a/h/s/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
invoke-direct {v2, p0, v0}, Lf/a/h/t/c/e$f;-><init>(Lf/a/h/t/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
|
||||
invoke-virtual {p0, v2}, Lf/a/h/s/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v2}, Lf/a/h/t/c/e;->t(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -1054,11 +1054,11 @@
|
|||
|
||||
invoke-direct {v0, p1, p2}, Lco/discord/media_engine/EncryptionSettings;-><init>(Ljava/lang/String;[I)V
|
||||
|
||||
new-instance p1, Lf/a/h/s/c/e$h;
|
||||
new-instance p1, Lf/a/h/t/c/e$h;
|
||||
|
||||
invoke-direct {p1, v0}, Lf/a/h/s/c/e$h;-><init>(Lco/discord/media_engine/EncryptionSettings;)V
|
||||
invoke-direct {p1, v0}, Lf/a/h/t/c/e$h;-><init>(Lco/discord/media_engine/EncryptionSettings;)V
|
||||
|
||||
invoke-virtual {p0, p1}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, p1}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -1066,11 +1066,11 @@
|
|||
.method public q(Z)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$m;
|
||||
new-instance v0, Lf/a/h/t/c/e$m;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/a/h/s/c/e$m;-><init>(Z)V
|
||||
invoke-direct {v0, p1}, Lf/a/h/t/c/e$m;-><init>(Z)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -1078,11 +1078,11 @@
|
|||
.method public r(JZ)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/e$j;
|
||||
new-instance v0, Lf/a/h/t/c/e$j;
|
||||
|
||||
invoke-direct {v0, p1, p2, p3}, Lf/a/h/s/c/e$j;-><init>(JZ)V
|
||||
invoke-direct {v0, p1, p2, p3}, Lf/a/h/t/c/e$j;-><init>(JZ)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/e;->u(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -1100,7 +1100,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/e;->a:Ljava/util/List;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e;->a:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
|
@ -1129,9 +1129,9 @@
|
|||
:catch_0
|
||||
move-exception v5
|
||||
|
||||
iget-object v2, p0, Lf/a/h/s/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v2, p0, Lf/a/h/t/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v3, Lf/a/h/s/c/e;->m:Ljava/lang/String;
|
||||
sget-object v3, Lf/a/h/t/c/e;->m:Ljava/lang/String;
|
||||
|
||||
const-string v1, "TAG"
|
||||
|
||||
|
@ -1169,7 +1169,7 @@
|
|||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lf/a/h/s/c/e;->f:Lco/discord/media_engine/Connection;
|
||||
iget-object v0, p0, Lf/a/h/t/c/e;->f:Lco/discord/media_engine/Connection;
|
||||
|
||||
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_0
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/f;
|
||||
.class public final Lf/a/h/t/c/f;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -7,11 +7,11 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/a/h/s/c/e$e;
|
||||
.field public final synthetic a:Lf/a/h/t/c/e$e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e$e;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e$e;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/f;->a:Lf/a/h/s/c/e$e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/f;->a:Lf/a/h/t/c/e$e;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -35,9 +35,9 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/f;->a:Lf/a/h/s/c/e$e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/f;->a:Lf/a/h/t/c/e$e;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/e$e;->$onStats:Lkotlin/jvm/functions/Function1;
|
||||
iget-object v0, v0, Lf/a/h/t/c/e$e;->$onStats:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
|
@ -47,13 +47,13 @@
|
|||
.method public onStatsError(Ljava/lang/Throwable;)V
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/f;->a:Lf/a/h/s/c/e$e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/f;->a:Lf/a/h/t/c/e$e;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/e$e;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v0, v0, Lf/a/h/t/c/e$e;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iget-object v1, v0, Lf/a/h/s/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v1, v0, Lf/a/h/t/c/e;->h:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v2, Lf/a/h/s/c/e;->m:Ljava/lang/String;
|
||||
sget-object v2, Lf/a/h/t/c/e;->m:Ljava/lang/String;
|
||||
|
||||
const-string v0, "TAG"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/g;
|
||||
.class public final Lf/a/h/t/c/g;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -21,16 +21,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $transportInfo:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/g;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/g;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/g;->$transportInfo:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;
|
||||
iput-object p2, p0, Lf/a/h/t/c/g;->$transportInfo:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -50,11 +50,11 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/g;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/g;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/g;->$transportInfo:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;
|
||||
iget-object v1, p0, Lf/a/h/t/c/g;->$transportInfo:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;
|
||||
|
||||
iget-object v2, v0, Lf/a/h/s/c/e;->e:Ljava/util/ArrayList;
|
||||
iget-object v2, v0, Lf/a/h/t/c/e;->e:Ljava/util/ArrayList;
|
||||
|
||||
invoke-interface {p1, v0, v1, v2}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;->onConnected(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;Ljava/util/List;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/h;
|
||||
.class public final Lf/a/h/t/c/h;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -21,16 +21,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $errorMessage:Ljava/lang/String;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;Ljava/lang/String;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/h;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/h;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/h;->$errorMessage:Ljava/lang/String;
|
||||
iput-object p2, p0, Lf/a/h/t/c/h;->$errorMessage:Ljava/lang/String;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/h;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/h;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
|||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, p0, Lf/a/h/s/c/h;->$errorMessage:Ljava/lang/String;
|
||||
iget-object v3, p0, Lf/a/h/t/c/h;->$errorMessage:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/i;
|
||||
.class public final Lf/a/h/t/c/i;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -21,16 +21,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $errorMessage:Ljava/lang/String;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;Ljava/lang/String;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/i;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/i;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/i;->$errorMessage:Ljava/lang/String;
|
||||
iput-object p2, p0, Lf/a/h/t/c/i;->$errorMessage:Ljava/lang/String;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -50,11 +50,11 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/i;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/i;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;
|
||||
|
||||
iget-object v2, p0, Lf/a/h/s/c/i;->$errorMessage:Ljava/lang/String;
|
||||
iget-object v2, p0, Lf/a/h/t/c/i;->$errorMessage:Ljava/lang/String;
|
||||
|
||||
sget-object v3, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException$FailureType;->Companion:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException$FailureType$a;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/j;
|
||||
.class public final Lf/a/h/t/c/j;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -30,11 +30,11 @@
|
|||
.method public constructor <init>(JIZ)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lf/a/h/s/c/j;->$userId:J
|
||||
iput-wide p1, p0, Lf/a/h/t/c/j;->$userId:J
|
||||
|
||||
iput p3, p0, Lf/a/h/s/c/j;->$audioSsrc:I
|
||||
iput p3, p0, Lf/a/h/t/c/j;->$audioSsrc:I
|
||||
|
||||
iput-boolean p4, p0, Lf/a/h/s/c/j;->$isSpeaking:Z
|
||||
iput-boolean p4, p0, Lf/a/h/t/c/j;->$isSpeaking:Z
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -54,11 +54,11 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v0, p0, Lf/a/h/s/c/j;->$userId:J
|
||||
iget-wide v0, p0, Lf/a/h/t/c/j;->$userId:J
|
||||
|
||||
iget v2, p0, Lf/a/h/s/c/j;->$audioSsrc:I
|
||||
iget v2, p0, Lf/a/h/t/c/j;->$audioSsrc:I
|
||||
|
||||
iget-boolean v3, p0, Lf/a/h/s/c/j;->$isSpeaking:Z
|
||||
iget-boolean v3, p0, Lf/a/h/t/c/j;->$isSpeaking:Z
|
||||
|
||||
invoke-interface {p1, v0, v1, v2, v3}, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;->onSpeaking(JIZ)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/k;
|
||||
.class public final Lf/a/h/t/c/k;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -25,20 +25,20 @@
|
|||
|
||||
.field public final synthetic $videoSsrc:I
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/e;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;JLjava/lang/String;I)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;JLjava/lang/String;I)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/k;->this$0:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/k;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iput-wide p2, p0, Lf/a/h/s/c/k;->$userId:J
|
||||
iput-wide p2, p0, Lf/a/h/t/c/k;->$userId:J
|
||||
|
||||
iput-object p4, p0, Lf/a/h/s/c/k;->$streamId:Ljava/lang/String;
|
||||
iput-object p4, p0, Lf/a/h/t/c/k;->$streamId:Ljava/lang/String;
|
||||
|
||||
iput p5, p0, Lf/a/h/s/c/k;->$videoSsrc:I
|
||||
iput p5, p0, Lf/a/h/t/c/k;->$videoSsrc:I
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -60,9 +60,9 @@
|
|||
|
||||
invoke-static {v0, p1}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v1, p0, Lf/a/h/s/c/k;->$userId:J
|
||||
iget-wide v1, p0, Lf/a/h/t/c/k;->$userId:J
|
||||
|
||||
iget-object p1, p0, Lf/a/h/s/c/k;->$streamId:Ljava/lang/String;
|
||||
iget-object p1, p0, Lf/a/h/t/c/k;->$streamId:Ljava/lang/String;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
|
@ -78,11 +78,11 @@
|
|||
:goto_0
|
||||
move-object v3, p1
|
||||
|
||||
iget-object p1, p0, Lf/a/h/s/c/k;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object p1, p0, Lf/a/h/t/c/k;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
iget-object p1, p1, Lf/a/h/s/c/e;->c:Ljava/util/HashMap;
|
||||
iget-object p1, p1, Lf/a/h/t/c/e;->c:Ljava/util/HashMap;
|
||||
|
||||
iget-wide v4, p0, Lf/a/h/s/c/k;->$userId:J
|
||||
iget-wide v4, p0, Lf/a/h/t/c/k;->$userId:J
|
||||
|
||||
invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
|
@ -114,9 +114,9 @@
|
|||
|
||||
move-result p1
|
||||
|
||||
iget v5, p0, Lf/a/h/s/c/k;->$videoSsrc:I
|
||||
iget v5, p0, Lf/a/h/t/c/k;->$videoSsrc:I
|
||||
|
||||
iget-object v6, p0, Lf/a/h/s/c/k;->this$0:Lf/a/h/s/c/e;
|
||||
iget-object v6, p0, Lf/a/h/t/c/k;->this$0:Lf/a/h/t/c/e;
|
||||
|
||||
invoke-static {v6}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/l;
|
||||
.class public final Lf/a/h/t/c/l;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineConnectionLegacy.kt"
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/l;->d:Lkotlin/jvm/functions/Function0;
|
||||
iput-object p1, p0, Lf/a/h/t/c/l;->d:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -26,7 +26,7 @@
|
|||
.method public final synthetic run()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/l;->d:Lkotlin/jvm/functions/Function0;
|
||||
iget-object v0, p0, Lf/a/h/t/c/l;->d:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
invoke-interface {v0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$a$a;
|
||||
.class public final Lf/a/h/t/c/m$a$a;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m$a;->onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
value = Lf/a/h/t/c/m$a;->onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -29,16 +29,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/m$a;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/m$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m$a$a;->this$0:Lf/a/h/s/c/m$a;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m$a$a;->this$0:Lf/a/h/t/c/m$a;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/m$a$a;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
iput-object p2, p0, Lf/a/h/t/c/m$a$a;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -52,13 +52,13 @@
|
|||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m$a$a;->this$0:Lf/a/h/s/c/m$a;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m$a$a;->this$0:Lf/a/h/t/c/m$a;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/m$a;->a:Lf/a/h/s/c/m;
|
||||
iget-object v0, v0, Lf/a/h/t/c/m$a;->a:Lf/a/h/t/c/m;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/m$a$a;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m$a$a;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
invoke-static {v0, v1}, Lf/a/h/s/c/m;->o(Lf/a/h/s/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
invoke-static {v0, v1}, Lf/a/h/t/c/m;->o(Lf/a/h/t/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$a$b;
|
||||
.class public final Lf/a/h/t/c/m$a$b;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m$a;->onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
value = Lf/a/h/t/c/m$a;->onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -29,16 +29,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/m$a;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/m$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m$a$b;->this$0:Lf/a/h/s/c/m$a;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m$a$b;->this$0:Lf/a/h/t/c/m$a;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/m$a$b;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
iput-object p2, p0, Lf/a/h/t/c/m$a$b;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -52,13 +52,13 @@
|
|||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m$a$b;->this$0:Lf/a/h/s/c/m$a;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m$a$b;->this$0:Lf/a/h/t/c/m$a;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/m$a;->a:Lf/a/h/s/c/m;
|
||||
iget-object v0, v0, Lf/a/h/t/c/m$a;->a:Lf/a/h/t/c/m;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/m$a$b;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m$a$b;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
invoke-static {v0, v1}, Lf/a/h/s/c/m;->o(Lf/a/h/s/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
invoke-static {v0, v1}, Lf/a/h/t/c/m;->o(Lf/a/h/t/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$a$c;
|
||||
.class public final Lf/a/h/t/c/m$a$c;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m$a;->onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
value = Lf/a/h/t/c/m$a;->onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -29,16 +29,16 @@
|
|||
# instance fields
|
||||
.field public final synthetic $connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
.field public final synthetic this$0:Lf/a/h/s/c/m$a;
|
||||
.field public final synthetic this$0:Lf/a/h/t/c/m$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m$a$c;->this$0:Lf/a/h/s/c/m$a;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m$a$c;->this$0:Lf/a/h/t/c/m$a;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/m$a$c;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
iput-object p2, p0, Lf/a/h/t/c/m$a$c;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -52,13 +52,13 @@
|
|||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m$a$c;->this$0:Lf/a/h/s/c/m$a;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m$a$c;->this$0:Lf/a/h/t/c/m$a;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/m$a;->a:Lf/a/h/s/c/m;
|
||||
iget-object v0, v0, Lf/a/h/t/c/m$a;->a:Lf/a/h/t/c/m;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/m$a$c;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m$a$c;->$connection:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
|
||||
invoke-static {v0, v1}, Lf/a/h/s/c/m;->o(Lf/a/h/s/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
invoke-static {v0, v1}, Lf/a/h/t/c/m;->o(Lf/a/h/t/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$a;
|
||||
.class public final Lf/a/h/t/c/m$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m;->g(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;Lkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
value = Lf/a/h/t/c/m;->g(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;Lkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -18,14 +18,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/a/h/s/c/m;
|
||||
.field public final synthetic a:Lf/a/h/t/c/m;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;J)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;J)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m$a;->a:Lf/a/h/s/c/m;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m$a;->a:Lf/a/h/t/c/m;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
|||
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;",
|
||||
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;",
|
||||
"Ljava/util/List<",
|
||||
"Lf/a/h/s/a;",
|
||||
"Lf/a/h/t/a;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -77,13 +77,13 @@
|
|||
|
||||
if-ne p2, v0, :cond_0
|
||||
|
||||
iget-object p2, p0, Lf/a/h/s/c/m$a;->a:Lf/a/h/s/c/m;
|
||||
iget-object p2, p0, Lf/a/h/t/c/m$a;->a:Lf/a/h/t/c/m;
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/m$a$b;
|
||||
new-instance v0, Lf/a/h/t/c/m$a$b;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Lf/a/h/s/c/m$a$b;-><init>(Lf/a/h/s/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
invoke-direct {v0, p0, p1}, Lf/a/h/t/c/m$a$b;-><init>(Lf/a/h/t/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
invoke-static {p2, v0}, Lf/a/h/s/c/m;->p(Lf/a/h/s/c/m;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-static {p2, v0}, Lf/a/h/t/c/m;->p(Lf/a/h/t/c/m;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
@ -96,13 +96,13 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m$a;->a:Lf/a/h/s/c/m;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m$a;->a:Lf/a/h/t/c/m;
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/m$a$a;
|
||||
new-instance v1, Lf/a/h/t/c/m$a$a;
|
||||
|
||||
invoke-direct {v1, p0, p1}, Lf/a/h/s/c/m$a$a;-><init>(Lf/a/h/s/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
invoke-direct {v1, p0, p1}, Lf/a/h/t/c/m$a$a;-><init>(Lf/a/h/t/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
invoke-static {v0, v1}, Lf/a/h/s/c/m;->p(Lf/a/h/s/c/m;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-static {v0, v1}, Lf/a/h/t/c/m;->p(Lf/a/h/t/c/m;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -118,13 +118,13 @@
|
|||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object p2, p0, Lf/a/h/s/c/m$a;->a:Lf/a/h/s/c/m;
|
||||
iget-object p2, p0, Lf/a/h/t/c/m$a;->a:Lf/a/h/t/c/m;
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/m$a$c;
|
||||
new-instance v0, Lf/a/h/t/c/m$a$c;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Lf/a/h/s/c/m$a$c;-><init>(Lf/a/h/s/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
invoke-direct {v0, p0, p1}, Lf/a/h/t/c/m$a$c;-><init>(Lf/a/h/t/c/m$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
||||
invoke-static {p2, v0}, Lf/a/h/s/c/m;->p(Lf/a/h/s/c/m;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
invoke-static {p2, v0}, Lf/a/h/t/c/m;->p(Lf/a/h/t/c/m;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$b;
|
||||
.class public final Lf/a/h/t/c/m$b;
|
||||
.super Lx/m/c/k;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m;->g(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;Lkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
value = Lf/a/h/t/c/m;->g(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;Lkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -28,14 +28,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $connection:Lf/a/h/s/c/e;
|
||||
.field public final synthetic $connection:Lf/a/h/t/c/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/e;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/e;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m$b;->$connection:Lf/a/h/s/c/e;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m$b;->$connection:Lf/a/h/t/c/e;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m$b;->$connection:Lf/a/h/s/c/e;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m$b;->$connection:Lf/a/h/t/c/e;
|
||||
|
||||
invoke-interface {p1, v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$b;->onNewConnection(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$c;
|
||||
.class public final Lf/a/h/t/c/m$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m;->e()Lrx/Observable;
|
||||
value = Lf/a/h/t/c/m;->e()Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -31,14 +31,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/a/h/s/c/m;
|
||||
.field public final synthetic d:Lf/a/h/t/c/m;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/m;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/m;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m$c;->d:Lf/a/h/s/c/m;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m$c;->d:Lf/a/h/t/c/m;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -52,15 +52,15 @@
|
|||
|
||||
check-cast p1, Lrx/Emitter;
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m$c;->d:Lf/a/h/s/c/m;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m$c;->d:Lf/a/h/t/c/m;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, v0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/o;
|
||||
new-instance v1, Lf/a/h/t/c/o;
|
||||
|
||||
invoke-direct {v1, p1}, Lf/a/h/s/c/o;-><init>(Lrx/Emitter;)V
|
||||
invoke-direct {v1, p1}, Lf/a/h/t/c/o;-><init>(Lrx/Emitter;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/hammerandchisel/libdiscord/Discord;->getAudioSubsystem(Lcom/hammerandchisel/libdiscord/Discord$GetAudioSubsystemCallback;)V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$d;
|
||||
.class public final Lf/a/h/t/c/m$d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m;->a()Lrx/Observable;
|
||||
value = Lf/a/h/t/c/m;->a()Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -25,21 +25,21 @@
|
|||
"Lrx/functions/Action1<",
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Lf/a/h/s/a;",
|
||||
"Lf/a/h/t/a;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/a/h/s/c/m;
|
||||
.field public final synthetic d:Lf/a/h/t/c/m;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/m;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/m;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m$d;->d:Lf/a/h/s/c/m;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m$d;->d:Lf/a/h/t/c/m;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -53,13 +53,13 @@
|
|||
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m$d;->d:Lf/a/h/s/c/m;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m$d;->d:Lf/a/h/t/c/m;
|
||||
|
||||
const-string v1, "codecs"
|
||||
|
||||
invoke-static {p1, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, v0, Lf/a/h/s/c/m;->e:Ljava/util/List;
|
||||
iput-object p1, v0, Lf/a/h/t/c/m;->e:Ljava/util/List;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$e;
|
||||
.class public final Lf/a/h/t/c/m$e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m;->a()Lrx/Observable;
|
||||
value = Lf/a/h/t/c/m;->a()Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -27,7 +27,7 @@
|
|||
"Lg0/k/b<",
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Lf/a/h/s/a;",
|
||||
"Lf/a/h/t/a;",
|
||||
">;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
|
@ -36,18 +36,18 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Lf/a/h/s/c/m$e;
|
||||
.field public static final d:Lf/a/h/t/c/m$e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/m$e;
|
||||
new-instance v0, Lf/a/h/t/c/m$e;
|
||||
|
||||
invoke-direct {v0}, Lf/a/h/s/c/m$e;-><init>()V
|
||||
invoke-direct {v0}, Lf/a/h/t/c/m$e;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/h/s/c/m$e;->d:Lf/a/h/s/c/m$e;
|
||||
sput-object v0, Lf/a/h/t/c/m$e;->d:Lf/a/h/t/c/m$e;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$f;
|
||||
.class public final Lf/a/h/t/c/m$f;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m;->n(Lkotlin/jvm/functions/Function1;)V
|
||||
value = Lf/a/h/t/c/m;->n(Lkotlin/jvm/functions/Function1;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -25,7 +25,7 @@
|
|||
.method public constructor <init>(Lkotlin/jvm/functions/Function1;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m$f;->a:Lkotlin/jvm/functions/Function1;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m$f;->a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
|||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
iget-object p2, p0, Lf/a/h/s/c/m$f;->a:Lkotlin/jvm/functions/Function1;
|
||||
iget-object p2, p0, Lf/a/h/t/c/m$f;->a:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$LocalVoiceStatus;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m$g;
|
||||
.class public final Lf/a/h/t/c/m$g;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m;->r()V
|
||||
value = Lf/a/h/t/c/m;->r()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -18,14 +18,14 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/a/h/s/c/m;
|
||||
.field public final synthetic a:Lf/a/h/t/c/m;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/m;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/m;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m$g;->a:Lf/a/h/s/c/m;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m$g;->a:Lf/a/h/t/c/m;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -37,9 +37,9 @@
|
|||
.method public final e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m$g;->a:Lf/a/h/s/c/m;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m$g;->a:Lf/a/h/t/c/m;
|
||||
|
||||
iget-object v1, v0, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v1, v0, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
const-string/jumbo v0, "tag"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final synthetic Lf/a/h/s/c/m$h;
|
||||
.class public final synthetic Lf/a/h/t/c/m$h;
|
||||
.super Lx/m/c/i;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/h/s/c/m;->r()V
|
||||
value = Lf/a/h/t/c/m;->r()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -28,18 +28,18 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Lf/a/h/s/c/m$h;
|
||||
.field public static final d:Lf/a/h/t/c/m$h;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/m$h;
|
||||
new-instance v0, Lf/a/h/t/c/m$h;
|
||||
|
||||
invoke-direct {v0}, Lf/a/h/s/c/m$h;-><init>()V
|
||||
invoke-direct {v0}, Lf/a/h/t/c/m$h;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/h/s/c/m$h;->d:Lf/a/h/s/c/m$h;
|
||||
sput-object v0, Lf/a/h/t/c/m$h;->d:Lf/a/h/t/c/m$h;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/m;
|
||||
.class public final Lf/a/h/t/c/m;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
|||
|
||||
.field public b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
.field public final c:Lf/a/h/s/c/u;
|
||||
.field public final c:Lf/a/h/t/c/u;
|
||||
|
||||
.field public final d:Ljava/util/ArrayList;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -39,7 +39,7 @@
|
|||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Lf/a/h/s/a;",
|
||||
"Lf/a/h/t/a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -120,44 +120,44 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m;->f:Landroid/content/Context;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m;->f:Landroid/content/Context;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/m;->g:Ljava/util/concurrent/ExecutorService;
|
||||
iput-object p2, p0, Lf/a/h/t/c/m;->g:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
iput-object p3, p0, Lf/a/h/s/c/m;->h:Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
iput-object p3, p0, Lf/a/h/t/c/m;->h:Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
|
||||
iput-object p4, p0, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iput-object p4, p0, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iput-object p5, p0, Lf/a/h/s/c/m;->j:Ljava/util/HashSet;
|
||||
iput-object p5, p0, Lf/a/h/t/c/m;->j:Ljava/util/HashSet;
|
||||
|
||||
new-instance p1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m;->a:Ljava/util/ArrayList;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m;->a:Ljava/util/ArrayList;
|
||||
|
||||
new-instance p1, Lf/a/h/s/c/u;
|
||||
new-instance p1, Lf/a/h/t/c/u;
|
||||
|
||||
invoke-direct {p1}, Lf/a/h/s/c/u;-><init>()V
|
||||
invoke-direct {p1}, Lf/a/h/t/c/u;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m;->c:Lf/a/h/s/c/u;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m;->c:Lf/a/h/t/c/u;
|
||||
|
||||
new-instance p1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/m;->d:Ljava/util/ArrayList;
|
||||
iput-object p1, p0, Lf/a/h/t/c/m;->d:Ljava/util/ArrayList;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final o(Lf/a/h/s/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.method public static final o(Lf/a/h/t/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
|
||||
.locals 2
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -166,7 +166,7 @@
|
|||
invoke-virtual {v0, v1}, Lcom/hammerandchisel/libdiscord/Discord;->setLocalVoiceLevelChangedCallback(Lcom/hammerandchisel/libdiscord/Discord$LocalVoiceLevelChangedCallback;)V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->a:Ljava/util/ArrayList;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->a:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
||||
:try_end_0
|
||||
|
@ -184,14 +184,14 @@
|
|||
throw p1
|
||||
.end method
|
||||
|
||||
.method public static final p(Lf/a/h/s/c/m;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
.method public static final p(Lf/a/h/t/c/m;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
|
||||
.locals 1
|
||||
|
||||
iget-object p0, p0, Lf/a/h/s/c/m;->g:Ljava/util/concurrent/ExecutorService;
|
||||
iget-object p0, p0, Lf/a/h/t/c/m;->g:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/t;
|
||||
new-instance v0, Lf/a/h/t/c/t;
|
||||
|
||||
invoke-direct {v0, p1}, Lf/a/h/s/c/t;-><init>(Lkotlin/jvm/functions/Function0;)V
|
||||
invoke-direct {v0, p1}, Lf/a/h/t/c/t;-><init>(Lkotlin/jvm/functions/Function0;)V
|
||||
|
||||
invoke-interface {p0, v0}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
||||
|
||||
|
@ -213,7 +213,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->e:Ljava/util/List;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->e:Ljava/util/List;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -240,9 +240,9 @@
|
|||
return-object v1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p0}, Lf/a/h/s/c/m;->r()V
|
||||
invoke-virtual {p0}, Lf/a/h/t/c/m;->r()V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
|
@ -263,9 +263,9 @@
|
|||
return-object v0
|
||||
|
||||
:cond_2
|
||||
new-instance v0, Lf/a/h/s/c/q;
|
||||
new-instance v0, Lf/a/h/t/c/q;
|
||||
|
||||
invoke-direct {v0, p0}, Lf/a/h/s/c/q;-><init>(Lf/a/h/s/c/m;)V
|
||||
invoke-direct {v0, p0}, Lf/a/h/t/c/q;-><init>(Lf/a/h/t/c/m;)V
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->d:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
|
@ -277,15 +277,15 @@
|
|||
|
||||
invoke-static {v0, v1}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/m$d;
|
||||
new-instance v1, Lf/a/h/t/c/m$d;
|
||||
|
||||
invoke-direct {v1, p0}, Lf/a/h/s/c/m$d;-><init>(Lf/a/h/s/c/m;)V
|
||||
invoke-direct {v1, p0}, Lf/a/h/t/c/m$d;-><init>(Lf/a/h/t/c/m;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->s(Lrx/functions/Action1;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Lf/a/h/s/c/m$e;->d:Lf/a/h/s/c/m$e;
|
||||
sget-object v1, Lf/a/h/t/c/m$e;->d:Lf/a/h/t/c/m$e;
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->C(Lg0/k/b;)Lrx/Observable;
|
||||
|
||||
|
@ -320,15 +320,15 @@
|
|||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Lf/a/h/s/c/m;->r()V
|
||||
invoke-virtual {p0}, Lf/a/h/t/c/m;->r()V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/r;
|
||||
new-instance v1, Lf/a/h/t/c/r;
|
||||
|
||||
invoke-direct {v1, p2}, Lf/a/h/s/c/r;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-direct {v1, p2}, Lf/a/h/t/c/r;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Lcom/hammerandchisel/libdiscord/Discord;->getRankedRtcRegions([Lco/discord/media_engine/RtcRegion;Lcom/hammerandchisel/libdiscord/Discord$GetRankedRtcRegionsCallback;)V
|
||||
|
||||
|
@ -339,7 +339,7 @@
|
|||
.method public c(Z)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -352,11 +352,11 @@
|
|||
.method public d(Z)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->c:Lf/a/h/s/c/u;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->c:Lf/a/h/t/c/u;
|
||||
|
||||
iput-boolean p1, v0, Lf/a/h/s/c/u;->a:Z
|
||||
iput-boolean p1, v0, Lf/a/h/t/c/u;->a:Z
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -377,9 +377,9 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/m$c;
|
||||
new-instance v0, Lf/a/h/t/c/m$c;
|
||||
|
||||
invoke-direct {v0, p0}, Lf/a/h/s/c/m$c;-><init>(Lf/a/h/s/c/m;)V
|
||||
invoke-direct {v0, p0}, Lf/a/h/t/c/m$c;-><init>(Lf/a/h/t/c/m;)V
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->h:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
|
@ -397,7 +397,7 @@
|
|||
.method public f(I)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -446,7 +446,7 @@
|
|||
|
||||
invoke-static {v1, v2}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v2, v7, Lf/a/h/s/c/m;->e:Ljava/util/List;
|
||||
iget-object v2, v7, Lf/a/h/t/c/m;->e:Ljava/util/List;
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
|
@ -470,10 +470,10 @@
|
|||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
check-cast v1, Lf/a/h/o;
|
||||
check-cast v1, Lf/a/h/p;
|
||||
|
||||
:try_start_1
|
||||
invoke-virtual {v1, v0}, Lf/a/h/o;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-virtual {v1, v0}, Lf/a/h/p;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
|
@ -483,13 +483,13 @@
|
|||
|
||||
:cond_1
|
||||
:try_start_2
|
||||
iget-object v12, v7, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v12, v7, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v12, :cond_3
|
||||
|
||||
iget-object v1, v7, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v1, v7, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v2, Lf/a/h/s/c/m;->k:Ljava/lang/String;
|
||||
sget-object v2, Lf/a/h/t/c/m;->k:Ljava/lang/String;
|
||||
|
||||
const-string v3, "TAG"
|
||||
|
||||
|
@ -517,7 +517,7 @@
|
|||
|
||||
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/logging/Logger;->i$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
new-instance v9, Lf/a/h/s/c/m$a;
|
||||
new-instance v9, Lf/a/h/t/c/m$a;
|
||||
|
||||
move-object v1, v9
|
||||
|
||||
|
@ -529,17 +529,17 @@
|
|||
|
||||
move-wide/from16 v5, p1
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lf/a/h/s/c/m$a;-><init>(Lf/a/h/s/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;J)V
|
||||
invoke-direct/range {v1 .. v6}, Lf/a/h/t/c/m$a;-><init>(Lf/a/h/t/c/m;Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;J)V
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/e;
|
||||
new-instance v1, Lf/a/h/t/c/e;
|
||||
|
||||
iget-object v2, v7, Lf/a/h/s/c/m;->g:Ljava/util/concurrent/ExecutorService;
|
||||
iget-object v2, v7, Lf/a/h/t/c/m;->g:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
iget-object v10, v7, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v10, v7, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v11, v7, Lf/a/h/s/c/m;->c:Lf/a/h/s/c/u;
|
||||
iget-object v11, v7, Lf/a/h/t/c/m;->c:Lf/a/h/t/c/u;
|
||||
|
||||
iget-object v13, v7, Lf/a/h/s/c/m;->e:Ljava/util/List;
|
||||
iget-object v13, v7, Lf/a/h/t/c/m;->e:Ljava/util/List;
|
||||
|
||||
if-eqz v13, :cond_2
|
||||
|
||||
|
@ -557,7 +557,7 @@
|
|||
|
||||
move-object/from16 v17, p3
|
||||
|
||||
invoke-direct/range {v8 .. v18}, Lf/a/h/s/c/e;-><init>(Ljava/util/concurrent/ExecutorService;Lcom/discord/utilities/logging/Logger;Lf/a/h/s/c/u;Lcom/hammerandchisel/libdiscord/Discord;Ljava/util/List;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Ljava/util/List;)V
|
||||
invoke-direct/range {v8 .. v18}, Lf/a/h/t/c/e;-><init>(Ljava/util/concurrent/ExecutorService;Lcom/discord/utilities/logging/Logger;Lf/a/h/t/c/u;Lcom/hammerandchisel/libdiscord/Discord;Ljava/util/List;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$Type;JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;Ljava/util/List;)V
|
||||
|
||||
move-object v8, v1
|
||||
|
||||
|
@ -577,15 +577,15 @@
|
|||
if-eqz v8, :cond_4
|
||||
|
||||
:try_start_3
|
||||
iget-object v0, v7, Lf/a/h/s/c/m;->a:Ljava/util/ArrayList;
|
||||
iget-object v0, v7, Lf/a/h/t/c/m;->a:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v0, v8}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
new-instance v0, Lf/a/h/s/c/m$b;
|
||||
new-instance v0, Lf/a/h/t/c/m$b;
|
||||
|
||||
invoke-direct {v0, v8}, Lf/a/h/s/c/m$b;-><init>(Lf/a/h/s/c/e;)V
|
||||
invoke-direct {v0, v8}, Lf/a/h/t/c/m$b;-><init>(Lf/a/h/t/c/e;)V
|
||||
|
||||
invoke-virtual {v7, v0}, Lf/a/h/s/c/m;->q(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {v7, v0}, Lf/a/h/t/c/m;->q(Lkotlin/jvm/functions/Function1;)V
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
||||
|
||||
|
@ -618,7 +618,7 @@
|
|||
:try_start_0
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/m;->a:Ljava/util/ArrayList;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m;->a:Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
||||
:try_end_0
|
||||
|
@ -639,7 +639,7 @@
|
|||
.method public h(F)V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -668,7 +668,7 @@
|
|||
.method public i(Z)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -681,7 +681,7 @@
|
|||
.method public j()Lcom/hammerandchisel/libdiscord/Discord;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
@ -703,15 +703,15 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Lf/a/h/s/c/m;->r()V
|
||||
invoke-virtual {p0}, Lf/a/h/t/c/m;->r()V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/s;
|
||||
new-instance v1, Lf/a/h/t/c/s;
|
||||
|
||||
invoke-direct {v1, p1}, Lf/a/h/s/c/s;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-direct {v1, p1}, Lf/a/h/t/c/s;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/hammerandchisel/libdiscord/Discord;->getVideoInputDevices(Lcom/hammerandchisel/libdiscord/Discord$GetVideoInputDevicesCallback;)V
|
||||
|
||||
|
@ -722,7 +722,7 @@
|
|||
.method public l()Ljava/util/concurrent/ExecutorService;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->g:Ljava/util/concurrent/ExecutorService;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->g:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
@ -730,7 +730,7 @@
|
|||
.method public m(Z)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -755,22 +755,22 @@
|
|||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Lf/a/h/s/c/m;->r()V
|
||||
invoke-virtual {p0}, Lf/a/h/t/c/m;->r()V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
new-instance v1, Lf/a/h/s/c/m$f;
|
||||
new-instance v1, Lf/a/h/t/c/m$f;
|
||||
|
||||
invoke-direct {v1, p1}, Lf/a/h/s/c/m$f;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-direct {v1, p1}, Lf/a/h/t/c/m$f;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/hammerandchisel/libdiscord/Discord;->setLocalVoiceLevelChangedCallback(Lcom/hammerandchisel/libdiscord/Discord$LocalVoiceLevelChangedCallback;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object p1, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
|
@ -796,7 +796,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->d:Ljava/util/ArrayList;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->d:Ljava/util/ArrayList;
|
||||
|
||||
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
|
@ -825,9 +825,9 @@
|
|||
:catch_0
|
||||
move-exception v5
|
||||
|
||||
iget-object v2, p0, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v2, p0, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v3, Lf/a/h/s/c/m;->k:Ljava/lang/String;
|
||||
sget-object v3, Lf/a/h/t/c/m;->k:Ljava/lang/String;
|
||||
|
||||
const-string v1, "TAG"
|
||||
|
||||
|
@ -852,16 +852,16 @@
|
|||
.method public final r()V
|
||||
.locals 11
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v0, Lf/a/h/s/c/m;->k:Ljava/lang/String;
|
||||
sget-object v0, Lf/a/h/t/c/m;->k:Ljava/lang/String;
|
||||
|
||||
const-string v8, "TAG"
|
||||
|
||||
|
@ -875,7 +875,7 @@
|
|||
|
||||
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v3, p0, Lf/a/h/s/c/m;->h:Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
iget-object v3, p0, Lf/a/h/t/c/m;->h:Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
|
||||
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
|
@ -893,7 +893,7 @@
|
|||
|
||||
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/logging/Logger;->i$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/m;->h:Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m;->h:Lcom/discord/rtcconnection/mediaengine/MediaEngine$OpenSLESConfig;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
|
@ -924,7 +924,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
iget-object v1, p0, Lf/a/h/s/c/m;->j:Ljava/util/HashSet;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m;->j:Ljava/util/HashSet;
|
||||
|
||||
sget-object v2, Landroid/os/Build;->MODEL:Ljava/lang/String;
|
||||
|
||||
|
@ -932,7 +932,7 @@
|
|||
|
||||
move-result v1
|
||||
|
||||
iget-object v3, p0, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v3, p0, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
invoke-static {v0, v8}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
@ -977,20 +977,20 @@
|
|||
invoke-static {v0}, Lorg/webrtc/voiceengine/WebRtcAudioManager;->setBlacklistDeviceForOpenSLESUsage(Z)V
|
||||
|
||||
:goto_0
|
||||
new-instance v0, Lf/a/h/s/c/m$g;
|
||||
new-instance v0, Lf/a/h/t/c/m$g;
|
||||
|
||||
invoke-direct {v0, p0}, Lf/a/h/s/c/m$g;-><init>(Lf/a/h/s/c/m;)V
|
||||
invoke-direct {v0, p0}, Lf/a/h/t/c/m$g;-><init>(Lf/a/h/t/c/m;)V
|
||||
|
||||
sput-object v0, Lorg/webrtc/Logging;->externalReporter:Lorg/webrtc/Logging$ExternalReporter;
|
||||
|
||||
:try_start_0
|
||||
new-instance v0, Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/m;->f:Landroid/content/Context;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m;->f:Landroid/content/Context;
|
||||
|
||||
invoke-direct {v0, v1, v9}, Lcom/hammerandchisel/libdiscord/Discord;-><init>(Landroid/content/Context;I)V
|
||||
|
||||
iput-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iput-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
:try_end_0
|
||||
.catch Ljava/lang/ExceptionInInitializerError; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/UnsatisfiedLinkError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
@ -1003,9 +1003,9 @@
|
|||
|
||||
move-object v4, v0
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v2, Lf/a/h/s/c/m;->k:Ljava/lang/String;
|
||||
sget-object v2, Lf/a/h/t/c/m;->k:Ljava/lang/String;
|
||||
|
||||
invoke-static {v2, v8}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
@ -1026,9 +1026,9 @@
|
|||
|
||||
move-object v4, v0
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v2, Lf/a/h/s/c/m;->k:Ljava/lang/String;
|
||||
sget-object v2, Lf/a/h/t/c/m;->k:Ljava/lang/String;
|
||||
|
||||
invoke-static {v2, v8}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
@ -1049,9 +1049,9 @@
|
|||
|
||||
move-object v4, v0
|
||||
|
||||
iget-object v1, p0, Lf/a/h/s/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object v1, p0, Lf/a/h/t/c/m;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
sget-object v2, Lf/a/h/s/c/m;->k:Ljava/lang/String;
|
||||
sget-object v2, Lf/a/h/t/c/m;->k:Ljava/lang/String;
|
||||
|
||||
invoke-static {v2, v8}, Lx/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
@ -1066,20 +1066,20 @@
|
|||
invoke-static/range {v1 .. v7}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
|
||||
|
||||
:goto_1
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
invoke-virtual {v0, v10}, Lcom/hammerandchisel/libdiscord/Discord;->enableBuiltInAEC(Z)V
|
||||
|
||||
:cond_4
|
||||
iget-object v0, p0, Lf/a/h/s/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
iget-object v0, p0, Lf/a/h/t/c/m;->b:Lcom/hammerandchisel/libdiscord/Discord;
|
||||
|
||||
if-eqz v0, :cond_5
|
||||
|
||||
sget-object v0, Lf/a/h/s/c/m$h;->d:Lf/a/h/s/c/m$h;
|
||||
sget-object v0, Lf/a/h/t/c/m$h;->d:Lf/a/h/t/c/m$h;
|
||||
|
||||
invoke-virtual {p0, v0}, Lf/a/h/s/c/m;->q(Lkotlin/jvm/functions/Function1;)V
|
||||
invoke-virtual {p0, v0}, Lf/a/h/t/c/m;->q(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
:cond_5
|
||||
return-void
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/n;
|
||||
.class public final Lf/a/h/t/c/n;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Comparisons.kt"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/o;
|
||||
.class public final Lf/a/h/t/c/o;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
.method public constructor <init>(Lrx/Emitter;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/o;->a:Lrx/Emitter;
|
||||
iput-object p1, p0, Lf/a/h/t/c/o;->a:Lrx/Emitter;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
invoke-static {p2, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/o;->a:Lrx/Emitter;
|
||||
iget-object v0, p0, Lf/a/h/t/c/o;->a:Lrx/Emitter;
|
||||
|
||||
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$AudioInfo;
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
|||
|
||||
invoke-interface {v0, v1}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/s/c/o;->a:Lrx/Emitter;
|
||||
iget-object p1, p0, Lf/a/h/t/c/o;->a:Lrx/Emitter;
|
||||
|
||||
invoke-interface {p1}, Lg0/g;->onCompleted()V
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Lf/a/h/s/c/p;
|
||||
.class public final Lf/a/h/t/c/p;
|
||||
.super Ljava/lang/Object;
|
||||
.source "MediaEngineLegacy.kt"
|
||||
|
||||
|
@ -7,18 +7,18 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lf/a/h/s/c/q;
|
||||
.field public final synthetic a:Lf/a/h/t/c/q;
|
||||
|
||||
.field public final synthetic b:Lrx/Emitter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/a/h/s/c/q;Lrx/Emitter;)V
|
||||
.method public constructor <init>(Lf/a/h/t/c/q;Lrx/Emitter;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/a/h/s/c/p;->a:Lf/a/h/s/c/q;
|
||||
iput-object p1, p0, Lf/a/h/t/c/p;->a:Lf/a/h/t/c/q;
|
||||
|
||||
iput-object p2, p0, Lf/a/h/s/c/p;->b:Lrx/Emitter;
|
||||
iput-object p2, p0, Lf/a/h/t/c/p;->b:Lrx/Emitter;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -34,11 +34,11 @@
|
|||
|
||||
invoke-static {p1, v0}, Lx/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lf/a/h/s/c/p;->a:Lf/a/h/s/c/q;
|
||||
iget-object v0, p0, Lf/a/h/t/c/p;->a:Lf/a/h/t/c/q;
|
||||
|
||||
iget-object v0, v0, Lf/a/h/s/c/q;->d:Lf/a/h/s/c/m;
|
||||
iget-object v0, v0, Lf/a/h/t/c/q;->d:Lf/a/h/t/c/m;
|
||||
|
||||
sget-object v1, Lf/a/h/s/c/m;->k:Ljava/lang/String;
|
||||
sget-object v1, Lf/a/h/t/c/m;->k:Ljava/lang/String;
|
||||
|
||||
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
|
@ -84,9 +84,9 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Lf/a/h/s/c/n;
|
||||
new-instance p1, Lf/a/h/t/c/n;
|
||||
|
||||
invoke-direct {p1}, Lf/a/h/s/c/n;-><init>()V
|
||||
invoke-direct {p1}, Lf/a/h/t/c/n;-><init>()V
|
||||
|
||||
invoke-static {v0, p1}, Lx/h/f;->sortedWith(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/util/List;
|
||||
|
||||
|
@ -129,7 +129,7 @@
|
|||
|
||||
add-int/lit8 v7, v2, 0x65
|
||||
|
||||
new-instance v1, Lf/a/h/s/a;
|
||||
new-instance v1, Lf/a/h/t/a;
|
||||
|
||||
add-int/lit8 v2, v7, 0x1
|
||||
|
||||
|
@ -143,7 +143,7 @@
|
|||
|
||||
move v5, v9
|
||||
|
||||
invoke-direct/range {v3 .. v8}, Lf/a/h/s/a;-><init>(Ljava/lang/String;ILjava/lang/String;ILjava/lang/Integer;)V
|
||||
invoke-direct/range {v3 .. v8}, Lf/a/h/t/a;-><init>(Ljava/lang/String;ILjava/lang/String;ILjava/lang/Integer;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
|
@ -159,11 +159,11 @@
|
|||
throw p1
|
||||
|
||||
:cond_2
|
||||
iget-object p1, p0, Lf/a/h/s/c/p;->b:Lrx/Emitter;
|
||||
iget-object p1, p0, Lf/a/h/t/c/p;->b:Lrx/Emitter;
|
||||
|
||||
invoke-interface {p1, v0}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/h/s/c/p;->b:Lrx/Emitter;
|
||||
iget-object p1, p0, Lf/a/h/t/c/p;->b:Lrx/Emitter;
|
||||
|
||||
invoke-interface {p1}, Lg0/g;->onCompleted()V
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue