wms-stream-publish

16:54:35.073 INFO  jd.cli.Main - Decompiling wms-stream-publish.jar
package com.wowza.wms.stream.publish;

public abstract interface IPublishingProvider
{
  public abstract boolean play(Publisher paramPublisher);
  
  public abstract void close();
  
  public abstract boolean seek(long paramLong, int paramInt);
  
  public abstract boolean seek(long paramLong);
  
  public abstract void setDuration(long paramLong);
  
  public abstract void setRealTimeStartTime(long paramLong);
  
  public abstract void setSendOnMetadata(boolean paramBoolean);
  
  public abstract boolean isSendOnMetadata();
}

/* Location:
 * Qualified Name:     com.wowza.wms.stream.publish.IPublishingProvider
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.stream.publish;

public abstract interface IStreamActionNotify
{
  public abstract void onPlaylistItemStart(Stream paramStream, PlaylistItem paramPlaylistItem);
  
  public abstract void onPlaylistItemStop(Stream paramStream, PlaylistItem paramPlaylistItem);
}

/* Location:
 * Qualified Name:     com.wowza.wms.stream.publish.IStreamActionNotify
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.stream.publish;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class Playlist
{
  private String a;
  private boolean b;
  private List<PlaylistItem> c = new ArrayList();
  
  public Playlist(String paramString)
  {
    a = paramString;
    b = false;
  }
  
  public List<PlaylistItem> getItems()
  {
    ArrayList localArrayList = new ArrayList();
    localArrayList.addAll(c);
    return localArrayList;
  }
  
  public boolean getRepeat()
  {
    return b;
  }
  
  public void setRepeat(boolean paramBoolean)
  {
    b = paramBoolean;
  }
  
  public void addItem(String paramString, int paramInt1, int paramInt2)
  {
    int i = c.size();
    c.add(new PlaylistItem(paramString, paramInt1, paramInt2, i));
  }
  
  private final void a()
  {
    Iterator localIterator = c.iterator();
    int i = 0;
    break label34;
    return;
    label34:
    for (;; !localIterator.hasNext())
    {
      i++;
      PlaylistItem localPlaylistItem = (PlaylistItem)localIterator.next();
      localPlaylistItem.setIndex(i);
    }
  }
  
  public void removeItem(int paramInt)
  {
    if (paramInt >= c.size()) {}
    for (;;)
    {
      return;c.remove(paramInt);a();
    }
  }
  
  /* Error */
  public boolean open(Stream arg1)
  {
    // Byte code:
    //   0: aload_1
    //   1: aload_0
    //   2: getfield 26	com/wowza/wms/stream/publish/Playlist:b	Z
    //   5: invokevirtual 83	com/wowza/wms/stream/publish/Stream:setRepeat	(Z)V
    //   8: iconst_0
    //   9: istore_2
    //   10: goto +63 -> 73
    //   13: iconst_0
    //   14: goto +75 -> 89
    //   17: iinc 2 1
    //   20: goto +53 -> 73
    //   23: iconst_0
    //   24: ireturn
    //   25: iconst_1
    //   26: ireturn
    //   27: aload_0
    //   28: getfield 22	com/wowza/wms/stream/publish/Playlist:c	Ljava/util/List;
    //   31: iload_2
    //   32: invokeinterface 86 2 0
    //   37: checkcast 46	com/wowza/wms/stream/publish/PlaylistItem
    //   40: astore_3
    //   41: aload_3
    //   42: invokevirtual 90	com/wowza/wms/stream/publish/PlaylistItem:getName	()Ljava/lang/String;
    //   45: astore 4
    //   47: aload_3
    //   48: invokevirtual 93	com/wowza/wms/stream/publish/PlaylistItem:getStart	()I
    //   51: istore 5
    //   53: aload_3
    //   54: invokevirtual 96	com/wowza/wms/stream/publish/PlaylistItem:getLength	()I
    //   57: istore 6
    //   59: aload_1
    //   60: aload 4
    //   62: iload 5
    //   64: iload 6
    //   66: iload_2
    //   67: ifne -54 -> 13
    //   70: goto +28 -> 98
    //   73: iload_2
    //   74: aload_0
    //   75: getfield 22	com/wowza/wms/stream/publish/Playlist:c	Ljava/util/List;
    //   78: invokeinterface 44 1 0
    //   83: if_icmpge -58 -> 25
    //   86: goto -59 -> 27
    //   89: invokevirtual 100	com/wowza/wms/stream/publish/Stream:play	(Ljava/lang/String;IIZ)Z
    //   92: ifne -75 -> 17
    //   95: goto -72 -> 23
    //   98: iconst_1
    //   99: goto -10 -> 89
    // Line number table:
    //   Java source line #98	-> byte code offset #0
    //   Java source line #100	-> byte code offset #8
    //   Java source line #111	-> byte code offset #13
    //   Java source line #100	-> byte code offset #17
    //   Java source line #112	-> byte code offset #23
    //   Java source line #115	-> byte code offset #25
    //   Java source line #103	-> byte code offset #27
    //   Java source line #105	-> byte code offset #41
    //   Java source line #107	-> byte code offset #47
    //   Java source line #109	-> byte code offset #53
    //   Java source line #111	-> byte code offset #59
    //   Java source line #100	-> byte code offset #73
    //   Java source line #111	-> byte code offset #89
  }
  
  public String getName()
  {
    return a;
  }
}

