public final class com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform extends com.sun.media.jfxmediaimpl.platform.Platform
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform
super_class: com.sun.media.jfxmediaimpl.platform.Platform
{
private static final java.lang.String[] CONTENT_TYPES;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] PROTOCOLS;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform globalInstance;
descriptor: Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 9
anewarray java.lang.String
dup
iconst_0
1: ldc "audio/x-aiff"
aastore
dup
iconst_1
2: ldc "audio/mp3"
aastore
dup
iconst_2
3: ldc "audio/mpeg"
aastore
dup
iconst_3
4: ldc "audio/x-wav"
aastore
dup
iconst_4
5: ldc "video/mp4"
aastore
dup
iconst_5
6: ldc "audio/x-m4a"
aastore
dup
bipush 6
7: ldc "video/x-m4v"
aastore
dup
bipush 7
8: ldc "application/vnd.apple.mpegurl"
aastore
dup
bipush 8
9: ldc "audio/mpegurl"
aastore
10: putstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.CONTENT_TYPES:[Ljava/lang/String;
11: iconst_3
anewarray java.lang.String
dup
iconst_0
12: ldc "file"
aastore
dup
iconst_1
13: ldc "http"
aastore
dup
iconst_2
14: ldc "https"
aastore
15: putstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.PROTOCOLS:[Ljava/lang/String;
16: aconst_null
putstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.globalInstance:Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
return
LocalVariableTable:
Start End Slot Name Signature
public boolean loadPlatform();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.gstInitPlatform:()I
invokestatic com.sun.media.jfxmedia.MediaError.getFromCode:(I)Lcom/sun/media/jfxmedia/MediaError;
astore 1
start local 1 1: goto 4
end local 1 StackMap locals:
StackMap stack: java.lang.UnsatisfiedLinkError
2: pop
3: getstatic com.sun.media.jfxmedia.MediaError.ERROR_MANAGER_ENGINEINIT_FAIL:Lcom/sun/media/jfxmedia/MediaError;
astore 1
start local 1 4: StackMap locals: com.sun.media.jfxmedia.MediaError
StackMap stack:
aload 1
getstatic com.sun.media.jfxmedia.MediaError.ERROR_NONE:Lcom/sun/media/jfxmedia/MediaError;
if_acmpeq 6
5: ldc Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
aload 1
invokestatic com.sun.media.jfxmediaimpl.MediaUtils.nativeError:(Ljava/lang/Object;Lcom/sun/media/jfxmedia/MediaError;)V
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
1 2 1 ret Lcom/sun/media/jfxmedia/MediaError;
4 7 1 ret Lcom/sun/media/jfxmedia/MediaError;
Exception table:
from to target type
0 1 2 Class java.lang.UnsatisfiedLinkError
public static synchronized com.sun.media.jfxmediaimpl.platform.Platform getPlatformInstance();
descriptor: ()Lcom/sun/media/jfxmediaimpl/platform/Platform;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.globalInstance:Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
ifnonnull 2
1: new com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform
dup
invokespecial com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.<init>:()V
putstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.globalInstance:Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
2: StackMap locals:
StackMap stack:
getstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.globalInstance:Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.media.jfxmediaimpl.platform.Platform.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
public java.lang.String[] getSupportedContentTypes();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.CONTENT_TYPES:[Ljava/lang/String;
getstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.CONTENT_TYPES:[Ljava/lang/String;
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
public java.lang.String[] getSupportedProtocols();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.PROTOCOLS:[Ljava/lang/String;
getstatic com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform.PROTOCOLS:[Ljava/lang/String;
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
public com.sun.media.jfxmedia.Media createMedia(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/Media;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMedia
dup
aload 1
invokespecial com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMedia.<init>:(Lcom/sun/media/jfxmedia/locator/Locator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
0 1 1 source Lcom/sun/media/jfxmedia/locator/Locator;
MethodParameters:
Name Flags
source
public com.sun.media.jfxmedia.MediaPlayer createMediaPlayer(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/MediaPlayer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: new com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer
dup
aload 1
invokespecial com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer.<init>:(Lcom/sun/media/jfxmedia/locator/Locator;)V
astore 2
start local 2 1: goto 6
end local 2 StackMap locals:
StackMap stack: java.lang.Exception
2: astore 3
start local 3 3: iconst_1
invokestatic com.sun.media.jfxmedia.logging.Logger.canLog:(I)Z
ifeq 5
4: iconst_1
new java.lang.StringBuilder
dup
ldc "GSTPlatform caught exception while creating media player: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
5: StackMap locals: com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform com.sun.media.jfxmedia.locator.Locator top java.lang.Exception
StackMap stack:
aconst_null
areturn
end local 3 start local 2 6: StackMap locals: com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform com.sun.media.jfxmedia.locator.Locator com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer
StackMap stack:
invokestatic com.sun.media.jfxmediaimpl.HostUtils.isMacOSX:()Z
ifeq 33
7: aload 1
invokevirtual com.sun.media.jfxmedia.locator.Locator.getContentType:()Ljava/lang/String;
astore 3
start local 3 8: ldc "video/mp4"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
ldc "video/x-m4v"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
9: aload 1
invokevirtual com.sun.media.jfxmedia.locator.Locator.getStringLocation:()Ljava/lang/String;
ldc ".m3u8"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 33
10: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual com.sun.media.jfxmedia.locator.Locator.getURI:()Ljava/net/URI;
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
astore 4
start local 4 11: aload 4
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
aload 4
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
12: StackMap locals: java.lang.String
StackMap stack:
ldc 60000
goto 14
StackMap locals:
StackMap stack:
13: ldc 5000
14: StackMap locals:
StackMap stack: long
lstore 5
start local 5 15: lconst_0
lstore 7
start local 7 16: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 9
start local 9 17: aload 2
invokevirtual com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer.getState:()Lcom/sun/media/jfxmedia/events/PlayerStateEvent$PlayerState;
astore 10
start local 10 18: goto 28
19: StackMap locals: com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform com.sun.media.jfxmedia.locator.Locator com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer java.lang.String java.lang.String long long java.lang.Object com.sun.media.jfxmedia.events.PlayerStateEvent$PlayerState
StackMap stack:
aload 9
dup
astore 11
monitorenter
20: aload 9
ldc 50
invokevirtual java.lang.Object.wait:(J)V
21: lload 7
ldc 50
ladd
lstore 7
22: aload 11
monitorexit
23: goto 27
StackMap locals: com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform com.sun.media.jfxmedia.locator.Locator com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer java.lang.String java.lang.String long long java.lang.Object com.sun.media.jfxmedia.events.PlayerStateEvent$PlayerState java.lang.Object
StackMap stack: java.lang.Throwable
24: aload 11
monitorexit
25: athrow
26: StackMap locals: com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform com.sun.media.jfxmedia.locator.Locator com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer java.lang.String java.lang.String long long java.lang.Object com.sun.media.jfxmedia.events.PlayerStateEvent$PlayerState
StackMap stack: java.lang.InterruptedException
pop
27: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer.getState:()Lcom/sun/media/jfxmedia/events/PlayerStateEvent$PlayerState;
astore 10
28: StackMap locals:
StackMap stack:
lload 7
lload 5
lcmp
ifge 30
29: aload 10
getstatic com.sun.media.jfxmedia.events.PlayerStateEvent$PlayerState.UNKNOWN:Lcom/sun/media/jfxmedia/events/PlayerStateEvent$PlayerState;
if_acmpeq 19
aload 10
getstatic com.sun.media.jfxmedia.events.PlayerStateEvent$PlayerState.STALLED:Lcom/sun/media/jfxmedia/events/PlayerStateEvent$PlayerState;
if_acmpeq 19
30: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer.getState:()Lcom/sun/media/jfxmedia/events/PlayerStateEvent$PlayerState;
getstatic com.sun.media.jfxmedia.events.PlayerStateEvent$PlayerState.READY:Lcom/sun/media/jfxmedia/events/PlayerStateEvent$PlayerState;
if_acmpeq 33
31: aload 2
invokevirtual com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer.dispose:()V
32: aconst_null
astore 2
end local 10 end local 9 end local 7 end local 5 end local 4 end local 3 33: StackMap locals: com.sun.media.jfxmediaimpl.platform.gstreamer.GSTPlatform com.sun.media.jfxmedia.locator.Locator com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTPlatform;
0 34 1 source Lcom/sun/media/jfxmedia/locator/Locator;
1 2 2 player Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTMediaPlayer;
6 34 2 player Lcom/sun/media/jfxmediaimpl/platform/gstreamer/GSTMediaPlayer;
3 6 3 e Ljava/lang/Exception;
8 33 3 contentType Ljava/lang/String;
11 33 4 scheme Ljava/lang/String;
15 33 5 timeout J
16 33 7 timeWaited J
17 33 9 lock Ljava/lang/Object;
18 33 10 state Lcom/sun/media/jfxmedia/events/PlayerStateEvent$PlayerState;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
20 23 24 any
24 25 24 any
19 26 26 Class java.lang.InterruptedException
MethodParameters:
Name Flags
source
private static native int gstInitPlatform();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
}
SourceFile: "GSTPlatform.java"
InnerClasses:
public final PlayerState = com.sun.media.jfxmedia.events.PlayerStateEvent$PlayerState of com.sun.media.jfxmedia.events.PlayerStateEvent