You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
373 lines
13 KiB
373 lines
13 KiB
.class Lcom/viatech/camera/CreateLiveStreamActivity$13; |
|
.super Ljava/lang/Object; |
|
.source "CreateLiveStreamActivity.java" |
|
|
|
# interfaces |
|
.implements Lcom/facebook/GraphRequest$Callback; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/camera/CreateLiveStreamActivity;->createFBLiveAsync(Ljava/lang/String;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
.field final synthetic val$liveHeight:I |
|
|
|
.field final synthetic val$liveWidth:I |
|
|
|
.field final synthetic val$title:Ljava/lang/String; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/camera/CreateLiveStreamActivity;Ljava/lang/String;II)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 1315 |
|
iput-object p1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
iput-object p2, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->val$title:Ljava/lang/String; |
|
|
|
iput p3, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->val$liveWidth:I |
|
|
|
iput p4, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->val$liveHeight:I |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onCompleted(Lcom/facebook/GraphResponse;)V |
|
.locals 9 |
|
|
|
.prologue |
|
const/4 v6, 0x0 |
|
|
|
.line 1318 |
|
const-string v0, "Vpai_CreateLiveStreamActivity" |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "start GraphResponse " |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {p1}, Lcom/facebook/GraphResponse;->toString()Ljava/lang/String; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 1320 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$900(Lcom/viatech/camera/CreateLiveStreamActivity;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 1321 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1000(Lcom/viatech/camera/CreateLiveStreamActivity;)Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 1322 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1000(Lcom/viatech/camera/CreateLiveStreamActivity;)Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0, v6}, Lcom/viatech/b/a;->a(Ljava/lang/String;Lcom/viatech/b/a$a;)V |
|
|
|
.line 1428 |
|
:cond_0 |
|
:goto_0 |
|
return-void |
|
|
|
.line 1327 |
|
:cond_1 |
|
invoke-virtual {p1}, Lcom/facebook/GraphResponse;->getJSONObject()Lorg/json/JSONObject; |
|
|
|
move-result-object v0 |
|
|
|
.line 1328 |
|
if-nez v0, :cond_2 |
|
|
|
.line 1329 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2500(Lcom/viatech/camera/CreateLiveStreamActivity;)V |
|
|
|
.line 1330 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
const v2, 0x7f0700cb |
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/camera/CreateLiveStreamActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2400(Lcom/viatech/camera/CreateLiveStreamActivity;Ljava/lang/String;)V |
|
|
|
goto :goto_0 |
|
|
|
.line 1334 |
|
:cond_2 |
|
const-string v1, "id" |
|
|
|
invoke-virtual {v0, v1, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
|
|
|
move-result-object v2 |
|
|
|
.line 1335 |
|
const-string v1, "stream_url" |
|
|
|
invoke-virtual {v0, v1, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
.line 1336 |
|
if-eqz v2, :cond_3 |
|
|
|
if-nez v1, :cond_4 |
|
|
|
.line 1337 |
|
:cond_3 |
|
const-string v0, "Vpai_CreateLiveStreamActivity" |
|
|
|
new-instance v3, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v4, "streamId=" |
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v3 |
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v2 |
|
|
|
const-string v3, ", streamUrl=" |
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 1338 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2500(Lcom/viatech/camera/CreateLiveStreamActivity;)V |
|
|
|
.line 1339 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
const v2, 0x7f0700cf |
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/camera/CreateLiveStreamActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2600(Lcom/viatech/camera/CreateLiveStreamActivity;Ljava/lang/String;)V |
|
|
|
goto :goto_0 |
|
|
|
.line 1343 |
|
:cond_4 |
|
new-instance v0, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
new-instance v3, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v4, "streamId: " |
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v3 |
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v3 |
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v3 |
|
|
|
.line 1344 |
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
new-instance v3, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v4, ", streamUrl: " |
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v3 |
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v3 |
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v3 |
|
|
|
.line 1345 |
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
.line 1346 |
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 1347 |
|
const-string v3, "Vpai_CreateLiveStreamActivity" |
|
|
|
new-instance v4, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v5, "GraphRequest onCompleted: " |
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v4 |
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v3, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 1349 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J |
|
|
|
move-result-wide v4 |
|
|
|
invoke-static {v0, v4, v5}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1602(Lcom/viatech/camera/CreateLiveStreamActivity;J)J |
|
|
|
.line 1350 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v0, v2}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1002(Lcom/viatech/camera/CreateLiveStreamActivity;Ljava/lang/String;)Ljava/lang/String; |
|
|
|
.line 1351 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->val$title:Ljava/lang/String; |
|
|
|
invoke-static {v0, v3}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1502(Lcom/viatech/camera/CreateLiveStreamActivity;Ljava/lang/String;)Ljava/lang/String; |
|
|
|
.line 1353 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
const v4, 0x7f0700dc |
|
|
|
invoke-virtual {v3, v4}, Lcom/viatech/camera/CreateLiveStreamActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v3 |
|
|
|
invoke-static {v0, v3}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2600(Lcom/viatech/camera/CreateLiveStreamActivity;Ljava/lang/String;)V |
|
|
|
.line 1356 |
|
sget-object v0, Lcom/viatech/camera/CreateLiveStreamActivity;->sCameraControlView:Lcom/viatech/camera/CameraControlView; |
|
|
|
invoke-virtual {v0, v6, v6}, Lcom/viatech/camera/CameraControlView;->stopLiveStream(Ljava/lang/String;Lcom/viatech/device/DeviceMessage$DeviceMessageCallback;)I |
|
|
|
.line 1359 |
|
sget-object v0, Lcom/viatech/camera/CreateLiveStreamActivity;->sCameraControlView:Lcom/viatech/camera/CameraControlView; |
|
|
|
new-instance v3, Lcom/viatech/camera/CreateLiveStreamActivity$13$1; |
|
|
|
invoke-direct {v3, p0, v1}, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;-><init>(Lcom/viatech/camera/CreateLiveStreamActivity$13;Ljava/lang/String;)V |
|
|
|
invoke-virtual {v0, v3}, Lcom/viatech/camera/CameraControlView;->setOnLiveStreamStatusCallback(Lcom/viatech/camera/CameraControlView$OnLiveStreamStatusCallback;)V |
|
|
|
.line 1383 |
|
sget-object v0, Lcom/viatech/camera/CreateLiveStreamActivity;->sCameraControlView:Lcom/viatech/camera/CameraControlView; |
|
|
|
iget v3, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->val$liveWidth:I |
|
|
|
iget v4, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->val$liveHeight:I |
|
|
|
iget-object v5, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v5}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1500(Lcom/viatech/camera/CreateLiveStreamActivity;)Ljava/lang/String; |
|
|
|
move-result-object v5 |
|
|
|
iget-object v6, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v6}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1600(Lcom/viatech/camera/CreateLiveStreamActivity;)J |
|
|
|
move-result-wide v6 |
|
|
|
new-instance v8, Lcom/viatech/camera/CreateLiveStreamActivity$13$2; |
|
|
|
invoke-direct {v8, p0, v1}, Lcom/viatech/camera/CreateLiveStreamActivity$13$2;-><init>(Lcom/viatech/camera/CreateLiveStreamActivity$13;Ljava/lang/String;)V |
|
|
|
invoke-virtual/range {v0 .. v8}, Lcom/viatech/camera/CameraControlView;->startLiveStream(Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;JLcom/viatech/device/DeviceMessage$DeviceMessageCallback;)I |
|
|
|
goto/16 :goto_0 |
|
.end method
|
|
|