wms-httpstreamer-sanjosestreaming

16:54:04.926 INFO  jd.cli.Main - Decompiling wms-httpstreamer-sanjosestreaming.jar
package com.wowza.wms.httpstreamer.sanjosestreaming.dvr;

import com.wowza.util.Base64;
import com.wowza.util.JSON;
import com.wowza.wms.application.WMSProperties;
import com.wowza.wms.httpstreamer.model.IHTTPStreamerApplicationContext;

public class DvrPlayerAdapterContextSanJose
{
  public static final String DEFAULT_F4MVERSIONTARGET = "2.0";
  String a = JSON.copyValueOf("6%&", -54 - -8);
  String b = JSON.copyValueOf("cwp{grr|", -50 - 29);
  String c = JSON.copyValueOf("!:%", 38 + -19);
  String d = Base64.endsWith(43 * 39, "{gku~=~d!");
  String e = JSON.copyValueOf("wqtbidcek", '?' / 114);
  int f = 1000;
  int g = 4;
  
  public DvrPlayerAdapterContextSanJose(WMSProperties paramWMSProperties, IHTTPStreamerApplicationContext paramIHTTPStreamerApplicationContext)
  {
    if (paramWMSProperties == null) {
      return;
    }
    for (;; paramWMSProperties.isEmpty())
    {
      d = paramWMSProperties.getPropertyStr(Base64.endsWith(-55 - -24, "%41\027$(\r':/\033 ,7#9\"&\036=83\003!)?"), d);
      a = paramWMSProperties.getPropertyStr(Base64.endsWith(107 + -105, "fuvVgiBfyn\\aov|xagX|`rKmh~}pJfpd"), a);
      b = paramWMSProperties.getPropertyStr(Base64.endsWith(15 * 11, "apu[hdAc~k_|pk}fbE}zuixxzL43'\")\021?7-"), b);
      c = paramWMSProperties.getPropertyStr(JSON.copyValueOf(")8=\0030<\031;&3\00748#75.*\tesqjkk", 17 * 29), c);
      e = paramWMSProperties.getPropertyStr(Base64.endsWith(46 + 19, "%41\027$(\r':/\033 ,7#9\"&\02719?!=+#\017%-;"), e);
      
      g = paramWMSProperties.getPropertyInt(JSON.copyValueOf("grwUffCexi]bni}{``Ttdl]oi}iwpnUmoawgikl", '�' / 54), g);
      
      f = paramWMSProperties.getPropertyInt(JSON.copyValueOf("7\"'\00566\0235(9\r2>ymkppDdt|]cfi~mn|t", 37 * 55), f); break;
    }
  }
}

