575 lines
17 KiB
Smali
575 lines
17 KiB
Smali
.class public final Lcom/discord/views/video/AppVideoStreamRenderer;
|
|
.super Landroid/widget/RelativeLayout;
|
|
.source "AppVideoStreamRenderer.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public d:Z
|
|
|
|
.field public final e:Lrx/subjects/BehaviorSubject;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/subjects/BehaviorSubject<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public f:Lrx/Subscription;
|
|
|
|
.field public g:Ljava/lang/Integer;
|
|
|
|
.field public h:Lco/discord/media_engine/VideoStreamRenderer;
|
|
|
|
.field public i:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
.field public j:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
.field public k:Lkotlin/jvm/functions/Function1;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/graphics/Point;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 6
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x6
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/discord/views/video/AppVideoStreamRenderer;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 6
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/discord/views/video/AppVideoStreamRenderer;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
invoke-static {p1}, Lrx/subjects/BehaviorSubject;->a(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->e:Lrx/subjects/BehaviorSubject;
|
|
|
|
sget-object p1, Lorg/webrtc/RendererCommon$ScalingType;->SCALE_ASPECT_BALANCED:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
iput-object p1, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->i:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
iput-object p1, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->j:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
const/4 p3, 0x0
|
|
|
|
:cond_1
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/discord/views/video/AppVideoStreamRenderer;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()V
|
|
.locals 6
|
|
.annotation build Landroidx/annotation/UiThread;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->h:Lco/discord/media_engine/VideoStreamRenderer;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v1, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->f:Lrx/Subscription;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-interface {v1}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
:cond_0
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getMediaEngine()Lcom/discord/stores/StoreMediaEngine;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreMediaEngine;->getVoiceEngineNative()Lcom/hammerandchisel/libdiscord/Discord;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
invoke-static/range {v0 .. v5}, Lco/discord/media_engine/VideoStreamRenderer;->attachToStream$default(Lco/discord/media_engine/VideoStreamRenderer;Lcom/hammerandchisel/libdiscord/Discord;Ljava/lang/String;Lorg/webrtc/RendererCommon$RendererEvents;ILjava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->h:Lco/discord/media_engine/VideoStreamRenderer;
|
|
|
|
invoke-virtual {p0, v0}, Landroid/widget/RelativeLayout;->removeView(Landroid/view/View;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->h:Lco/discord/media_engine/VideoStreamRenderer;
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/Integer;Lorg/webrtc/RendererCommon$ScalingType;Lorg/webrtc/RendererCommon$ScalingType;Z)V
|
|
.locals 19
|
|
.annotation build Landroidx/annotation/UiThread;
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
move-object/from16 v3, p3
|
|
|
|
if-eqz v1, :cond_a
|
|
|
|
iget-object v4, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->g:Ljava/lang/Integer;
|
|
|
|
invoke-static {v1, v4}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, 0x1
|
|
|
|
xor-int/2addr v4, v5
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/discord/views/video/AppVideoStreamRenderer;->a()V
|
|
|
|
:cond_0
|
|
const/4 v6, 0x0
|
|
|
|
iget-object v7, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->h:Lco/discord/media_engine/VideoStreamRenderer;
|
|
|
|
if-eqz v7, :cond_1
|
|
|
|
const/4 v5, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
new-instance v7, Lco/discord/media_engine/VideoStreamRenderer;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/RelativeLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v6
|
|
|
|
const-string v8, "context"
|
|
|
|
invoke-static {v6, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {v7, v6}, Lco/discord/media_engine/VideoStreamRenderer;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v7, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->h:Lco/discord/media_engine/VideoStreamRenderer;
|
|
|
|
:goto_0
|
|
if-eqz v4, :cond_5
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v4
|
|
|
|
sget-object v6, Le/a/j/i0/d;->a:Ljava/util/HashMap;
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v6, v8}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
move-object v8, v6
|
|
|
|
check-cast v8, Lco/discord/media_engine/VideoStreamRenderer;
|
|
|
|
if-eqz v8, :cond_3
|
|
|
|
if-ne v8, v7, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
sget-object v6, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v6}, Lcom/discord/stores/StoreStream$Companion;->getMediaEngine()Lcom/discord/stores/StoreMediaEngine;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v6}, Lcom/discord/stores/StoreMediaEngine;->getVoiceEngineNative()Lcom/hammerandchisel/libdiscord/Discord;
|
|
|
|
move-result-object v9
|
|
|
|
const/4 v10, 0x0
|
|
|
|
const/4 v11, 0x0
|
|
|
|
const/4 v12, 0x4
|
|
|
|
const/4 v13, 0x0
|
|
|
|
invoke-static/range {v8 .. v13}, Lco/discord/media_engine/VideoStreamRenderer;->attachToStream$default(Lco/discord/media_engine/VideoStreamRenderer;Lcom/hammerandchisel/libdiscord/Discord;Ljava/lang/String;Lorg/webrtc/RendererCommon$RendererEvents;ILjava/lang/Object;)V
|
|
|
|
sget-object v6, Le/a/j/i0/d;->a:Ljava/util/HashMap;
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v6, v8}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_3
|
|
:goto_1
|
|
sget-object v6, Le/a/j/i0/d;->a:Ljava/util/HashMap;
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-interface {v6, v8, v7}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
new-instance v6, Le/a/j/i0/e;
|
|
|
|
invoke-direct {v6}, Le/a/j/i0/e;-><init>()V
|
|
|
|
iget-object v8, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->f:Lrx/Subscription;
|
|
|
|
if-eqz v8, :cond_4
|
|
|
|
invoke-interface {v8}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
:cond_4
|
|
iget-object v8, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->e:Lrx/subjects/BehaviorSubject;
|
|
|
|
new-instance v9, Le/a/j/i0/a;
|
|
|
|
invoke-direct {v9, v6}, Le/a/j/i0/a;-><init>(Le/a/j/i0/e;)V
|
|
|
|
invoke-virtual {v8, v9}, Lrx/Observable;->d(Le0/l/i;)Lrx/Observable;
|
|
|
|
move-result-object v8
|
|
|
|
const-string v9, "onSizeChangedSubject\n \u2026rameResolutionSampled() }"
|
|
|
|
invoke-static {v8, v9}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {v8}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui(Lrx/Observable;)Lrx/Observable;
|
|
|
|
move-result-object v8
|
|
|
|
sget-object v9, Lcom/discord/utilities/rx/ObservableExtensionsKt$filterNull$1;->INSTANCE:Lcom/discord/utilities/rx/ObservableExtensionsKt$filterNull$1;
|
|
|
|
invoke-virtual {v8, v9}, Lrx/Observable;->c(Le0/l/i;)Lrx/Observable;
|
|
|
|
move-result-object v8
|
|
|
|
sget-object v9, Lcom/discord/utilities/rx/ObservableExtensionsKt$filterNull$2;->INSTANCE:Lcom/discord/utilities/rx/ObservableExtensionsKt$filterNull$2;
|
|
|
|
invoke-virtual {v8, v9}, Lrx/Observable;->f(Le0/l/i;)Lrx/Observable;
|
|
|
|
move-result-object v10
|
|
|
|
const-string v8, "filter { it != null }.map { it!! }"
|
|
|
|
invoke-static {v10, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v11, 0x0
|
|
|
|
new-instance v14, Le/a/j/i0/b;
|
|
|
|
invoke-direct {v14, v0}, Le/a/j/i0/b;-><init>(Lcom/discord/views/video/AppVideoStreamRenderer;)V
|
|
|
|
const-class v8, Lcom/discord/views/video/AppVideoStreamRenderer;
|
|
|
|
invoke-virtual {v8}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v12
|
|
|
|
const-string v8, "javaClass.simpleName"
|
|
|
|
invoke-static {v12, v8}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v13, Le/a/j/i0/c;
|
|
|
|
invoke-direct {v13, v0}, Le/a/j/i0/c;-><init>(Lcom/discord/views/video/AppVideoStreamRenderer;)V
|
|
|
|
const/4 v15, 0x0
|
|
|
|
const/16 v16, 0x0
|
|
|
|
const/16 v17, 0x31
|
|
|
|
const/16 v18, 0x0
|
|
|
|
invoke-static/range {v10 .. v18}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
|
|
|
|
new-instance v8, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v9, "binding native renderer to stream id: "
|
|
|
|
invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
const-string v9, "AppVideoStreamRenderer"
|
|
|
|
invoke-static {v9, v8}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
sget-object v8, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v8}, Lcom/discord/stores/StoreStream$Companion;->getMediaEngine()Lcom/discord/stores/StoreMediaEngine;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v8}, Lcom/discord/stores/StoreMediaEngine;->getVoiceEngineNative()Lcom/hammerandchisel/libdiscord/Discord;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v7, v8, v4, v6}, Lco/discord/media_engine/VideoStreamRenderer;->attachToStream(Lcom/hammerandchisel/libdiscord/Discord;Ljava/lang/String;Lorg/webrtc/RendererCommon$RendererEvents;)V
|
|
|
|
iput-object v1, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->g:Ljava/lang/Integer;
|
|
|
|
:cond_5
|
|
if-eqz v5, :cond_6
|
|
|
|
new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
const/4 v4, -0x2
|
|
|
|
invoke-direct {v1, v4, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
const/16 v4, 0xd
|
|
|
|
const/4 v5, -0x1
|
|
|
|
invoke-virtual {v1, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V
|
|
|
|
invoke-virtual {v7, v1}, Landroid/view/SurfaceView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
invoke-virtual {v0, v7}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V
|
|
|
|
:cond_6
|
|
invoke-virtual {v7, v2, v3}, Lorg/webrtc/SurfaceViewRenderer;->setScalingType(Lorg/webrtc/RendererCommon$ScalingType;Lorg/webrtc/RendererCommon$ScalingType;)V
|
|
|
|
move/from16 v1, p4
|
|
|
|
invoke-virtual {v7, v1}, Lorg/webrtc/SurfaceViewRenderer;->setMirror(Z)V
|
|
|
|
iget-boolean v1, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->d:Z
|
|
|
|
invoke-virtual {v7, v1}, Landroid/view/SurfaceView;->setZOrderMediaOverlay(Z)V
|
|
|
|
iget-object v1, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->i:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
iget-object v4, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->j:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
move-object v5, v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
sget-object v5, Lorg/webrtc/RendererCommon$ScalingType;->SCALE_ASPECT_BALANCED:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
:goto_2
|
|
iput-object v5, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->i:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
if-eqz v3, :cond_8
|
|
|
|
move-object v5, v3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
sget-object v5, Lorg/webrtc/RendererCommon$ScalingType;->SCALE_ASPECT_BALANCED:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
:goto_3
|
|
iput-object v5, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->j:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
if-ne v2, v1, :cond_9
|
|
|
|
if-eq v4, v3, :cond_b
|
|
|
|
:cond_9
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/RelativeLayout;->requestLayout()V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_a
|
|
invoke-virtual/range {p0 .. p0}, Lcom/discord/views/video/AppVideoStreamRenderer;->a()V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, v0, Lcom/discord/views/video/AppVideoStreamRenderer;->g:Ljava/lang/Integer;
|
|
|
|
:cond_b
|
|
:goto_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public final getOnFrameRenderedListener()Lkotlin/jvm/functions/Function1;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Landroid/graphics/Point;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->k:Lkotlin/jvm/functions/Function1;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public onDetachedFromWindow()V
|
|
.locals 1
|
|
|
|
invoke-super {p0}, Landroid/widget/RelativeLayout;->onDetachedFromWindow()V
|
|
|
|
invoke-virtual {p0}, Lcom/discord/views/video/AppVideoStreamRenderer;->a()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->g:Ljava/lang/Integer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSizeChanged(IIII)V
|
|
.locals 0
|
|
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/RelativeLayout;->onSizeChanged(IIII)V
|
|
|
|
iget-object p1, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->e:Lrx/subjects/BehaviorSubject;
|
|
|
|
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
invoke-virtual {p1, p2}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setIsOverlay(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->d:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setMatchVideoOrientation(Z)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setOnFrameRenderedListener(Lkotlin/jvm/functions/Function1;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Landroid/graphics/Point;",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/discord/views/video/AppVideoStreamRenderer;->k:Lkotlin/jvm/functions/Function1;
|
|
|
|
return-void
|
|
.end method
|