TXPlayView.smali
.class public Lcom/tx/liteav/trtc/TXPlayView;
.super Lcom/taobao/weex/ui/component/WXVContainer;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/taobao/weex/ui/component/WXVContainer<",
"Landroid/widget/FrameLayout;",
">;"
}
.end annotation
# static fields
.field private static final RESULT_CODE_STARTAUDIO:I = 0x2
.field private static final RESULT_CODE_STARTCAMERA:I = 0x1
# instance fields
.field private _appId:Ljava/lang/Integer;
.field private _appKey:Ljava/lang/String;
.field private _beatyStyle:Ljava/lang/Integer;
.field private _beauty:Ljava/lang/Integer;
.field private _bizId:Ljava/lang/Integer;
.field private _cloudMixtures:Ljava/lang/String;
.field private _enableLocalAudio:Ljava/lang/Boolean;
.field private _enableLocalPreview:Ljava/lang/Boolean;
.field private _filterFile:Ljava/lang/String;
.field private _mirror:Ljava/lang/Boolean;
.field private _privateMapKey:Ljava/lang/String;
.field private _remoteSubStreamModel:Ljava/lang/Integer;
.field private _remoteSubStreamUserId:Ljava/lang/String;
.field private _remoteUserId:Ljava/lang/String;
.field private _resMode:Ljava/lang/Integer;
.field private _role:Ljava/lang/Integer;
.field private _roomId:Ljava/lang/Integer;
.field private _ruddiness:Ljava/lang/Integer;
.field private _scene:Ljava/lang/Integer;
.field private _statuschange:Z
.field private _streamId:Ljava/lang/String;
.field private _txAppId:I
.field private _userId:Ljava/lang/String;
.field private _userSig:Ljava/lang/String;
.field private _videoBitrate:Ljava/lang/Integer;
.field private _videoFps:Ljava/lang/Integer;
.field private _videoHeight:I
.field private _videoResolution:Ljava/lang/Integer;
.field private _videoWidth:I
.field private _videoX:I
.field private _videoY:I
.field private _volumeEvaluation:Ljava/lang/Integer;
.field private _whiteness:Ljava/lang/Integer;
.field private mTRTCListener:Lcom/tencent/trtc/TRTCCloudListener;
.field private rootView:Landroid/widget/FrameLayout;
.field public streamView:Lcom/tencent/rtmp/ui/TXCloudVideoView;
# direct methods
.method public constructor <init>(Lcom/taobao/weex/WXSDKInstance;Lcom/taobao/weex/ui/component/WXVContainer;Lcom/taobao/weex/ui/action/BasicComponentData;)V
.registers 4
invoke-direct {p0, p1, p2, p3}, Lcom/taobao/weex/ui/component/WXVContainer;-><init>(Lcom/taobao/weex/WXSDKInstance;Lcom/taobao/weex/ui/component/WXVContainer;Lcom/taobao/weex/ui/action/BasicComponentData;)V
const/4 p1, 0x0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_appId:Ljava/lang/Integer;
const-string p2, ""
iput-object p2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userSig:Ljava/lang/String;
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_roomId:Ljava/lang/Integer;
iput-object p2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userId:Ljava/lang/String;
const/16 p3, 0x14
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
iput-object p3, p0, Lcom/tx/liteav/trtc/TXPlayView;->_role:Ljava/lang/Integer;
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_scene:Ljava/lang/Integer;
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beatyStyle:Ljava/lang/Integer;
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beauty:Ljava/lang/Integer;
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_whiteness:Ljava/lang/Integer;
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_ruddiness:Ljava/lang/Integer;
iput-object p2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_streamId:Ljava/lang/String;
const/16 p3, 0x6c
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
iput-object p3, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoResolution:Ljava/lang/Integer;
const/16 p3, 0x226
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
iput-object p3, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoBitrate:Ljava/lang/Integer;
const/16 p3, 0xf
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
iput-object p3, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoFps:Ljava/lang/Integer;
const/4 p3, 0x1
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
iput-object p3, p0, Lcom/tx/liteav/trtc/TXPlayView;->_resMode:Ljava/lang/Integer;
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteSubStreamModel:Ljava/lang/Integer;
iput-object p2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_privateMapKey:Ljava/lang/String;
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_volumeEvaluation:Ljava/lang/Integer;
return-void
.end method
# virtual methods
.method public addEvent(Ljava/lang/String;)V
.registers 3
invoke-super {p0, p1}, Lcom/taobao/weex/ui/component/WXVContainer;->addEvent(Ljava/lang/String;)V
const-string v0, "statechange"
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_e
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_statuschange:Z
:cond_e
return-void
.end method
.method public enterRoom(Lcom/alibaba/fastjson/JSONObject;Lcom/taobao/weex/bridge/JSCallback;)V
.registers 6
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
new-instance v0, Lcom/alibaba/fastjson/JSONObject;
invoke-direct {v0}, Lcom/alibaba/fastjson/JSONObject;-><init>()V
const-string v1, "appId"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_13
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getInteger(Ljava/lang/String;)Ljava/lang/Integer;
move-result-object v2
iput-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_appId:Ljava/lang/Integer;
:cond_13
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_appId:Ljava/lang/Integer;
invoke-virtual {v0, v1, v2}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "appKey"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_26
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_appKey:Ljava/lang/String;
:cond_26
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_appKey:Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "userId"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_39
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userId:Ljava/lang/String;
:cond_39
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userId:Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "userSig"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_4c
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userSig:Ljava/lang/String;
:cond_4c
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userSig:Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "roomId"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_5f
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getInteger(Ljava/lang/String;)Ljava/lang/Integer;
move-result-object v2
iput-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_roomId:Ljava/lang/Integer;
:cond_5f
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_roomId:Ljava/lang/Integer;
invoke-virtual {v0, v1, v2}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "privateMapKey"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_72
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_privateMapKey:Ljava/lang/String;
:cond_72
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_privateMapKey:Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "role"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_85
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getInteger(Ljava/lang/String;)Ljava/lang/Integer;
move-result-object v2
iput-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_role:Ljava/lang/Integer;
:cond_85
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_role:Ljava/lang/Integer;
invoke-virtual {v0, v1, v2}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "streamId"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_98
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_streamId:Ljava/lang/String;
:cond_98
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_streamId:Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "scene"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_ab
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getInteger(Ljava/lang/String;)Ljava/lang/Integer;
move-result-object v2
iput-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_scene:Ljava/lang/Integer;
:cond_ab
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_scene:Ljava/lang/Integer;
invoke-virtual {v0, v1, v2}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
const-string/jumbo v1, "videoResolution"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_bf
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getInteger(Ljava/lang/String;)Ljava/lang/Integer;
move-result-object v1
iput-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoResolution:Ljava/lang/Integer;
:cond_bf
const-string v1, "videoFps"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_cd
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getInteger(Ljava/lang/String;)Ljava/lang/Integer;
move-result-object v1
iput-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoFps:Ljava/lang/Integer;
:cond_cd
const-string v1, "videoBitrate"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_db
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getInteger(Ljava/lang/String;)Ljava/lang/Integer;
move-result-object v1
iput-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoBitrate:Ljava/lang/Integer;
:cond_db
const-string v1, "resMode"
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_e9
invoke-virtual {p1, v1}, Lcom/alibaba/fastjson/JSONObject;->getInteger(Ljava/lang/String;)Ljava/lang/Integer;
move-result-object p1
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_resMode:Ljava/lang/Integer;
:cond_e9
new-instance p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;
invoke-direct {p1}, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;-><init>()V
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoResolution:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
iput v1, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolution:I
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoFps:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
iput v1, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoFps:I
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoBitrate:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
iput v1, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoBitrate:I
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_resMode:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
iput v1, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolutionMode:I
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v1
invoke-static {v1}, Lcom/tencent/trtc/TRTCCloud;->sharedInstance(Landroid/content/Context;)Lcom/tencent/trtc/TRTCCloud;
move-result-object v1
invoke-virtual {v1, p1}, Lcom/tencent/trtc/TRTCCloud;->setVideoEncoderParam(Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;)V
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
invoke-virtual {p1, v0, p2}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Lcom/alibaba/fastjson/JSONObject;Lcom/taobao/weex/bridge/JSCallback;)V
return-void
.end method
.method public getStreamView()Lcom/tencent/rtmp/ui/TXCloudVideoView;
.registers 4
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->streamView:Lcom/tencent/rtmp/ui/TXCloudVideoView;
invoke-virtual {v0}, Lcom/tencent/rtmp/ui/TXCloudVideoView;->getParent()Landroid/view/ViewParent;
move-result-object v0
if-eqz v0, :cond_15
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->streamView:Lcom/tencent/rtmp/ui/TXCloudVideoView;
invoke-virtual {v0}, Lcom/tencent/rtmp/ui/TXCloudVideoView;->getParent()Landroid/view/ViewParent;
move-result-object v0
check-cast v0, Landroid/view/ViewGroup;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->streamView:Lcom/tencent/rtmp/ui/TXCloudVideoView;
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V
:cond_15
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->streamView:Lcom/tencent/rtmp/ui/TXCloudVideoView;
new-instance v1, Landroid/widget/FrameLayout$LayoutParams;
const/4 v2, -0x1
invoke-direct {v1, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V
invoke-virtual {v0, v1}, Lcom/tencent/rtmp/ui/TXCloudVideoView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->rootView:Landroid/widget/FrameLayout;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->streamView:Lcom/tencent/rtmp/ui/TXCloudVideoView;
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;I)V
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->streamView:Lcom/tencent/rtmp/ui/TXCloudVideoView;
return-object v0
.end method
.method public bridge synthetic initComponentHostView(Landroid/content/Context;)Landroid/view/View;
.registers 2
invoke-virtual {p0, p1}, Lcom/tx/liteav/trtc/TXPlayView;->initComponentHostView(Landroid/content/Context;)Landroid/widget/FrameLayout;
move-result-object p1
return-object p1
.end method
.method public initComponentHostView(Landroid/content/Context;)Landroid/widget/FrameLayout;
.registers 4
new-instance p1, Landroid/widget/FrameLayout;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-direct {p1, v0}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->rootView:Landroid/widget/FrameLayout;
new-instance p1, Lcom/tencent/rtmp/ui/TXCloudVideoView;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-direct {p1, v0}, Lcom/tencent/rtmp/ui/TXCloudVideoView;-><init>(Landroid/content/Context;)V
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->streamView:Lcom/tencent/rtmp/ui/TXCloudVideoView;
new-instance v0, Landroid/widget/FrameLayout$LayoutParams;
const/4 v1, -0x1
invoke-direct {v0, v1, v1}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V
invoke-virtual {p1, v0}, Lcom/tencent/rtmp/ui/TXCloudVideoView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
iget-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->rootView:Landroid/widget/FrameLayout;
return-object p1
.end method
.method public joinRoom()V
.registers 4
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
new-instance v0, Lcom/alibaba/fastjson/JSONObject;
invoke-direct {v0}, Lcom/alibaba/fastjson/JSONObject;-><init>()V
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_appId:Ljava/lang/Integer;
const-string v2, "appId"
invoke-virtual {v0, v2, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_appKey:Ljava/lang/String;
const-string v2, "appKey"
invoke-virtual {v0, v2, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userId:Ljava/lang/String;
const-string v2, "userId"
invoke-virtual {v0, v2, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userSig:Ljava/lang/String;
const-string v2, "userSig"
invoke-virtual {v0, v2, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_roomId:Ljava/lang/Integer;
const-string v2, "roomId"
invoke-virtual {v0, v2, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_privateMapKey:Ljava/lang/String;
const-string v2, "privateMapKey"
invoke-virtual {v0, v2, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_role:Ljava/lang/Integer;
const-string v2, "role"
invoke-virtual {v0, v2, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_streamId:Ljava/lang/String;
const-string v2, "streamId"
invoke-virtual {v0, v2, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_scene:Ljava/lang/Integer;
const-string v2, "scene"
invoke-virtual {v0, v2, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v1
invoke-static {v1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v1
new-instance v2, Lcom/tx/liteav/trtc/TXPlayView$op234qwojf;
invoke-direct {v2, p0}, Lcom/tx/liteav/trtc/TXPlayView$op234qwojf;-><init>(Lcom/tx/liteav/trtc/TXPlayView;)V
invoke-virtual {v1, v0, v2}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Lcom/alibaba/fastjson/JSONObject;Lcom/taobao/weex/bridge/JSCallback;)V
return-void
.end method
.method public leaveRoom()V
.registers 2
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
invoke-virtual {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a()V
.line 1
invoke-static {}, Lcom/tencent/trtc/TRTCCloud;->destroySharedInstance()V
return-void
.end method
.method public onRequestPermissionsResult(I[Ljava/lang/String;[I)V
.registers 6
const/4 p2, 0x2
const/4 v0, 0x0
const/4 v1, 0x1
if-eq p1, v1, :cond_47
if-eq p1, p2, :cond_9
goto/16 :goto_a8
:cond_9
array-length p1, p3
if-lez p1, :cond_11
aget p1, p3, v0
if-nez p1, :cond_11
move v0, v1
:cond_11
if-eqz v0, :cond_23
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p1}, Lcom/tencent/trtc/TRTCCloud;->startLocalAudio()V
.line 2
:cond_23
sput-boolean v1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->f:Z
sget-boolean p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->h:Z
if-eqz p1, :cond_a8
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
const-string p2, "android.permission.CAMERA"
invoke-static {p1, p2}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
move-result p1
if-eqz p1, :cond_a8
sget-boolean p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->g:Z
if-nez p1, :cond_a8
filled-new-array {p2}, [Ljava/lang/String;
move-result-object p1
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p2
check-cast p2, Landroid/app/Activity;
invoke-static {p2, p1, v1}, Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V
goto :goto_a8
:cond_47
sput-boolean v1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->g:Z
array-length p1, p3
if-lez p1, :cond_51
aget p1, p3, v0
if-nez p1, :cond_51
move v0, v1
:cond_51
const-string p1, "android.permission.RECORD_AUDIO"
if-eqz v0, :cond_89
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p3
invoke-static {p3}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p3
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->j:Lcom/tencent/rtmp/ui/TXCloudVideoView;
if-eqz v0, :cond_69
.line 3
invoke-virtual {p3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p3, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p3, v1, v0}, Lcom/tencent/trtc/TRTCCloud;->startLocalPreview(ZLcom/tencent/rtmp/ui/TXCloudVideoView;)V
.line 4
:cond_69
sget-boolean p3, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->i:Z
if-eqz p3, :cond_a8
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p3
invoke-static {p3, p1}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
move-result p3
if-eqz p3, :cond_a8
sget-boolean p3, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->f:Z
if-nez p3, :cond_a8
filled-new-array {p1}, [Ljava/lang/String;
move-result-object p1
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p3
check-cast p3, Landroid/app/Activity;
invoke-static {p3, p1, p2}, Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V
goto :goto_a8
:cond_89
sget-boolean p3, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->i:Z
if-eqz p3, :cond_a8
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p3
invoke-static {p3, p1}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
move-result p3
if-eqz p3, :cond_a8
sget-boolean p3, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->f:Z
if-nez p3, :cond_a8
filled-new-array {p1}, [Ljava/lang/String;
move-result-object p1
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p3
check-cast p3, Landroid/app/Activity;
invoke-static {p3, p1, p2}, Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V
:cond_a8
:goto_a8
return-void
.end method
.method public pauseAudioEffect(I)V
.registers 3
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->pauseAudioEffect(I)V
return-void
.end method
.method public pauseBGM()V
.registers 2
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0}, Lcom/tencent/trtc/TRTCCloud;->pauseBGM()V
return-void
.end method
.method public playAudioEffect(Lcom/alibaba/fastjson/JSONObject;)V
.registers 3
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
invoke-virtual {v0, p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Lcom/alibaba/fastjson/JSONObject;)V
return-void
.end method
.method public playBGM(Ljava/lang/String;)V
.registers 5
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
new-instance v2, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/m;
invoke-direct {v2, v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/m;-><init>(Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;)V
invoke-virtual {v1, p1, v2}, Lcom/tencent/trtc/TRTCCloud;->playBGM(Ljava/lang/String;Lcom/tencent/trtc/TRTCCloud$BGMNotify;)V
return-void
.end method
.method public removeEvent(Ljava/lang/String;)V
.registers 3
invoke-super {p0, p1}, Lcom/taobao/weex/ui/component/WXVContainer;->removeEvent(Ljava/lang/String;)V
const-string v0, "statechange"
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_e
const/4 p1, 0x0
iput-boolean p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_statuschange:Z
:cond_e
return-void
.end method
.method public requestAudio()V
.registers 5
const/4 v0, 0x1
sput-boolean v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->i:Z
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v1
const-string v2, "android.permission.RECORD_AUDIO"
invoke-static {v1, v2}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
move-result v1
if-nez v1, :cond_20
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0}, Lcom/tencent/trtc/TRTCCloud;->startLocalAudio()V
goto :goto_35
.line 2
:cond_20
sget-boolean v1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->e:Z
if-eqz v1, :cond_25
return-void
:cond_25
filled-new-array {v2}, [Ljava/lang/String;
move-result-object v1
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v2
check-cast v2, Landroid/app/Activity;
const/4 v3, 0x2
invoke-static {v2, v1, v3}, Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V
sput-boolean v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->e:Z
:goto_35
return-void
.end method
.method public resumeAudioEffect(I)V
.registers 3
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->resumeAudioEffect(I)V
return-void
.end method
.method public resumeBGM()V
.registers 2
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0}, Lcom/tencent/trtc/TRTCCloud;->resumeBGM()V
return-void
.end method
.method public setAllAudioEffectsVolume(I)V
.registers 3
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->setAllAudioEffectsVolume(I)V
return-void
.end method
.method public setAppId(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "appId"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_appId:Ljava/lang/Integer;
return-void
.end method
.method public setAppKey(Ljava/lang/String;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "appKey"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_appKey:Ljava/lang/String;
return-void
.end method
.method public setAudioEffectVolume(II)V
.registers 4
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, p1, p2}, Lcom/tencent/trtc/TRTCCloud;->setAudioEffectVolume(II)V
return-void
.end method
.method public setBeatyStyle(Ljava/lang/Integer;)V
.registers 6
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "beatyStyle"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beatyStyle:Ljava/lang/Integer;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beatyStyle:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beauty:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_whiteness:Ljava/lang/Integer;
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
move-result v2
iget-object v3, p0, Lcom/tx/liteav/trtc/TXPlayView;->_ruddiness:Ljava/lang/Integer;
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
move-result v3
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p1, v0, v1, v2, v3}, Lcom/tencent/trtc/TRTCCloud;->setBeautyStyle(IIII)V
return-void
.end method
.method public setBeauty(Ljava/lang/Integer;)V
.registers 6
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "beauty"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beauty:Ljava/lang/Integer;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beatyStyle:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beauty:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_whiteness:Ljava/lang/Integer;
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
move-result v2
iget-object v3, p0, Lcom/tx/liteav/trtc/TXPlayView;->_ruddiness:Ljava/lang/Integer;
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
move-result v3
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p1, v0, v1, v2, v3}, Lcom/tencent/trtc/TRTCCloud;->setBeautyStyle(IIII)V
return-void
.end method
.method public setBizId(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "bizId"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_bizId:Ljava/lang/Integer;
return-void
.end method
.method public setCloudMixtures(Ljava/lang/String;)V
.registers 3
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "cloudMixtures"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_cloudMixtures:Ljava/lang/String;
const-string v0, ""
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_d
invoke-virtual {p0}, Lcom/tx/liteav/trtc/TXPlayView;->updateCloudMixtureParams()V
:cond_d
return-void
.end method
.method public setEnableLocalAudio(Ljava/lang/Boolean;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "enableLocalAudio"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_enableLocalAudio:Ljava/lang/Boolean;
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-eqz p1, :cond_c
invoke-virtual {p0}, Lcom/tx/liteav/trtc/TXPlayView;->requestAudio()V
goto :goto_1c
:cond_c
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p1}, Lcom/tencent/trtc/TRTCCloud;->stopLocalAudio()V
:goto_1c
return-void
.end method
.method public setEnableLocalPreview(Ljava/lang/Boolean;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "enableLocalPreview"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_enableLocalPreview:Ljava/lang/Boolean;
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-eqz p1, :cond_c
invoke-virtual {p0}, Lcom/tx/liteav/trtc/TXPlayView;->startLocalPreview()V
goto :goto_f
:cond_c
invoke-virtual {p0}, Lcom/tx/liteav/trtc/TXPlayView;->stopLocalPreview()V
:goto_f
return-void
.end method
.method public setFilterFileName(Ljava/lang/String;)V
.registers 3
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "filterFileName"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_filterFile:Ljava/lang/String;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
move-result-object v0
:try_start_a
invoke-virtual {v0, p1}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;
move-result-object p1
invoke-static {p1}, Landroid/graphics/BitmapFactory;->decodeStream(Ljava/io/InputStream;)Landroid/graphics/Bitmap;
move-result-object p1
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0}, Lcom/tencent/trtc/TRTCCloud;->getBeautyManager()Lcom/tencent/liteav/beauty/TXBeautyManager;
move-result-object v0
invoke-interface {v0, p1}, Lcom/tencent/liteav/beauty/TXBeautyManager;->setFilter(Landroid/graphics/Bitmap;)V
:try_end_26
.catch Ljava/io/IOException; {:try_start_a .. :try_end_26} :catch_27
goto :goto_2b
:catch_27
move-exception p1
.line 2
invoke-virtual {p1}, Ljava/io/IOException;->printStackTrace()V
:goto_2b
return-void
.end method
.method public setMirror(Ljava/lang/Boolean;)V
.registers 3
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "mirror"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_mirror:Ljava/lang/Boolean;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_mirror:Ljava/lang/Boolean;
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
invoke-virtual {p1, v0}, Lcom/tencent/trtc/TRTCCloud;->setVideoEncoderMirror(Z)V
return-void
.end method
.method public setPrivateMapKey(Ljava/lang/String;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "privateMapKey"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_privateMapKey:Ljava/lang/String;
return-void
.end method
.method public setRemoteSubStreamModel(Ljava/lang/Integer;)V
.registers 4
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "remoteSubStreamModel"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteSubStreamModel:Ljava/lang/Integer;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteSubStreamUserId:Ljava/lang/String;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteSubStreamModel:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p1, v0, v1}, Lcom/tencent/trtc/TRTCCloud;->setRemoteSubStreamViewFillMode(Ljava/lang/String;I)V
return-void
.end method
.method public setRemoteSubStreamUserId(Ljava/lang/String;)V
.registers 4
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "remoteSubStreamUserId"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteSubStreamUserId:Ljava/lang/String;
if-eqz p1, :cond_23
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteSubStreamModel:Ljava/lang/Integer;
if-eqz v0, :cond_23
invoke-virtual {p0, p1}, Lcom/tx/liteav/trtc/TXPlayView;->startRemoteSubStreamView(Ljava/lang/String;)V
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteSubStreamUserId:Ljava/lang/String;
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteSubStreamModel:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p1, v0, v1}, Lcom/tencent/trtc/TRTCCloud;->setRemoteSubStreamViewFillMode(Ljava/lang/String;I)V
:cond_23
return-void
.end method
.method public setRemoteUserId(Ljava/lang/String;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "remoteUserId"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteUserId:Ljava/lang/String;
if-eqz p1, :cond_f
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result p1
if-eqz p1, :cond_f
iget-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_remoteUserId:Ljava/lang/String;
invoke-virtual {p0, p1}, Lcom/tx/liteav/trtc/TXPlayView;->startRemoteView(Ljava/lang/String;)V
:cond_f
return-void
.end method
.method public setResMode(Ljava/lang/Integer;)V
.registers 3
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "resMode"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_resMode:Ljava/lang/Integer;
new-instance p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;
invoke-direct {p1}, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;-><init>()V
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoResolution:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolution:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoFps:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoFps:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoBitrate:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoBitrate:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_resMode:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolutionMode:I
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/tencent/trtc/TRTCCloud;->sharedInstance(Landroid/content/Context;)Lcom/tencent/trtc/TRTCCloud;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->setVideoEncoderParam(Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;)V
return-void
.end method
.method public setRole(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "role"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_role:Ljava/lang/Integer;
return-void
.end method
.method public setRoomId(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "roomId"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_roomId:Ljava/lang/Integer;
return-void
.end method
.method public setRuddiness(Ljava/lang/Integer;)V
.registers 6
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "ruddiness"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_ruddiness:Ljava/lang/Integer;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beatyStyle:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beauty:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_whiteness:Ljava/lang/Integer;
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
move-result v2
iget-object v3, p0, Lcom/tx/liteav/trtc/TXPlayView;->_ruddiness:Ljava/lang/Integer;
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
move-result v3
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p1, v0, v1, v2, v3}, Lcom/tencent/trtc/TRTCCloud;->setBeautyStyle(IIII)V
return-void
.end method
.method public setScene(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "scene"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_scene:Ljava/lang/Integer;
return-void
.end method
.method public setStreamId(Ljava/lang/String;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "streamId"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_streamId:Ljava/lang/String;
return-void
.end method
.method public setTXAppId(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "txAppId"
.end annotation
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
iput p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_txAppId:I
return-void
.end method
.method public setUserId(Ljava/lang/String;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "userId"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userId:Ljava/lang/String;
return-void
.end method
.method public setUserSig(Ljava/lang/String;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "userSig"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_userSig:Ljava/lang/String;
return-void
.end method
.method public setVideoBitrate(Ljava/lang/Integer;)V
.registers 3
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "videoBitrate"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoBitrate:Ljava/lang/Integer;
new-instance p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;
invoke-direct {p1}, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;-><init>()V
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoResolution:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolution:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoFps:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoFps:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoBitrate:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoBitrate:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_resMode:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolutionMode:I
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/tencent/trtc/TRTCCloud;->sharedInstance(Landroid/content/Context;)Lcom/tencent/trtc/TRTCCloud;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->setVideoEncoderParam(Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;)V
return-void
.end method
.method public setVideoFps(Ljava/lang/Integer;)V
.registers 3
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "videoFps"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoFps:Ljava/lang/Integer;
new-instance p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;
invoke-direct {p1}, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;-><init>()V
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoResolution:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolution:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoFps:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoFps:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoBitrate:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoBitrate:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_resMode:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolutionMode:I
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/tencent/trtc/TRTCCloud;->sharedInstance(Landroid/content/Context;)Lcom/tencent/trtc/TRTCCloud;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->setVideoEncoderParam(Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;)V
return-void
.end method
.method public setVideoHeight(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "videoHeight"
.end annotation
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
iput p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoHeight:I
return-void
.end method
.method public setVideoResolution(Ljava/lang/Integer;)V
.registers 3
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "videoResolution"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoResolution:Ljava/lang/Integer;
new-instance p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;
invoke-direct {p1}, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;-><init>()V
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoResolution:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolution:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoFps:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoFps:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoBitrate:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoBitrate:I
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_resMode:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, p1, Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;->videoResolutionMode:I
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/tencent/trtc/TRTCCloud;->sharedInstance(Landroid/content/Context;)Lcom/tencent/trtc/TRTCCloud;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->setVideoEncoderParam(Lcom/tencent/trtc/TRTCCloudDef$TRTCVideoEncParam;)V
return-void
.end method
.method public setVideoWidth(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "videoWidth"
.end annotation
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
iput p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoWidth:I
return-void
.end method
.method public setVideoX(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "videoX"
.end annotation
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
iput p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoX:I
return-void
.end method
.method public setVideoY(Ljava/lang/Integer;)V
.registers 2
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "videoY"
.end annotation
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
iput p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_videoY:I
return-void
.end method
.method public setVolumeEvaluation(Ljava/lang/Integer;)V
.registers 3
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "volumeEvaluation"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_volumeEvaluation:Ljava/lang/Integer;
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
if-lez p1, :cond_1e
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_volumeEvaluation:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p1, v0}, Lcom/tencent/trtc/TRTCCloud;->enableAudioVolumeEvaluation(I)V
:cond_1e
return-void
.end method
.method public setWhiteness(Ljava/lang/Integer;)V
.registers 6
.annotation runtime Lcom/taobao/weex/ui/component/WXComponentProp;
name = "whiteness"
.end annotation
iput-object p1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_whiteness:Ljava/lang/Integer;
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object p1
iget-object v0, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beatyStyle:Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iget-object v1, p0, Lcom/tx/liteav/trtc/TXPlayView;->_beauty:Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
iget-object v2, p0, Lcom/tx/liteav/trtc/TXPlayView;->_whiteness:Ljava/lang/Integer;
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
move-result v2
iget-object v3, p0, Lcom/tx/liteav/trtc/TXPlayView;->_ruddiness:Ljava/lang/Integer;
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
move-result v3
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object p1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {p1, v0, v1, v2, v3}, Lcom/tencent/trtc/TRTCCloud;->setBeautyStyle(IIII)V
return-void
.end method
.method public startFrontCamera()V
.registers 4
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
const-string v1, "android.permission.CAMERA"
invoke-static {v0, v1}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
if-nez v0, :cond_21
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {p0}, Lcom/tx/liteav/trtc/TXPlayView;->getStreamView()Lcom/tencent/rtmp/ui/TXCloudVideoView;
move-result-object v2
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, v1, v2}, Lcom/tencent/trtc/TRTCCloud;->startLocalPreview(ZLcom/tencent/rtmp/ui/TXCloudVideoView;)V
:cond_21
return-void
.end method
.method public startLocalPreview()V
.registers 4
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
const/4 v0, 0x1
sput-boolean v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->h:Z
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v1
const-string v2, "android.permission.CAMERA"
invoke-static {v1, v2}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
move-result v1
if-nez v1, :cond_24
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v1
invoke-static {v1}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v1
invoke-virtual {p0}, Lcom/tx/liteav/trtc/TXPlayView;->getStreamView()Lcom/tencent/rtmp/ui/TXCloudVideoView;
move-result-object v2
.line 1
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v1, v0, v2}, Lcom/tencent/trtc/TRTCCloud;->startLocalPreview(ZLcom/tencent/rtmp/ui/TXCloudVideoView;)V
goto :goto_3e
.line 2
:cond_24
invoke-virtual {p0}, Lcom/tx/liteav/trtc/TXPlayView;->getStreamView()Lcom/tencent/rtmp/ui/TXCloudVideoView;
move-result-object v1
sput-object v1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->j:Lcom/tencent/rtmp/ui/TXCloudVideoView;
sget-boolean v1, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->e:Z
if-eqz v1, :cond_2f
return-void
:cond_2f
filled-new-array {v2}, [Ljava/lang/String;
move-result-object v1
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v2
check-cast v2, Landroid/app/Activity;
invoke-static {v2, v1, v0}, Landroidx/core/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V
sput-boolean v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->e:Z
:goto_3e
return-void
.end method
.method public startRemoteSubStreamView(Ljava/lang/String;)V
.registers 4
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
invoke-virtual {p0}, Lcom/tx/liteav/trtc/TXPlayView;->getStreamView()Lcom/tencent/rtmp/ui/TXCloudVideoView;
move-result-object v1
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, p1, v1}, Lcom/tencent/trtc/TRTCCloud;->startRemoteSubStreamView(Ljava/lang/String;Lcom/tencent/rtmp/ui/TXCloudVideoView;)V
return-void
.end method
.method public startRemoteView(Ljava/lang/String;)V
.registers 4
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
invoke-virtual {p0}, Lcom/tx/liteav/trtc/TXPlayView;->getStreamView()Lcom/tencent/rtmp/ui/TXCloudVideoView;
move-result-object v1
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, p1, v1}, Lcom/tencent/trtc/TRTCCloud;->startRemoteView(Ljava/lang/String;Lcom/tencent/rtmp/ui/TXCloudVideoView;)V
return-void
.end method
.method public stopAllAudioEffects()V
.registers 2
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0}, Lcom/tencent/trtc/TRTCCloud;->stopAllAudioEffects()V
return-void
.end method
.method public stopAudioEffect(I)V
.registers 3
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->stopAudioEffect(I)V
return-void
.end method
.method public stopBGM()V
.registers 2
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0}, Lcom/tencent/trtc/TRTCCloud;->stopBGM()V
return-void
.end method
.method public stopLocalPreview()V
.registers 2
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0}, Lcom/tencent/trtc/TRTCCloud;->stopLocalPreview()V
return-void
.end method
.method public stopRemoteSubStreamView(Ljava/lang/String;)V
.registers 3
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->stopRemoteSubStreamView(Ljava/lang/String;)V
return-void
.end method
.method public stopRemoteView(Ljava/lang/String;)V
.registers 3
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, p1}, Lcom/tencent/trtc/TRTCCloud;->stopRemoteView(Ljava/lang/String;)V
return-void
.end method
.method public switchCamera()V
.registers 2
.annotation runtime Lcom/taobao/weex/annotation/JSMethod;
uiThread = true
.end annotation
invoke-virtual {p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0}, Lcom/tencent/trtc/TRTCCloud;->switchCamera()V
return-void
.end method
.method public updateCloudMixtureParams()V
.registers 23
move-object/from16 v1, p0
const-string v0, "h"
const-string/jumbo v2, "w"
const-string/jumbo v3, "y"
const-string/jumbo v4, "x"
const-string v5, "userId"
iget-object v6, v1, Lcom/tx/liteav/trtc/TXPlayView;->_videoResolution:Ljava/lang/Integer;
invoke-virtual {v6}, Ljava/lang/Integer;->intValue()I
move-result v6
const/16 v9, 0x280
const/16 v10, 0x190
const/16 v11, 0x60
const/16 v12, 0x36
const/16 v13, 0xc8
const/16 v14, 0xb4
const/16 v15, 0x500
const/16 v16, 0x2d0
const/16 v17, 0x1e0
const/4 v7, 0x3
const/16 v19, 0x140
const/16 v20, 0xa0
const/16 v21, 0x32
if-eq v6, v7, :cond_8c
const/4 v8, 0x7
if-eq v6, v8, :cond_83
const/16 v8, 0x38
if-eq v6, v8, :cond_7a
const/16 v8, 0x3e
if-eq v6, v8, :cond_71
const/16 v8, 0x68
if-eq v6, v8, :cond_66
const/16 v8, 0x6c
if-eq v6, v8, :cond_61
const/16 v8, 0x6e
if-eq v6, v8, :cond_56
const/16 v8, 0x70
if-eq v6, v8, :cond_4d
move v6, v13
goto :goto_4f
:cond_4d
const/16 v6, 0x5dc
:goto_4f
move v8, v14
move v9, v15
move/from16 v10, v16
move/from16 v11, v19
goto :goto_96
:cond_56
const/16 v16, 0x220
const/16 v9, 0x3c0
const/16 v8, 0xab
const/16 v11, 0x130
const/16 v6, 0x3e8
goto :goto_6e
:cond_61
const/16 v16, 0x170
move/from16 v10, v16
goto :goto_73
:cond_66
const/16 v16, 0xc0
const/16 v9, 0x150
const/16 v21, 0x1e
move v6, v10
move v8, v12
:goto_6e
move/from16 v10, v16
goto :goto_96
:cond_71
move/from16 v10, v17
:goto_73
move/from16 v11, v20
const/16 v6, 0x320
const/16 v8, 0x5a
goto :goto_96
:cond_7a
const/16 v16, 0xf0
move v6, v10
move v8, v12
move/from16 v10, v16
move/from16 v9, v19
goto :goto_96
:cond_83
const/16 v8, 0x48
const/16 v11, 0x80
const/16 v6, 0x258
move/from16 v9, v17
goto :goto_95
:cond_8c
const/16 v8, 0x1b
const/16 v11, 0x30
const/16 v21, 0x14
move v6, v13
move/from16 v9, v20
:goto_95
move v10, v9
:goto_96
new-instance v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;
invoke-direct {v12}, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;-><init>()V
iget v13, v1, Lcom/tx/liteav/trtc/TXPlayView;->_txAppId:I
iput v13, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->appId:I
iget-object v13, v1, Lcom/tx/liteav/trtc/TXPlayView;->_bizId:Ljava/lang/Integer;
invoke-virtual {v13}, Ljava/lang/Integer;->intValue()I
move-result v13
iput v13, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->bizId:I
iput v10, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->videoWidth:I
iput v9, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->videoHeight:I
const/4 v13, 0x1
iput v13, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->videoGOP:I
const/16 v14, 0xf
iput v14, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->videoFramerate:I
iput v6, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->videoBitrate:I
const v6, 0xbb80
iput v6, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->audioSampleRate:I
const/16 v6, 0x40
iput v6, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->audioBitrate:I
iput v13, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->audioChannels:I
iget v6, v1, Lcom/tx/liteav/trtc/TXPlayView;->_videoWidth:I
if-lez v6, :cond_c4
move v10, v6
:cond_c4
iget v6, v1, Lcom/tx/liteav/trtc/TXPlayView;->_videoHeight:I
if-lez v6, :cond_c9
move v9, v6
:cond_c9
iget v6, v1, Lcom/tx/liteav/trtc/TXPlayView;->_videoX:I
const/4 v13, 0x0
if-lez v6, :cond_cf
goto :goto_d0
:cond_cf
move v6, v13
:goto_d0
iget v14, v1, Lcom/tx/liteav/trtc/TXPlayView;->_videoY:I
if-lez v14, :cond_d5
goto :goto_d6
:cond_d5
move v14, v13
:goto_d6
new-instance v15, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;
invoke-direct {v15}, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;-><init>()V
iget-object v7, v1, Lcom/tx/liteav/trtc/TXPlayView;->_userId:Ljava/lang/String;
iput-object v7, v15, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->userId:Ljava/lang/String;
iput v13, v15, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->zOrder:I
iput v6, v15, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->x:I
iput v14, v15, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->y:I
iput v10, v15, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->width:I
iput v9, v15, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->height:I
new-instance v6, Ljava/util/ArrayList;
invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V
iput-object v6, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->mixUsers:Ljava/util/ArrayList;
invoke-virtual {v6, v15}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:try_start_f3
new-instance v6, Lorg/json/JSONArray;
iget-object v7, v1, Lcom/tx/liteav/trtc/TXPlayView;->_cloudMixtures:Ljava/lang/String;
invoke-direct {v6, v7}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V
move v7, v13
:goto_fb
invoke-virtual {v6}, Lorg/json/JSONArray;->length()I
move-result v14
if-ge v7, v14, :cond_190
new-instance v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;
invoke-direct {v14}, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;-><init>()V
invoke-virtual {v6, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;
move-result-object v15
iget-object v13, v1, Lcom/tx/liteav/trtc/TXPlayView;->_roomId:Ljava/lang/Integer;
invoke-virtual {v13}, Ljava/lang/Integer;->toString()Ljava/lang/String;
move-result-object v13
iput-object v13, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->roomId:Ljava/lang/String;
invoke-virtual {v15, v5}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
move-result v13
if-eqz v13, :cond_11e
invoke-virtual {v15, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v13
iput-object v13, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->userId:Ljava/lang/String;
:cond_11e
const/4 v13, 0x0
iput v13, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->streamType:I
add-int/lit8 v13, v7, 0x1
iput v13, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->zOrder:I
const/4 v1, 0x5
move-object/from16 v18, v5
const/4 v5, 0x3
if-ge v7, v5, :cond_16c
add-int/lit8 v1, v10, -0x5
sub-int/2addr v1, v8
sub-int v16, v9, v21
mul-int/2addr v7, v11
sub-int v16, v16, v7
sub-int v16, v16, v11
invoke-virtual {v15, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
move-result v7
if-eqz v7, :cond_13f
invoke-virtual {v15, v4}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I
move-result v1
:cond_13f
invoke-virtual {v15, v3}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
move-result v7
if-eqz v7, :cond_149
invoke-virtual {v15, v3}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I
move-result v16
:cond_149
move/from16 v7, v16
invoke-virtual {v15, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
move-result v16
if-eqz v16, :cond_158
invoke-virtual {v15, v2}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I
move-result v16
move/from16 v5, v16
goto :goto_159
:cond_158
move v5, v8
:goto_159
invoke-virtual {v15, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
move-result v19
if-eqz v19, :cond_164
invoke-virtual {v15, v0}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I
move-result v15
goto :goto_165
:cond_164
move v15, v11
:goto_165
iput v1, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->x:I
iput v7, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->y:I
iput v5, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->width:I
goto :goto_17d
:cond_16c
const/4 v5, 0x6
if-ge v7, v5, :cond_17f
sub-int v5, v9, v21
add-int/lit8 v7, v7, -0x3
mul-int/2addr v7, v11
sub-int/2addr v5, v7
sub-int/2addr v5, v11
iput v1, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->x:I
iput v5, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->y:I
iput v8, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->width:I
move v15, v11
:goto_17d
iput v15, v14, Lcom/tencent/trtc/TRTCCloudDef$TRTCMixUser;->height:I
:cond_17f
iget-object v1, v12, Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;->mixUsers:Ljava/util/ArrayList;
invoke-virtual {v1, v14}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:try_end_184
.catch Ljava/lang/Exception; {:try_start_f3 .. :try_end_184} :catch_18c
move-object/from16 v1, p0
move v7, v13
move-object/from16 v5, v18
const/4 v13, 0x0
goto/16 :goto_fb
:catch_18c
move-exception v0
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
:cond_190
invoke-virtual/range {p0 .. p0}, Lcom/taobao/weex/ui/component/WXVContainer;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->a(Landroid/content/Context;)Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;
move-result-object v0
.line 1
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lop234qwojf/op234qwojf/op234qwojf/op234qwojf/j;->d:Lcom/tencent/trtc/TRTCCloud;
invoke-virtual {v0, v12}, Lcom/tencent/trtc/TRTCCloud;->setMixTranscodingConfig(Lcom/tencent/trtc/TRTCCloudDef$TRTCTranscodingConfig;)V
return-void
.end method