/* Location:
 * Qualified Name:     com.wowza.wms.httpstreamer.sanjosestreaming.dvr.DvrPlayerAdapterContextSanJose
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.httpstreamer.sanjosestreaming.dvr;

import com.wowza.util.Base64;
import com.wowza.util.BufferUtils;
import com.wowza.util.JSON;
import com.wowza.wms.amf.AMFDataList;
import com.wowza.wms.amf.AMFDataMixedArray;
import com.wowza.wms.amf.AMFDataObj;
import com.wowza.wms.amf.AMFPacket;
import com.wowza.wms.application.IApplicationInstance;
import com.wowza.wms.application.WMSProperties;
import com.wowza.wms.dvr.DvrChunk;
import com.wowza.wms.dvr.DvrChunkToAMFPacketParser;
import com.wowza.wms.dvr.DvrManifestEntry;
import com.wowza.wms.dvr.DvrManifestOnMetadataEntry;
import com.wowza.wms.dvr.DvrPlayerAdapterBase;
import com.wowza.wms.dvr.DvrPlayerAdapterBase.PacketTimeComparator;
import com.wowza.wms.dvr.DvrStreamStoreBase;
import com.wowza.wms.dvr.IDvrStreamStore;
import com.wowza.wms.dvr.mbr.DvrMbrShiftedEntry;
import com.wowza.wms.httpstreamer.model.IHTTPStreamerApplicationContext;
import com.wowza.wms.httpstreamer.sanjosestreaming.livestreampacketizer.LiveStreamPacketizerSanJoseChunk;
import com.wowza.wms.httpstreamer.sanjosestreaming.livestreampacketizer.LiveStreamingSanJoseBlock;
import com.wowza.wms.httpstreamer.sanjosestreaming.livestreampacketizer.SanJoseEncryptor;
import com.wowza.wms.httpstreamer.sanjosestreaming.livestreampacketizer.SanJosePacketHolder;
import com.wowza.wms.httpstreamer.sanjosestreaming.livestreampacketizer.SanJoseTSHolder;
import com.wowza.wms.httpstreamer.sanjosestreaming.util.SanJoseUtilities;
import com.wowza.wms.logging.WMSLogger;
import com.wowza.wms.logging.WMSLoggerFactory;
import com.wowza.wms.media.model.MediaCodecInfoAudio;
import com.wowza.wms.media.model.MediaCodecInfoVideo;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;

public class DvrPlayerAdapterSanJose
  extends DvrPlayerAdapterBase
{
  private static final Class<DvrPlayerAdapterSanJose> a = DvrPlayerAdapterSanJose.class;
  public static final String SAN_JOSE_DVR_MEDIA_PREFIX = "DVR";
  private SanJoseEncryptor b = null;
  private int c = 0;
  
  protected boolean isDebug(IHTTPStreamerApplicationContext paramIHTTPStreamerApplicationContext)
  {
    boolean bool = super.isDebug(paramIHTTPStreamerApplicationContext);
    if (paramIHTTPStreamerApplicationContext == null) {
      return bool;
    }
    for (;;)
    {
      bool = paramIHTTPStreamerApplicationContext.getAppInstance().getDvrProperties().getPropertyBoolean(JSON.copyValueOf("apuLlh~k^oaZ~avDywn}k[}mjzr", '?' / 60), bool); break;bool = paramIHTTPStreamerApplicationContext.getProperties().getPropertyBoolean(JSON.copyValueOf("bqzMoiyj]n~[}`qEzva|hZx|nk%3", 44 + -6), bool);
      if (paramIHTTPStreamerApplicationContext.getAppInstance() == null) {
        break;
      }
    }
  }
  
  private final void a(LiveStreamPacketizerSanJoseChunk paramLiveStreamPacketizerSanJoseChunk, SanJosePacketHolder paramSanJosePacketHolder)
  {
    SanJoseTSHolder localSanJoseTSHolder = null;
    byte[] arrayOfByte;
    if (paramSanJosePacketHolder.getType() == 8)
    {
      break label110;
      localSanJoseTSHolder = new SanJoseTSHolder(paramSanJosePacketHolder.getType(), paramSanJosePacketHolder.getCodec(), arrayOfByte, 0, arrayOfByte.length, paramSanJosePacketHolder.getTimecode());
      localSanJoseTSHolder.setDataLen(paramSanJosePacketHolder.getDataLen());
      a(paramLiveStreamPacketizerSanJoseChunk, localSanJoseTSHolder);
      break label132;
    }
    else if (paramSanJosePacketHolder.getType() == 9)
    {
      for (;; !paramSanJosePacketHolder.isCodecConfig()) {
        break;
      }
    }
    for (;;)
    {
      arrayOfByte = SanJoseUtilities.holderToRTMPBlock(paramSanJosePacketHolder);
      if (arrayOfByte == null) {
        break label132;
      }
      break label133;
      arrayOfByte = SanJoseUtilities.holderToRTMPBlock(paramSanJosePacketHolder);
      if (arrayOfByte == null) {
        break label132;
      }
      break;
      label110:
      if (paramSanJosePacketHolder.isCodecConfig()) {
        break label131;
      }
    }
    for (;;)
    {
      localSanJoseTSHolder.setKey(paramSanJosePacketHolder.isKey());
      break label190;
      for (;;)
      {
        label131:
        label132:
        return;
        label133:
        localSanJoseTSHolder = new SanJoseTSHolder(paramSanJosePacketHolder.getType(), paramSanJosePacketHolder.getCodec(), arrayOfByte, 0, arrayOfByte.length, paramSanJosePacketHolder.getTimecode());
        localSanJoseTSHolder.setDataLen(paramSanJosePacketHolder.getDataLen());
        a(paramLiveStreamPacketizerSanJoseChunk, localSanJoseTSHolder); continue;
        
        arrayOfByte = SanJoseUtilities.holderToRTMPBlock(paramSanJosePacketHolder);
        if (arrayOfByte != null) {
          break;
        }
      }
      label190:
      do
      {
        a(paramLiveStreamPacketizerSanJoseChunk, localSanJoseTSHolder); break;localSanJoseTSHolder = new SanJoseTSHolder(paramSanJosePacketHolder.getType(), paramSanJosePacketHolder.getCodec(), arrayOfByte, 0, arrayOfByte.length, paramSanJosePacketHolder.getTimecode());localSanJoseTSHolder.setDataLen(paramSanJosePacketHolder.getDataLen());
      } while (paramSanJosePacketHolder.getType() != 9);
    }
  }
  
  private final void a(LiveStreamPacketizerSanJoseChunk paramLiveStreamPacketizerSanJoseChunk, SanJoseTSHolder paramSanJoseTSHolder)
  {
    byte[] arrayOfByte2;
    if (paramSanJoseTSHolder != null)
    {
      break label28;
      paramSanJoseTSHolder.setBlock(arrayOfByte2);
      paramSanJoseTSHolder.setOffset(0);
      paramSanJoseTSHolder.setLen(arrayOfByte2.length);
      break label79;
      label28:
      if (b == null) {
        break label79;
      }
    }
    for (;;)
    {
      return;byte[] arrayOfByte1 = paramSanJoseTSHolder.getBlock();int i = paramSanJoseTSHolder.getOffset();int j = paramSanJoseTSHolder.getLen();arrayOfByte2 = b.encryptChunk(arrayOfByte1, i, j, true);
      if (arrayOfByte2 != null) {
        break;
      }
      label79:
      b(paramLiveStreamPacketizerSanJoseChunk, paramSanJoseTSHolder);
    }
  }
  
  /* Error */
  private final void b(LiveStreamPacketizerSanJoseChunk arg1, SanJoseTSHolder arg2)
  {
    // Byte code:
    //   0: aload_1
    //   1: ifnull +13 -> 14
    //   4: goto +56 -> 60
    //   7: aload_1
    //   8: invokevirtual 158	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/LiveStreamPacketizerSanJoseChunk:incAudioCount	()V
    //   11: goto +4 -> 15
    //   14: return
    //   15: aload_1
    //   16: aload_3
    //   17: aload_2
    //   18: invokevirtual 144	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/SanJoseTSHolder:getOffset	()I
    //   21: aload_2
    //   22: invokevirtual 147	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/SanJoseTSHolder:getLen	()I
    //   25: invokevirtual 162	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/LiveStreamPacketizerSanJoseChunk:addBlock	([BII)V
    //   28: aload_1
    //   29: aload_2
    //   30: invokevirtual 163	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/SanJoseTSHolder:getDataLen	()I
    //   33: invokevirtual 166	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/LiveStreamPacketizerSanJoseChunk:incDataSize	(I)V
    //   36: goto -22 -> 14
    //   39: aload_1
    //   40: invokevirtual 169	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/LiveStreamPacketizerSanJoseChunk:incVideoKeyCount	()V
    //   43: goto -28 -> 15
    //   46: aload_1
    //   47: invokevirtual 172	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/LiveStreamPacketizerSanJoseChunk:incVideoCount	()V
    //   50: aload_2
    //   51: invokevirtual 173	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/SanJoseTSHolder:isKey	()Z
    //   54: ifeq -39 -> 15
    //   57: goto -18 -> 39
    //   60: aload_2
    //   61: invokevirtual 141	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/SanJoseTSHolder:getBlock	()[B
    //   64: astore_3
    //   65: aload_2
    //   66: invokevirtual 174	com/wowza/wms/httpstreamer/sanjosestreaming/livestreampacketizer/SanJoseTSHolder:getType	()I
    //   69: lookupswitch	default:+-54->15, 8:+-62->7, 9:+-23->46
    //   96: nop
    //   97: nop
    //   98: athrow
    // Line number table:
    //   Java source line #129	-> byte code offset #0
    //   Java source line #135	-> byte code offset #7
    //   Java source line #136	-> byte code offset #11
    //   Java source line #149	-> byte code offset #14
    //   Java source line #146	-> byte code offset #15
    //   Java source line #147	-> byte code offset #28
    //   Java source line #140	-> byte code offset #39
    //   Java source line #138	-> byte code offset #46
    //   Java source line #139	-> byte code offset #50
    //   Java source line #131	-> byte code offset #60
    //   Java source line #133	-> byte code offset #65
  }
  
  /* Error */
  public byte[] getMultiBitratePlaylistAbst(IHTTPStreamerApplicationContext arg1, IDvrStreamStore arg2, com.wowza.wms.dvr.DvrPlaylistRequest arg3, com.wowza.wms.dvr.mbr.IDvrMbrPlaylistAlignment arg4)
  {
    // Byte code:
    //   0: aload_2
    //   1: ifnonnull +135 -> 136
    //   4: aconst_null
    //   5: goto +57 -> 62
    //   8: astore 5
    //   10: getstatic 182	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:a	Ljava/lang/Class;
    //   13: invokestatic 188	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   16: bipush 35
    //   18: bipush 17
    //   20: iadd
    //   21: ldc -66
    //   23: invokestatic 196	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   26: iconst_2
    //   27: anewarray 198	java/lang/Object
    //   30: dup
    //   31: iconst_0
    //   32: ldc -56
    //   34: bipush 9
    //   36: bipush 63
    //   38: imul
    //   39: invokestatic 66	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   42: aastore
    //   43: dup
    //   44: iconst_1
    //   45: aload_2
    //   46: invokeinterface 206 1 0
    //   51: aastore
    //   52: invokestatic 212	java/lang/String:format	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   55: aload 5
    //   57: invokevirtual 218	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
    //   60: aconst_null
    //   61: areturn
    //   62: areturn
    //   63: aload_2
    //   64: invokeinterface 221 1 0
    //   69: astore 9
    //   71: aload_0
    //   72: aload_1
    //   73: aload_2
    //   74: aload 8
    //   76: aload 9
    //   78: aload_3
    //   79: aload 4
    //   81: invokespecial 224	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:a	(Lcom/wowza/wms/httpstreamer/model/IHTTPStreamerApplicationContext;Lcom/wowza/wms/dvr/IDvrStreamStore;Ljava/util/List;Ljava/lang/String;Lcom/wowza/wms/dvr/DvrPlaylistRequest;Lcom/wowza/wms/dvr/mbr/IDvrMbrPlaylistAlignment;)[B
    //   84: goto +102 -> 186
    //   87: aload 6
    //   89: invokeinterface 230 1 0
    //   94: aload_3
    //   95: invokestatic 236	com/wowza/wms/dvr/DvrTimeScaleUtils:convertToDvrTimeScale	(Lcom/wowza/wms/dvr/IDvrTimeMap;Lcom/wowza/wms/dvr/DvrPlaylistRequest;)Lcom/wowza/wms/dvr/DvrPlaylistRequest;
    //   98: astore 7
    //   100: aload_0
    //   101: aload_2
    //   102: aload 7
    //   104: iconst_0
    //   105: invokevirtual 240	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:getEntries	(Lcom/wowza/wms/dvr/IDvrStreamStore;Lcom/wowza/wms/dvr/DvrPlaylistRequest;Z)Ljava/util/List;
    //   108: astore 8
    //   110: aload 8
    //   112: ifnull +6 -> 118
    //   115: goto +7 -> 122
    //   118: aconst_null
    //   119: goto +66 -> 185
    //   122: aload 8
    //   124: invokeinterface 245 1 0
    //   129: ifeq -66 -> 63
    //   132: goto -14 -> 118
    //   135: areturn
    //   136: aconst_null
    //   137: astore 5
    //   139: aload 4
    //   141: ifnull +10 -> 151
    //   144: goto +23 -> 167
    //   147: aconst_null
    //   148: goto -13 -> 135
    //   151: aload_2
    //   152: invokeinterface 249 1 0
    //   157: astore 6
    //   159: aload 6
    //   161: ifnonnull -74 -> 87
    //   164: goto -17 -> 147
    //   167: aload 4
    //   169: aload_2
    //   170: invokeinterface 221 1 0
    //   175: invokeinterface 255 2 0
    //   180: astore 5
    //   182: goto -31 -> 151
    //   185: areturn
    //   186: areturn
    // Line number table:
    //   Java source line #162	-> byte code offset #0
    //   Java source line #163	-> byte code offset #4
    //   Java source line #184	-> byte code offset #8
    //   Java source line #185	-> byte code offset #10
    //   Java source line #187	-> byte code offset #60
    //   Java source line #163	-> byte code offset #62
    //   Java source line #181	-> byte code offset #63
    //   Java source line #183	-> byte code offset #71
    //   Java source line #175	-> byte code offset #87
    //   Java source line #177	-> byte code offset #100
    //   Java source line #178	-> byte code offset #110
    //   Java source line #179	-> byte code offset #118
    //   Java source line #178	-> byte code offset #122
    //   Java source line #173	-> byte code offset #135
    //   Java source line #166	-> byte code offset #136
    //   Java source line #167	-> byte code offset #139
    //   Java source line #173	-> byte code offset #147
    //   Java source line #171	-> byte code offset #151
    //   Java source line #172	-> byte code offset #159
    //   Java source line #168	-> byte code offset #167
    //   Java source line #179	-> byte code offset #185
    //   Java source line #183	-> byte code offset #186
    // Exception table:
    //   from	to	target	type
    //   0	8	8	java/lang/Exception
    //   63	87	8	java/lang/Exception
    //   87	135	8	java/lang/Exception
    //   136	185	8	java/lang/Exception
  }
  
  /* Error */
  public byte[] getPlaylistAbst(IHTTPStreamerApplicationContext arg1, IDvrStreamStore arg2, com.wowza.wms.dvr.DvrPlaylistRequest arg3)
  {
    // Byte code:
    //   0: aload_2
    //   1: ifnonnull +92 -> 93
    //   4: aconst_null
    //   5: goto +26 -> 31
    //   8: aload_2
    //   9: invokeinterface 221 1 0
    //   14: astore 7
    //   16: aload_0
    //   17: aload_1
    //   18: aload_2
    //   19: aload 6
    //   21: aload 7
    //   23: aload_3
    //   24: aconst_null
    //   25: invokespecial 224	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:a	(Lcom/wowza/wms/httpstreamer/model/IHTTPStreamerApplicationContext;Lcom/wowza/wms/dvr/IDvrStreamStore;Ljava/util/List;Ljava/lang/String;Lcom/wowza/wms/dvr/DvrPlaylistRequest;Lcom/wowza/wms/dvr/mbr/IDvrMbrPlaylistAlignment;)[B
    //   28: goto +64 -> 92
    //   31: areturn
    //   32: areturn
    //   33: areturn
    //   34: astore 4
    //   36: getstatic 182	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:a	Ljava/lang/Class;
    //   39: invokestatic 188	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   42: bipush 37
    //   44: bipush 44
    //   46: iadd
    //   47: ldc_w 263
    //   50: invokestatic 196	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   53: iconst_2
    //   54: anewarray 198	java/lang/Object
    //   57: dup
    //   58: iconst_0
    //   59: ldc_w 265
    //   62: sipush 1237
    //   65: sipush 179
    //   68: idiv
    //   69: invokestatic 66	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   72: aastore
    //   73: dup
    //   74: iconst_1
    //   75: aload_2
    //   76: invokeinterface 206 1 0
    //   81: aastore
    //   82: invokestatic 212	java/lang/String:format	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   85: aload 4
    //   87: invokevirtual 218	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
    //   90: aconst_null
    //   91: areturn
    //   92: areturn
    //   93: aload_2
    //   94: invokeinterface 249 1 0
    //   99: astore 4
    //   101: aload 4
    //   103: ifnonnull +7 -> 110
    //   106: aconst_null
    //   107: goto -74 -> 33
    //   110: aload 4
    //   112: invokeinterface 230 1 0
    //   117: aload_3
    //   118: invokestatic 236	com/wowza/wms/dvr/DvrTimeScaleUtils:convertToDvrTimeScale	(Lcom/wowza/wms/dvr/IDvrTimeMap;Lcom/wowza/wms/dvr/DvrPlaylistRequest;)Lcom/wowza/wms/dvr/DvrPlaylistRequest;
    //   121: astore 5
    //   123: aload_0
    //   124: aload_2
    //   125: aload 5
    //   127: iconst_1
    //   128: invokevirtual 240	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:getEntries	(Lcom/wowza/wms/dvr/IDvrStreamStore;Lcom/wowza/wms/dvr/DvrPlaylistRequest;Z)Ljava/util/List;
    //   131: astore 6
    //   133: aload 6
    //   135: ifnull +6 -> 141
    //   138: goto +7 -> 145
    //   141: aconst_null
    //   142: goto -110 -> 32
    //   145: aload 6
    //   147: invokeinterface 245 1 0
    //   152: ifeq -144 -> 8
    //   155: goto -14 -> 141
    // Line number table:
    //   Java source line #195	-> byte code offset #0
    //   Java source line #196	-> byte code offset #4
    //   Java source line #209	-> byte code offset #8
    //   Java source line #211	-> byte code offset #16
    //   Java source line #196	-> byte code offset #31
    //   Java source line #207	-> byte code offset #32
    //   Java source line #201	-> byte code offset #33
    //   Java source line #212	-> byte code offset #34
    //   Java source line #213	-> byte code offset #36
    //   Java source line #215	-> byte code offset #90
    //   Java source line #211	-> byte code offset #92
    //   Java source line #199	-> byte code offset #93
    //   Java source line #200	-> byte code offset #101
    //   Java source line #201	-> byte code offset #106
    //   Java source line #203	-> byte code offset #110
    //   Java source line #205	-> byte code offset #123
    //   Java source line #206	-> byte code offset #133
    //   Java source line #207	-> byte code offset #141
    //   Java source line #206	-> byte code offset #145
    // Exception table:
    //   from	to	target	type
    //   0	8	34	java/lang/Exception
    //   8	31	34	java/lang/Exception
    //   93	110	34	java/lang/Exception
    //   110	158	34	java/lang/Exception
  }
  
  /* Error */
  private final byte[] a(IHTTPStreamerApplicationContext arg1, IDvrStreamStore arg2, List<DvrManifestEntry> arg3, String arg4, com.wowza.wms.dvr.DvrPlaylistRequest arg5, com.wowza.wms.dvr.mbr.IDvrMbrPlaylistAlignment arg6)
  {
    // Byte code:
    //   0: aload_0
    //   1: aload_1
    //   2: invokevirtual 266	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:isDebug	(Lcom/wowza/wms/httpstreamer/model/IHTTPStreamerApplicationContext;)Z
    //   5: istore 7
    //   7: aload_3
    //   8: invokestatic 271	com/wowza/util/CollectionUtils:isEmpty	(Ljava/util/Collection;)Z
    //   11: ifne +1789 -> 1800
    //   14: goto +66 -> 80
    //   17: aload_0
    //   18: aload_1
    //   19: invokevirtual 274	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:isMbrDebugOnEmptyShiftedEntries	(Lcom/wowza/wms/httpstreamer/model/IHTTPStreamerApplicationContext;)Z
    //   22: ifeq +1780 -> 1802
    //   25: goto +114 -> 139
    //   28: astore 21
    //   30: getstatic 182	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:a	Ljava/lang/Class;
    //   33: invokestatic 188	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   36: bipush 7
    //   38: bipush 17
    //   40: isub
    //   41: ldc_w 276
    //   44: invokestatic 196	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   47: iconst_2
    //   48: anewarray 198	java/lang/Object
    //   51: dup
    //   52: iconst_0
    //   53: ldc_w 278
    //   56: bipush 108
    //   58: bipush 44
    //   60: iadd
    //   61: invokestatic 66	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   64: aastore
    //   65: dup
    //   66: iconst_1
    //   67: aload 4
    //   69: aastore
    //   70: invokestatic 212	java/lang/String:format	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   73: aload 21
    //   75: invokevirtual 218	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
    //   78: aconst_null
    //   79: areturn
    //   80: aload_2
    //   81: ifnonnull +1620 -> 1701
    //   84: goto +1716 -> 1800
    //   87: iconst_0
    //   88: goto +1658 -> 1746
    //   91: aload 11
    //   93: invokeinterface 281 1 0
    //   98: istore 12
    //   100: aload 5
    //   102: invokevirtual 284	com/wowza/wms/dvr/DvrPlaylistRequest:isLiveRequest	()Z
    //   105: istore 13
    //   107: aload_2
    //   108: ifnull +6 -> 114
    //   111: goto +1711 -> 1822
    //   114: aconst_null
    //   115: astore 14
    //   117: aconst_null
    //   118: astore 15
    //   120: iconst_0
    //   121: istore 16
    //   123: ldc2_w 285
    //   126: lstore 17
    //   128: ldc2_w 285
    //   131: lstore 19
    //   133: goto +19 -> 152
    //   136: goto +1615 -> 1751
    //   139: aload_0
    //   140: aload_2
    //   141: aload_3
    //   142: aload 5
    //   144: aload 6
    //   146: invokevirtual 290	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:logDetailsWhenShiftingFails	(Lcom/wowza/wms/dvr/IDvrStreamStore;Ljava/util/List;Lcom/wowza/wms/dvr/DvrPlaylistRequest;Lcom/wowza/wms/dvr/mbr/IDvrMbrPlaylistAlignment;)V
    //   149: goto +1653 -> 1802
    //   152: iconst_1
    //   153: istore 21
    //   155: aload 4
    //   157: astore 22
    //   159: ldc_w 292
    //   162: bipush 117
    //   164: bipush -116
    //   166: iadd
    //   167: invokestatic 66	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   170: astore 23
    //   172: ldc_w 294
    //   175: astore 24
    //   177: ldc_w 294
    //   180: astore 25
    //   182: ldc_w 294
    //   185: astore 26
    //   187: ldc_w 294
    //   190: astore 27
    //   192: aload 11
    //   194: iconst_0
    //   195: invokeinterface 297 2 0
    //   200: checkcast 299	com/wowza/wms/dvr/mbr/DvrMbrShiftedEntry
    //   203: astore 28
    //   205: aload 11
    //   207: iload 12
    //   209: iconst_1
    //   210: isub
    //   211: invokeinterface 297 2 0
    //   216: checkcast 299	com/wowza/wms/dvr/mbr/DvrMbrShiftedEntry
    //   219: astore 29
    //   221: iload 7
    //   223: ifeq +1137 -> 1360
    //   226: goto +677 -> 903
    //   229: iconst_0
    //   230: goto +810 -> 1040
    //   233: getstatic 182	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:a	Ljava/lang/Class;
    //   236: invokestatic 188	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   239: ldc_w 301
    //   242: bipush 51
    //   244: bipush 42
    //   246: isub
    //   247: invokestatic 66	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   250: bipush 6
    //   252: anewarray 198	java/lang/Object
    //   255: dup
    //   256: iconst_0
    //   257: aload_2
    //   258: invokeinterface 206 1 0
    //   263: aastore
    //   264: dup
    //   265: iconst_1
    //   266: aload 56
    //   268: getfield 305	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntry:id	J
    //   271: invokestatic 311	java/lang/Long:valueOf	(J)Ljava/lang/Long;
    //   274: aastore
    //   275: dup
    //   276: iconst_2
    //   277: aload 56
    //   279: getfield 314	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntry:startTime	J
    //   282: invokestatic 311	java/lang/Long:valueOf	(J)Ljava/lang/Long;
    //   285: aastore
    //   286: dup
    //   287: iconst_3
    //   288: lload 57
    //   290: invokestatic 311	java/lang/Long:valueOf	(J)Ljava/lang/Long;
    //   293: aastore
    //   294: dup
    //   295: iconst_4
    //   296: aload 56
    //   298: getfield 317	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntry:duration	J
    //   301: invokestatic 311	java/lang/Long:valueOf	(J)Ljava/lang/Long;
    //   304: aastore
    //   305: dup
    //   306: iconst_5
    //   307: iload 59
    //   309: invokestatic 322	java/lang/Integer:valueOf	(I)Ljava/lang/Integer;
    //   312: aastore
    //   313: invokestatic 212	java/lang/String:format	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   316: invokevirtual 326	com/wowza/wms/logging/WMSLogger:info	(Ljava/lang/String;)V
    //   319: goto +1346 -> 1665
    //   322: aload 55
    //   324: invokeinterface 332 1 0
    //   329: checkcast 13	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntry
    //   332: astore 56
    //   334: aload 56
    //   336: getfield 305	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntry:id	J
    //   339: aload 32
    //   341: iconst_0
    //   342: iconst_4
    //   343: invokestatic 338	com/wowza/util/BufferUtils:longToByteArray	(J[BII)V
    //   346: aload 15
    //   348: aload 32
    //   350: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   353: dload 9
    //   355: aload 56
    //   357: getfield 314	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntry:startTime	J
    //   360: l2d
    //   361: dmul
    //   362: invokestatic 349	java/lang/Math:round	(D)J
    //   365: lstore 57
    //   367: dload 9
    //   369: aload 56
    //   371: getfield 317	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntry:duration	J
    //   374: l2d
    //   375: dmul
    //   376: invokestatic 349	java/lang/Math:round	(D)J
    //   379: l2i
    //   380: istore 59
    //   382: iload 7
    //   384: ifeq +1281 -> 1665
    //   387: goto -154 -> 233
    //   390: istore 53
    //   392: iload 53
    //   394: i2l
    //   395: aload 32
    //   397: iconst_0
    //   398: iconst_3
    //   399: invokestatic 338	com/wowza/util/BufferUtils:longToByteArray	(J[BII)V
    //   402: aload 15
    //   404: aload 32
    //   406: iconst_0
    //   407: iconst_3
    //   408: invokevirtual 351	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([BII)V
    //   411: aload 8
    //   413: getfield 356	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterContextSanJose:f	I
    //   416: aload 32
    //   418: iconst_0
    //   419: iconst_4
    //   420: invokestatic 360	com/wowza/util/BufferUtils:intToByteArray	(I[BII)V
    //   423: aload 15
    //   425: aload 32
    //   427: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   430: aload 15
    //   432: iconst_1
    //   433: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   436: aload 15
    //   438: aload 27
    //   440: invokevirtual 365	java/lang/String:getBytes	()[B
    //   443: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   446: aload 15
    //   448: iconst_0
    //   449: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   452: aload_0
    //   453: aload 11
    //   455: aload 8
    //   457: getfield 368	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterContextSanJose:g	I
    //   460: invokespecial 371	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:a	(Ljava/util/List;I)Lcom/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntries;
    //   463: astore 54
    //   465: aload 54
    //   467: getfield 375	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntries:entries	Ljava/util/List;
    //   470: invokeinterface 281 1 0
    //   475: i2l
    //   476: aload 32
    //   478: iconst_0
    //   479: iconst_4
    //   480: invokestatic 338	com/wowza/util/BufferUtils:longToByteArray	(J[BII)V
    //   483: aload 15
    //   485: aload 32
    //   487: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   490: aload 54
    //   492: getfield 375	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose$FragmentEntries:entries	Ljava/util/List;
    //   495: invokeinterface 379 1 0
    //   500: astore 55
    //   502: goto +549 -> 1051
    //   505: iconst_0
    //   506: goto -116 -> 390
    //   509: iconst_1
    //   510: goto -120 -> 390
    //   513: iconst_1
    //   514: goto +20 -> 534
    //   517: bipush 32
    //   519: goto +1133 -> 1652
    //   522: iload 7
    //   524: ifeq +87 -> 611
    //   527: goto +127 -> 654
    //   530: iconst_1
    //   531: goto +509 -> 1040
    //   534: istore 48
    //   536: iload 48
    //   538: i2l
    //   539: aload 32
    //   541: iconst_0
    //   542: iconst_3
    //   543: invokestatic 338	com/wowza/util/BufferUtils:longToByteArray	(J[BII)V
    //   546: aload 15
    //   548: aload 32
    //   550: iconst_0
    //   551: iconst_3
    //   552: invokevirtual 351	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([BII)V
    //   555: aload 15
    //   557: iconst_1
    //   558: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   561: aload 15
    //   563: aload 26
    //   565: invokevirtual 365	java/lang/String:getBytes	()[B
    //   568: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   571: aload 15
    //   573: iconst_0
    //   574: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   577: iload 21
    //   579: i2l
    //   580: aload 32
    //   582: iconst_0
    //   583: iconst_4
    //   584: invokestatic 338	com/wowza/util/BufferUtils:longToByteArray	(J[BII)V
    //   587: aload 15
    //   589: aload 32
    //   591: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   594: iconst_1
    //   595: istore 49
    //   597: iconst_0
    //   598: istore 50
    //   600: goto +293 -> 893
    //   603: iload 7
    //   605: ifeq +459 -> 1064
    //   608: goto +380 -> 988
    //   611: iload 49
    //   613: i2l
    //   614: aload 32
    //   616: iconst_0
    //   617: iconst_4
    //   618: invokestatic 338	com/wowza/util/BufferUtils:longToByteArray	(J[BII)V
    //   621: aload 15
    //   623: aload 32
    //   625: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   628: iload 12
    //   630: i2l
    //   631: aload 32
    //   633: iconst_0
    //   634: iconst_4
    //   635: invokestatic 338	com/wowza/util/BufferUtils:longToByteArray	(J[BII)V
    //   638: aload 15
    //   640: aload 32
    //   642: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   645: iinc 49 1
    //   648: iinc 50 1
    //   651: goto +242 -> 893
    //   654: getstatic 182	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:a	Ljava/lang/Class;
    //   657: invokestatic 188	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   660: ldc_w 381
    //   663: sipush 222
    //   666: bipush 50
    //   668: idiv
    //   669: invokestatic 66	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   672: iconst_4
    //   673: anewarray 198	java/lang/Object
    //   676: dup
    //   677: iconst_0
    //   678: aload_2
    //   679: invokeinterface 206 1 0
    //   684: aastore
    //   685: dup
    //   686: iconst_1
    //   687: iload 50
    //   689: invokestatic 322	java/lang/Integer:valueOf	(I)Ljava/lang/Integer;
    //   692: aastore
    //   693: dup
    //   694: iconst_2
    //   695: iload 49
    //   697: invokestatic 322	java/lang/Integer:valueOf	(I)Ljava/lang/Integer;
    //   700: aastore
    //   701: dup
    //   702: iconst_3
    //   703: iload 12
    //   705: invokestatic 322	java/lang/Integer:valueOf	(I)Ljava/lang/Integer;
    //   708: aastore
    //   709: invokestatic 212	java/lang/String:format	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   712: invokevirtual 326	com/wowza/wms/logging/WMSLogger:info	(Ljava/lang/String;)V
    //   715: goto -104 -> 611
    //   718: lconst_0
    //   719: lstore 43
    //   721: lload 43
    //   723: aload 33
    //   725: iconst_0
    //   726: bipush 8
    //   728: invokestatic 338	com/wowza/util/BufferUtils:longToByteArray	(J[BII)V
    //   731: aload 15
    //   733: aload 33
    //   735: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   738: aload 15
    //   740: aload 22
    //   742: invokevirtual 365	java/lang/String:getBytes	()[B
    //   745: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   748: aload 15
    //   750: iconst_0
    //   751: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   754: aload 15
    //   756: iconst_1
    //   757: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   760: aload 15
    //   762: iconst_0
    //   763: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   766: aload 15
    //   768: iconst_1
    //   769: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   772: aload 15
    //   774: aload 23
    //   776: invokevirtual 365	java/lang/String:getBytes	()[B
    //   779: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   782: aload 15
    //   784: iconst_0
    //   785: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   788: aload 15
    //   790: aload 24
    //   792: invokevirtual 365	java/lang/String:getBytes	()[B
    //   795: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   798: aload 15
    //   800: iconst_0
    //   801: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   804: aload 15
    //   806: aload 25
    //   808: invokevirtual 365	java/lang/String:getBytes	()[B
    //   811: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   814: aload 15
    //   816: iconst_0
    //   817: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   820: aload 15
    //   822: iconst_1
    //   823: invokevirtual 362	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	(I)V
    //   826: aload 15
    //   828: invokevirtual 384	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:getFilePointer	()J
    //   831: lstore 45
    //   833: aload 15
    //   835: aload 32
    //   837: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   840: aload 15
    //   842: bipush 9
    //   844: bipush 43
    //   846: imul
    //   847: ldc_w 386
    //   850: invokestatic 196	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   853: invokevirtual 365	java/lang/String:getBytes	()[B
    //   856: invokevirtual 343	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([B)V
    //   859: iconst_1
    //   860: istore 47
    //   862: iload 47
    //   864: i2l
    //   865: aload 32
    //   867: iconst_0
    //   868: iconst_1
    //   869: invokestatic 338	com/wowza/util/BufferUtils:longToByteArray	(J[BII)V
    //   872: aload 15
    //   874: aload 32
    //   876: iconst_0
    //   877: iconst_1
    //   878: invokevirtual 351	com/wowza/wms/httpstreamer/sanjosestreaming/util/SanJoseRandomAccessBuffer:write	([BII)V
    //   881: iload 39
    //   883: ifeq +6 -> 889
    //   886: goto -373 -> 513
    //   889: iconst_0
    //   890: goto -356 -> 534
    //   893: iload 50
    //   895: iload 21
    //   897: if_icmpge +189 -> 1086
    //   900: goto -378 -> 522
    //   903: getstatic 182	com/wowza/wms/httpstreamer/sanjosestreaming/dvr/DvrPlayerAdapterSanJose:a	Ljava/lang/Class;
    //   906: invokestatic 188	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   909: ldc_w 388
    //   912: bipush 13
    //   914: bipush -18
    //   916: isub
    //   917: invokestatic 66	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   920: iconst_2
    //   921: anewarray 198	java/lang/Object
    //   924: dup
    //   925: iconst_0
    //   926: aload_2
    //   927: invokeinterface 206 1 0
    //   932: aastore
    //   933: dup
    //   934: iconst_1
    //   935: aload 28
    //   937: aastore
    //   938: invokestatic 212	java/lang/String:format	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   941: invokevirtual 326	com/wowza/wms/logging/WMSLogger:info	(Ljava/lang/String;)V
    //   944: getstatic 182	com/wowza/wms/httpstreamer/sanjose
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

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