RTCUtils.smali
.class public Lorg/webrtc/RTCUtils;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static INVOKEVIRTUAL_org_webrtc_RTCUtils_com_shopee_app_asm_fix_printstack_PrintStackTraceShieldFix_printStackTrace(Ljava/lang/IllegalAccessException;)V
.registers 1
return-void
.end method
.method public static INVOKEVIRTUAL_org_webrtc_RTCUtils_com_shopee_app_asm_fix_printstack_PrintStackTraceShieldFix_printStackTrace(Ljava/lang/NoSuchFieldException;)V
.registers 1
return-void
.end method
.method public static createMediaStreamTrack(J)Lorg/webrtc/MediaStreamTrack;
.registers 2
invoke-static {p0, p1}, Lorg/webrtc/MediaStreamTrack;->createMediaStreamTrack(J)Lorg/webrtc/MediaStreamTrack;
move-result-object p0
return-object p0
.end method
.method public static genRtpEncodingParameters(Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Double;Ljava/lang/Long;)Lorg/webrtc/RtpParameters$Encoding;
.registers 21
new-instance v12, Lorg/webrtc/RtpParameters$Encoding;
const-wide/high16 v3, 0x3ff0000000000000L # 1.0
const/4 v5, 0x1
move-object v0, v12
move-object v1, p0
move v2, p1
move-object v6, p2
move-object/from16 v7, p3
move-object/from16 v8, p4
move-object/from16 v9, p5
move-object/from16 v10, p6
move-object/from16 v11, p7
invoke-direct/range {v0 .. v11}, Lorg/webrtc/RtpParameters$Encoding;-><init>(Ljava/lang/String;ZDILjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Double;Ljava/lang/Long;)V
return-object v12
.end method
.method public static getNativeMediaStreamTrack(Lorg/webrtc/MediaStreamTrack;)J
.registers 3
if-eqz p0, :cond_7
invoke-virtual {p0}, Lorg/webrtc/MediaStreamTrack;->getNativeMediaStreamTrack()J
move-result-wide v0
goto :goto_9
:cond_7
const-wide/16 v0, 0x0
:goto_9
return-wide v0
.end method
.method public static getNativeRtpReceiver(Lorg/webrtc/RtpReceiver;)J
.registers 3
.line 1
:try_start_0
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
const-string v1, "nativeRtpReceiver"
.line 2
invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
move-result-object v0
const/4 v1, 0x1
.line 3
invoke-virtual {v0, v1}, Ljava/lang/reflect/AccessibleObject;->setAccessible(Z)V
.line 4
invoke-virtual {v0, p0}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/Long;
invoke-virtual {p0}, Ljava/lang/Long;->longValue()J
move-result-wide v0
:try_end_18
.catch Ljava/lang/NoSuchFieldException; {:try_start_0 .. :try_end_18} :catch_1e
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_18} :catch_19
goto :goto_24
:catch_19
move-exception p0
.line 5
invoke-static {p0}, Lorg/webrtc/RTCUtils;->INVOKEVIRTUAL_org_webrtc_RTCUtils_com_shopee_app_asm_fix_printstack_PrintStackTraceShieldFix_printStackTrace(Ljava/lang/IllegalAccessException;)V
goto :goto_22
:catch_1e
move-exception p0
.line 6
invoke-static {p0}, Lorg/webrtc/RTCUtils;->INVOKEVIRTUAL_org_webrtc_RTCUtils_com_shopee_app_asm_fix_printstack_PrintStackTraceShieldFix_printStackTrace(Ljava/lang/NoSuchFieldException;)V
:goto_22
const-wide/16 v0, 0x0
:goto_24
return-wide v0
.end method
.method public static getNativeRtpSender(Lorg/webrtc/RtpSender;)J
.registers 3
if-eqz p0, :cond_7
invoke-virtual {p0}, Lorg/webrtc/RtpSender;->getNativeRtpSender()J
move-result-wide v0
goto :goto_9
:cond_7
const-wide/16 v0, 0x0
:goto_9
return-wide v0
.end method