/* Location:
 * Qualified Name:     com.wowza.wms.stream.publish.Playlist
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.stream.publish;

import com.wowza.util.Base64;
import com.wowza.util.JSON;

public class PlaylistItem
{
  private String a;
  private int b;
  private int c;
  private int d = 0;
  
  public PlaylistItem(String paramString, int paramInt1, int paramInt2, int paramInt3)
  {
    a = paramString;
    b = paramInt1;
    c = paramInt2;
    d = paramInt3;
  }
  
  public String getName()
  {
    return a;
  }
  
  public int getStart()
  {
    return b;
  }
  
  public int getLength()
  {
    return c;
  }
  
  public int getIndex()
  {
    return d;
  }
  
  public void setIndex(int paramInt)
  {
    d = paramInt;
  }
  
  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    
    localStringBuffer.append(Base64.endsWith(107 + 58, "~VkipfbyG{u|(3"));
    localStringBuffer.append(JSON.copyValueOf("jjac2)", 119 / 34) + d + ",");
    localStringBuffer.append(Base64.endsWith(29 * 47, "=583mx{") + a + JSON.copyValueOf("69", 42 + 106));
    localStringBuffer.append(JSON.copyValueOf("00$43ri", -27 - 34) + b + ",");
    localStringBuffer.append(JSON.copyValueOf("rznfvk>%", 77 + -47) + c + "");
    localStringBuffer.append("}");
    
    return localStringBuffer.toString();
  }
}

/* Location:
 * Qualified Name:     com.wowza.wms.stream.publish.PlaylistItem
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.stream.publish;

import com.wowza.util.Base64;
import com.wowza.util.JSON;
import com.wowza.wms.application.Application;
import com.wowza.wms.application.IApplicationInstance;
import com.wowza.wms.logging.WMSLogger;
import com.wowza.wms.logging.WMSLoggerFactory;
import com.wowza.wms.stream.IMediaStream;
import com.wowza.wms.stream.IMediaStreamTimecodeControl;
import com.wowza.wms.stream.MediaStream;
import com.wowza.wms.stream.MediaStreamMap;
import com.wowza.wms.vhost.IVHost;
import edu.emory.mathcs.backport.java.util.concurrent.locks.WMSLock;
import edu.emory.mathcs.backport.java.util.concurrent.locks.WMSReadWriteLock;

public class Publisher
{
  private String a = MediaStream.BASE_STREAM_EXT;
  private IMediaStream b = null;
  private String c = Base64.endsWith('?' / '�', "jn~l");
  private IApplicationInstance d = null;
  private Object e = new Object();
  private long f = 0L;
  private long g = -1L;
  private long h = -1L;
  private long i = -1L;
  private boolean j = true;
  private int k = 0;
  private int l = 18;
  private long m = 0L;
  private byte[] n = null;
  
  public static Publisher createInstance(IVHost paramIVHost, String paramString)
  {
    return createInstance(paramIVHost, paramString, Base64.endsWith(20 + 124, "Ouwu}{ecG"));
  }
  
  /* Error */
  public static Publisher createInstance(IVHost paramIVHost, String paramString1, String paramString2)
  {
    // Byte code:
    //   0: aconst_null
    //   1: astore_3
    //   2: aconst_null
    //   3: astore 4
    //   5: aconst_null
    //   6: astore 5
    //   8: aload_0
    //   9: invokeinterface 48 1 0
    //   14: astore 6
    //   16: aload 6
    //   18: invokeinterface 54 1 0
    //   23: invokeinterface 60 1 0
    //   28: goto +28 -> 56
    //   31: astore 7
    //   33: ldc 62
    //   35: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   38: bipush 35
    //   40: bipush 51
    //   42: imul
    //   43: ldc 70
    //   45: invokestatic 37	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   48: aload 7
    //   50: invokevirtual 76	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
    //   53: goto +148 -> 201
    //   56: aload_0
    //   57: aload_1
    //   58: invokeinterface 80 2 0
    //   63: astore 4
    //   65: aload 4
    //   67: ifnull +14 -> 81
    //   70: goto +88 -> 158
    //   73: aload 5
    //   75: ifnull +111 -> 186
    //   78: goto +55 -> 133
    //   81: ldc 82
    //   83: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   86: new 84	java/lang/StringBuilder
    //   89: dup
    //   90: invokespecial 87	java/lang/StringBuilder:<init>	()V
    //   93: ldc 89
    //   95: bipush 28
    //   97: bipush -23
    //   99: swap
    //   100: iadd
    //   101: invokestatic 95	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   104: invokevirtual 99	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   107: aload_1
    //   108: invokevirtual 99	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   111: bipush 48
    //   113: bipush -16
    //   115: isub
    //   116: ldc 101
    //   118: invokestatic 37	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   121: invokevirtual 99	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   124: invokevirtual 105	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   127: invokevirtual 109	com/wowza/wms/logging/WMSLogger:warn	(Ljava/lang/String;)V
    //   130: goto -57 -> 73
    //   133: new 2	com/wowza/wms/stream/publish/Publisher
    //   136: dup
    //   137: invokespecial 110	com/wowza/wms/stream/publish/Publisher:<init>	()V
    //   140: astore_3
    //   141: aload_3
    //   142: aload 5
    //   144: putfield 112	com/wowza/wms/stream/publish/Publisher:d	Lcom/wowza/wms/application/IApplicationInstance;
    //   147: aload 5
    //   149: aload_3
    //   150: invokeinterface 118 2 0
    //   155: goto +31 -> 186
    //   158: aload 4
    //   160: aload_2
    //   161: invokeinterface 124 2 0
    //   166: astore 5
    //   168: goto -95 -> 73
    //   171: aload 6
    //   173: invokeinterface 54 1 0
    //   178: invokeinterface 127 1 0
    //   183: aload 8
    //   185: athrow
    //   186: aload 6
    //   188: invokeinterface 54 1 0
    //   193: invokeinterface 127 1 0
    //   198: goto +15 -> 213
    //   201: aload 6
    //   203: invokeinterface 54 1 0
    //   208: invokeinterface 127 1 0
    //   213: aload_3
    //   214: areturn
    //   215: astore 8
    //   217: goto -46 -> 171
    // Line number table:
    //   Java source line #206	-> byte code offset #0
    //   Java source line #208	-> byte code offset #2
    //   Java source line #209	-> byte code offset #5
    //   Java source line #211	-> byte code offset #8
    //   Java source line #212	-> byte code offset #16
    //   Java source line #229	-> byte code offset #31
    //   Java source line #231	-> byte code offset #33
    //   Java source line #215	-> byte code offset #56
    //   Java source line #216	-> byte code offset #65
    //   Java source line #222	-> byte code offset #73
    //   Java source line #219	-> byte code offset #81
    //   Java source line #224	-> byte code offset #133
    //   Java source line #225	-> byte code offset #141
    //   Java source line #226	-> byte code offset #147
    //   Java source line #217	-> byte code offset #158
    //   Java source line #235	-> byte code offset #171
    //   Java source line #236	-> byte code offset #198
    //   Java source line #235	-> byte code offset #201
    //   Java source line #238	-> byte code offset #213
    //   Java source line #235	-> byte code offset #215
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	220	0	paramIVHost	IVHost
    //   0	220	1	paramString1	String
    //   0	220	2	paramString2	String
    //   1	213	3	localPublisher	Publisher
    //   3	156	4	localIApplication	com.wowza.wms.application.IApplication
    //   6	161	5	localIApplicationInstance	IApplicationInstance
    //   14	188	6	localWMSReadWriteLock	WMSReadWriteLock
    //   31	18	7	localException	Exception
    //   183	1	8	localObject1	Object
    //   215	1	8	localObject2	Object
    // Exception table:
    //   from	to	target	type
    //   56	171	31	java/lang/Exception
    //   31	56	215	finally
    //   56	171	215	finally
    //   215	220	215	finally
  }
  
  public static Publisher createInstance(IApplicationInstance paramIApplicationInstance)
  {
    Publisher localPublisher = null;
    
    WMSReadWriteLock localWMSReadWriteLock = paramIApplicationInstance.getVHost().getApplicationLock();
    localWMSReadWriteLock.writeLock().lock();
    Object localObject1;
    for (;; ) {
      return localPublisher;
    }
  }
  
  /* Error */
  public IMediaStream getStream()
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 154	com/wowza/wms/stream/publish/Publisher:e	Ljava/lang/Object;
    //   4: dup
    //   5: astore_1
    //   6: goto +5 -> 11
    //   9: aload_2
    //   10: athrow
    //   11: monitorenter
    //   12: goto +10 -> 22
    //   15: astore_2
    //   16: aload_1
    //   17: monitorexit
    //   18: goto -9 -> 9
    //   21: areturn
    //   22: aload_0
    //   23: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   26: aload_1
    //   27: monitorexit
    //   28: goto -7 -> 21
    // Line number table:
    //   Java source line #281	-> byte code offset #0
    //   Java source line #284	-> byte code offset #9
    //   Java source line #281	-> byte code offset #11
    //   Java source line #284	-> byte code offset #15
    //   Java source line #283	-> byte code offset #21
    // Exception table:
    //   from	to	target	type
    //   15	21	15	finally
    //   22	31	15	finally
  }
  
  public String getStreamType()
  {
    return c;
  }
  
  public void setStreamType(String paramString)
  {
    c = paramString;
  }
  
  public void publish(String paramString)
  {
    publish(paramString, JSON.copyValueOf("75+;", 21 * 47));
  }
  
  public String getFileExtension()
  {
    return a;
  }
  
  public void setFileExtension(String paramString)
  {
    a = paramString;
  }
  
  public IApplicationInstance getAppInstance()
  {
    return d;
  }
  
  private final void a()
  {
    if (!(b instanceof IMediaStreamTimecodeControl)) {}
    for (;;)
    {
      return;WMSLoggerFactory.getLogger(Publisher.class).debug(Base64.endsWith(59 * 11, "Yi`d}guc<aqfscKmh~}pJvmdal``u=("));((IMediaStreamTimecodeControl)b).resetTimecodes();
    }
  }
  
  public void unpublish()
  {
    publish(null, null);
  }
  
  public void createStream()
  {
    MediaStreamMap localMediaStreamMap = d.getStreams();
    if (b != null) {}
    for (;;)
    {
      return;int i1 = localMediaStreamMap.getNextStreamIndex();b = localMediaStreamMap.getStreamClientless(i1, c);b.setMergeOnMetadata(false);b.setPublisherStream(true);WMSLoggerFactory.getLogger(null).info(null, b, JSON.copyValueOf("y|jq|", 68 + 104), "create", 200, null);
    }
  }
  
  /* Error */
  public void publish(String arg1, String arg2)
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 154	com/wowza/wms/stream/publish/Publisher:e	Ljava/lang/Object;
    //   4: dup
    //   5: astore_3
    //   6: goto +4 -> 10
    //   9: return
    //   10: monitorenter
    //   11: goto +16 -> 27
    //   14: aload 13
    //   16: athrow
    //   17: astore 13
    //   19: aload_3
    //   20: monitorexit
    //   21: goto -7 -> 14
    //   24: goto -15 -> 9
    //   27: aload_0
    //   28: invokevirtual 232	com/wowza/wms/stream/publish/Publisher:getAppInstance	()Lcom/wowza/wms/application/IApplicationInstance;
    //   31: astore 4
    //   33: aload 4
    //   35: ifnonnull +152 -> 187
    //   38: goto +394 -> 432
    //   41: iconst_1
    //   42: goto +39 -> 81
    //   45: aload 5
    //   47: aload_1
    //   48: invokevirtual 235	com/wowza/wms/stream/MediaStreamMap:getStream	(Ljava/lang/String;)Lcom/wowza/wms/stream/IMediaStream;
    //   51: astore 12
    //   53: aload 12
    //   55: ifnull +515 -> 570
    //   58: goto +41 -> 99
    //   61: aload_2
    //   62: ldc -19
    //   64: bipush 17
    //   66: bipush 21
    //   68: imul
    //   69: invokestatic 95	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   72: invokevirtual 241	java/lang/String:compareToIgnoreCase	(Ljava/lang/String;)I
    //   75: ifne +91 -> 166
    //   78: goto +143 -> 221
    //   81: istore 8
    //   83: aload_1
    //   84: ldc -13
    //   86: invokevirtual 246	java/lang/String:indexOf	(Ljava/lang/String;)I
    //   89: istore 9
    //   91: iload 8
    //   93: ifne +134 -> 227
    //   96: goto +117 -> 213
    //   99: ldc 2
    //   101: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   104: new 84	java/lang/StringBuilder
    //   107: dup
    //   108: invokespecial 87	java/lang/StringBuilder:<init>	()V
    //   111: bipush 77
    //   113: bipush 40
    //   115: iadd
    //   116: ldc -8
    //   118: invokestatic 37	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   121: invokevirtual 99	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   124: aload_1
    //   125: invokevirtual 99	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   128: invokevirtual 105	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   131: invokevirtual 109	com/wowza/wms/logging/WMSLogger:warn	(Ljava/lang/String;)V
    //   134: goto +436 -> 570
    //   137: aload_3
    //   138: monitorexit
    //   139: goto -115 -> 24
    //   142: goto -5 -> 137
    //   145: aload_1
    //   146: iload 9
    //   148: iconst_1
    //   149: iadd
    //   150: invokevirtual 252	java/lang/String:substring	(I)Ljava/lang/String;
    //   153: astore 6
    //   155: aload_1
    //   156: iconst_0
    //   157: iload 9
    //   159: invokevirtual 255	java/lang/String:substring	(II)Ljava/lang/String;
    //   162: astore_1
    //   163: goto +64 -> 227
    //   166: aload_2
    //   167: ldc_w 257
    //   170: bipush 35
    //   172: bipush 21
    //   174: imul
    //   175: invokestatic 95	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   178: invokevirtual 241	java/lang/String:compareToIgnoreCase	(Ljava/lang/String;)I
    //   181: ifne -136 -> 45
    //   184: goto +23 -> 207
    //   187: aload 4
    //   189: invokeinterface 205 1 0
    //   194: astore 5
    //   196: aload_0
    //   197: invokevirtual 259	com/wowza/wms/stream/publish/Publisher:createStream	()V
    //   200: aload_1
    //   201: ifnonnull +47 -> 248
    //   204: goto +293 -> 497
    //   207: iconst_1
    //   208: istore 11
    //   210: goto -165 -> 45
    //   213: iload 9
    //   215: iflt +12 -> 227
    //   218: goto -73 -> 145
    //   221: iconst_1
    //   222: istore 10
    //   224: goto -58 -> 166
    //   227: iconst_0
    //   228: istore 10
    //   230: aload_0
    //   231: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   234: invokeinterface 263 1 0
    //   239: istore 11
    //   241: aload_2
    //   242: ifnull -197 -> 45
    //   245: goto +166 -> 411
    //   248: ldc_w 265
    //   251: astore 6
    //   253: aload_1
    //   254: aload_0
    //   255: getfield 146	com/wowza/wms/stream/publish/Publisher:a	Ljava/lang/String;
    //   258: invokestatic 271	com/wowza/wms/util/ModuleUtils:decodeStreamExtension	(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
    //   261: astore 7
    //   263: aload 7
    //   265: iconst_0
    //   266: aaload
    //   267: astore_1
    //   268: aload_0
    //   269: aload 7
    //   271: iconst_1
    //   272: aaload
    //   273: putfield 146	com/wowza/wms/stream/publish/Publisher:a	Ljava/lang/String;
    //   276: aload_1
    //   277: bipush 49
    //   279: bipush 19
    //   281: imul
    //   282: ldc_w 273
    //   285: invokestatic 37	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   288: invokevirtual 246	java/lang/String:indexOf	(Ljava/lang/String;)I
    //   291: iflt +275 -> 566
    //   294: goto -253 -> 41
    //   297: ldc 2
    //   299: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   302: aconst_null
    //   303: aload_0
    //   304: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   307: ldc_w 275
    //   310: bipush 33
    //   312: bipush 41
    //   314: imul
    //   315: invokestatic 95	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   318: ldc_w 276
    //   321: sipush 200
    //   324: aload_0
    //   325: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   328: invokeinterface 279 1 0
    //   333: invokevirtual 230	com/wowza/wms/logging/WMSLogger:info	(Ljava/lang/String;Lcom/wowza/wms/stream/IMediaStream;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
    //   336: aload_0
    //   337: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   340: dup
    //   341: invokeinterface 279 1 0
    //   346: aload_0
    //   347: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   350: invokeinterface 282 1 0
    //   355: aload_0
    //   356: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   359: invokeinterface 263 1 0
    //   364: invokeinterface 286 4 0
    //   369: aload_0
    //   370: invokespecial 288	com/wowza/wms/stream/publish/Publisher:a	()V
    //   373: goto -236 -> 137
    //   376: ldc 2
    //   378: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   381: aconst_null
    //   382: aload_0
    //   383: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   386: sipush 440
    //   389: bipush 103
    //   391: idiv
    //   392: ldc_w 290
    //   395: invokestatic 37	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   398: ldc_w 292
    //   401: sipush 200
    //   404: aload_1
    //   405: invokevirtual 230	com/wowza/wms/logging/WMSLogger:info	(Ljava/lang/String;Lcom/wowza/wms/stream/IMediaStream;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
    //   408: goto -266 -> 142
    //   411: aload_2
    //   412: ldc_w 294
    //   415: bipush 83
    //   417: bipush -75
    //   419: iadd
    //   420: invokestatic 95	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   423: invokevirtual 241	java/lang/String:compareToIgnoreCase	(Ljava/lang/String;)I
    //   426: ifeq -205 -> 221
    //   429: goto -368 -> 61
    //   432: ldc 2
    //   434: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   437: ldc_w 296
    //   440: bipush 55
    //   442: bipush 7
    //   444: swap
    //   445: imul
    //   446: invokestatic 95	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   449: invokevirtual 298	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;)V
    //   452: goto -315 -> 137
    //   455: ldc 2
    //   457: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   460: aconst_null
    //   461: aload_0
    //   462: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   465: bipush 118
    //   467: bipush 31
    //   469: idiv
    //   470: ldc_w 300
    //   473: invokestatic 37	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   476: ldc_w 302
    //   479: sipush 200
    //   482: aload_0
    //   483: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   486: invokeinterface 279 1 0
    //   491: invokevirtual 230	com/wowza/wms/logging/WMSLogger:info	(Ljava/lang/String;Lcom/wowza/wms/stream/IMediaStream;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
    //   494: goto -197 -> 297
    //   497: aload_0
    //   498: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   501: invokeinterface 305 1 0
    //   506: aload 5
    //   508: aload_0
    //   509: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   512: invokevirtual 309	com/wowza/wms/stream/MediaStreamMap:notifyPlayUnpublish	(Lcom/wowza/wms/stream/IMediaStream;)V
    //   515: aload_0
    //   516: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   519: invokeinterface 311 1 0
    //   524: aload_0
    //   525: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   528: invokeinterface 314 1 0
    //   533: aload 5
    //   535: aload_0
    //   536: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   539: invokeinterface 279 1 0
    //   544: aload_0
    //   545: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   548: invokevirtual 318	com/wowza/wms/stream/MediaStreamMap:clearStreamName	(Ljava/lang/String;Lcom/wowza/wms/stream/IMediaStream;)V
    //   551: aload_0
    //   552: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   555: invokeinterface 282 1 0
    //   560: ifeq -263 -> 297
    //   563: goto -108 -> 455
    //   566: iconst_0
    //   567: goto -486 -> 81
    //   570: aload_0
    //   571: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   574: iconst_1
    //   575: invokeinterface 321 2 0
    //   580: aload_0
    //   581: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   584: iconst_0
    //   585: invokeinterface 324 2 0
    //   590: aload_0
    //   591: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   594: iload 10
    //   596: invokeinterface 327 2 0
    //   601: aload_0
    //   602: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   605: iload 11
    //   607: invokeinterface 330 2 0
    //   612: aload_0
    //   613: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   616: aload_1
    //   617: invokeinterface 333 2 0
    //   622: aload_0
    //   623: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   626: aload_0
    //   627: getfield 146	com/wowza/wms/stream/publish/Publisher:a	Ljava/lang/String;
    //   630: invokeinterface 336 2 0
    //   635: aload_0
    //   636: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   639: aload 6
    //   641: invokeinterface 339 2 0
    //   646: aload_0
    //   647: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   650: invokeinterface 342 1 0
    //   655: aload 5
    //   657: aload_0
    //   658: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   661: invokevirtual 345	com/wowza/wms/stream/MediaStreamMap:notifyPlayPublish	(Lcom/wowza/wms/stream/IMediaStream;)V
    //   664: aload_0
    //   665: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   668: aload_1
    //   669: iload 10
    //   671: iload 11
    //   673: invokeinterface 348 4 0
    //   678: ldc 2
    //   680: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   683: aconst_null
    //   684: aload_0
    //   685: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   688: sipush 445
    //   691: bipush 74
    //   693: idiv
    //   694: ldc_w 350
    //   697: invokestatic 37	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   700: ldc_w 351
    //   703: sipush 200
    //   706: aload_1
    //   707: invokevirtual 230	com/wowza/wms/logging/WMSLogger:info	(Ljava/lang/String;Lcom/wowza/wms/stream/IMediaStream;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
    //   710: iload 10
    //   712: ifeq -570 -> 142
    //   715: goto -339 -> 376
    // Line number table:
    //   Java source line #372	-> byte code offset #0
    //   Java source line #453	-> byte code offset #9
    //   Java source line #372	-> byte code offset #10
    //   Java source line #452	-> byte code offset #14
    //   Java source line #376	-> byte code offset #27
    //   Java source line #377	-> byte code offset #33
    //   Java source line #408	-> byte code offset #41
    //   Java source line #427	-> byte code offset #45
    //   Java source line #428	-> byte code offset #53
    //   Java source line #421	-> byte code offset #61
    //   Java source line #408	-> byte code offset #81
    //   Java source line #409	-> byte code offset #83
    //   Java source line #410	-> byte code offset #91
    //   Java source line #430	-> byte code offset #99
    //   Java source line #452	-> byte code offset #137
    //   Java source line #450	-> byte code offset #142
    //   Java source line #412	-> byte code offset #145
    //   Java source line #413	-> byte code offset #155
    //   Java source line #423	-> byte code offset #166
    //   Java source line #383	-> byte code offset #187
    //   Java source line #384	-> byte code offset #196
    //   Java source line #386	-> byte code offset #200
    //   Java source line #424	-> byte code offset #207
    //   Java source line #410	-> byte code offset #213
    //   Java source line #422	-> byte code offset #221
    //   Java source line #416	-> byte code offset #227
    //   Java source line #417	-> byte code offset #230
    //   Java source line #419	-> byte code offset #241
    //   Java source line #403	-> byte code offset #248
    //   Java source line #404	-> byte code offset #253
    //   Java source line #405	-> byte code offset #263
    //   Java source line #406	-> byte code offset #268
    //   Java source line #408	-> byte code offset #276
    //   Java source line #396	-> byte code offset #297
    //   Java source line #397	-> byte code offset #336
    //   Java source line #399	-> byte code offset #369
    //   Java source line #447	-> byte code offset #376
    //   Java source line #421	-> byte code offset #411
    //   Java source line #379	-> byte code offset #432
    //   Java source line #380	-> byte code offset #452
    //   Java source line #395	-> byte code offset #455
    //   Java source line #388	-> byte code offset #497
    //   Java source line #389	-> byte code offset #506
    //   Java source line #390	-> byte code offset #515
    //   Java source line #391	-> byte code offset #524
    //   Java source line #393	-> byte code offset #533
    //   Java source line #394	-> byte code offset #551
    //   Java source line #408	-> byte code offset #566
    //   Java source line #433	-> byte code offset #570
    //   Java source line #434	-> byte code offset #580
    //   Java source line #435	-> byte code offset #590
    //   Java source line #436	-> byte code offset #601
    //   Java source line #437	-> byte code offset #612
    //   Java source line #438	-> byte code offset #622
    //   Java source line #439	-> byte code offset #635
    //   Java source line #440	-> byte code offset #646
    //   Java source line #442	-> byte code offset #655
    //   Java source line #443	-> byte code offset #664
    //   Java source line #445	-> byte code offset #678
    //   Java source line #446	-> byte code offset #710
    // Exception table:
    //   from	to	target	type
    //   17	24	17	finally
    //   27	718	17	finally
  }
  
  public void addVideoData(byte[] paramArrayOfByte, long paramLong)
  {
    addVideoData(paramArrayOfByte, 0, paramArrayOfByte.length, paramLong);
  }
  
  public void addVideoData(byte[] paramArrayOfByte, int paramInt, long paramLong)
  {
    addVideoData(paramArrayOfByte, 0, paramInt, paramLong);
  }
  
  public void addVideoData(byte[] paramArrayOfByte, int paramInt1, int paramInt2, long paramLong)
  {
    addVideoData(paramArrayOfByte, paramInt1, paramInt2, paramLong, null);
  }
  
  /* Error */
  public void addVideoData(byte[] arg1, int arg2, int arg3, long arg4, java.util.Map<String, com.wowza.wms.amf.IAMFPacketExtraData> arg6)
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   4: ifnonnull +126 -> 130
    //   7: goto +134 -> 141
    //   10: monitorenter
    //   11: goto +9 -> 20
    //   14: aload 8
    //   16: athrow
    //   17: goto +123 -> 140
    //   20: aload_0
    //   21: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   24: lload 4
    //   26: iconst_1
    //   27: invokeinterface 366 4 0
    //   32: aload_0
    //   33: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   36: iload_3
    //   37: invokeinterface 370 2 0
    //   42: aload 6
    //   44: ifnull +6 -> 50
    //   47: goto +61 -> 108
    //   50: aload_0
    //   51: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   54: invokeinterface 373 1 0
    //   59: aload_0
    //   60: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   63: aload_1
    //   64: iload_2
    //   65: iload_3
    //   66: invokeinterface 376 4 0
    //   71: aload_0
    //   72: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   75: iload_3
    //   76: i2l
    //   77: invokeinterface 380 3 0
    //   82: pop2
    //   83: aload_0
    //   84: dup
    //   85: getfield 156	com/wowza/wms/stream/publish/Publisher:f	J
    //   88: lload 4
    //   90: invokestatic 386	java/lang/Math:max	(JJ)J
    //   93: putfield 156	com/wowza/wms/stream/publish/Publisher:f	J
    //   96: aload_0
    //   97: lload 4
    //   99: putfield 162	com/wowza/wms/stream/publish/Publisher:h	J
    //   102: aload 7
    //   104: monitorexit
    //   105: goto -88 -> 17
    //   108: aload_0
    //   109: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   112: aload 6
    //   114: invokeinterface 390 2 0
    //   119: goto -69 -> 50
    //   122: astore 8
    //   124: aload 7
    //   126: monitorexit
    //   127: goto -113 -> 14
    //   130: aload_0
    //   131: getfield 154	com/wowza/wms/stream/publish/Publisher:e	Ljava/lang/Object;
    //   134: dup
    //   135: astore 7
    //   137: goto -127 -> 10
    //   140: return
    //   141: ldc 2
    //   143: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   146: ldc_w 392
    //   149: bipush 63
    //   151: bipush 55
    //   153: imul
    //   154: invokestatic 95	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   157: invokevirtual 298	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;)V
    //   160: return
    // Line number table:
    //   Java source line #498	-> byte code offset #0
    //   Java source line #504	-> byte code offset #10
    //   Java source line #516	-> byte code offset #14
    //   Java source line #506	-> byte code offset #20
    //   Java source line #507	-> byte code offset #32
    //   Java source line #508	-> byte code offset #42
    //   Java source line #510	-> byte code offset #50
    //   Java source line #511	-> byte code offset #59
    //   Java source line #512	-> byte code offset #71
    //   Java source line #513	-> byte code offset #83
    //   Java source line #514	-> byte code offset #96
    //   Java source line #516	-> byte code offset #102
    //   Java source line #509	-> byte code offset #108
    //   Java source line #516	-> byte code offset #122
    //   Java source line #504	-> byte code offset #130
    //   Java source line #518	-> byte code offset #140
    //   Java source line #500	-> byte code offset #141
    //   Java source line #501	-> byte code offset #160
    // Exception table:
    //   from	to	target	type
    //   20	122	122	finally
    //   122	130	122	finally
  }
  
  public void startVideoData(int paramInt, long paramLong)
  {
    startVideoData(paramInt, paramLong, null);
  }
  
  /* Error */
  public void startVideoData(int arg1, long arg2, java.util.Map<String, com.wowza.wms.amf.IAMFPacketExtraData> arg4)
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   4: ifnonnull +9 -> 13
    //   7: goto +16 -> 23
    //   10: goto +49 -> 59
    //   13: aload_0
    //   14: getfield 154	com/wowza/wms/stream/publish/Publisher:e	Ljava/lang/Object;
    //   17: dup
    //   18: astore 5
    //   20: goto +35 -> 55
    //   23: ldc 2
    //   25: invokestatic 68	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   28: ldc_w 402
    //   31: sipush 194
    //   34: bipush 40
    //   36: idiv
    //   37: invokestatic 95	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   40: invokevirtual 298	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;)V
    //   43: return
    //   44: aload 6
    //   46: athrow
    //   47: astore 6
    //   49: aload 5
    //   51: monitorexit
    //   52: goto -8 -> 44
    //   55: monitorenter
    //   56: goto +4 -> 60
    //   59: return
    //   60: aload_0
    //   61: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   64: lload_2
    //   65: iconst_1
    //   66: invokeinterface 366 4 0
    //   71: aload_0
    //   72: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   75: iload_1
    //   76: invokeinterface 370 2 0
    //   81: aload 4
    //   83: ifnull +6 -> 89
    //   86: goto +35 -> 121
    //   89: aload_0
    //   90: getfield 148	com/wowza/wms/stream/publish/Publisher:b	Lcom/wowza/wms/stream/IMediaStream;
    //   93: invokeinterface 373 1 0
    //   98: aload_0
    //   99: dup
    //   100: getfield 156	com/wowza/wms/stream/publish/Publisher:f	J
    //   103: lload_2
    //   104: invokestatic 386	java/lang/Math:max	(JJ)J
    //   107: putfield 156	com/wowza/wms/stream/publish/Publisher:f	J
    //   110: aload_0
    //   111: lload_2
    //   112: putfield 162	com/wowza/wms/stream/publish/Publis
1 2 3 4 5 6 7

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2019. Infinite Loop Ltd