コード例 #1
0
 public void A(
     com.jcumulus.server.rtmfp.stream.B b, int i, byte byte0, boolean flag, Packet b1, int j) {
   if (L == 0 && flag) byte0 |= com.jcumulus.server.rtmfp.publisher.E.N.intValue();
   if (j == 0) byte0 |= com.jcumulus.server.rtmfp.publisher.E.H.intValue();
   if (B) byte0 |= com.jcumulus.server.rtmfp.publisher.E.E.intValue();
   G.debug(
       (new StringBuilder())
           .append("FlowWriter ")
           .append(J)
           .append(" stage ")
           .append(i)
           .toString());
   b.B(byte0);
   if (flag) {
     b.D(J);
     b.D(i);
     b.D((byte0 & com.jcumulus.server.rtmfp.publisher.E.H.intValue()) == 0 ? i - L : 0);
     if (L == 0) {
       b.C(I);
       if (C > 0) {
         b.B((byte) (1 + com.jcumulus.server.rtmfp.pipe.C.A(C)));
         b.B((byte) 10);
         b.D(C);
       }
       b.B((byte) 0);
     }
   }
   if (j > 0) b.B(b1.F(j));
 }
コード例 #2
0
 int D(int i) {
   int j = com.jcumulus.server.rtmfp.pipe.C.A(J);
   j += com.jcumulus.server.rtmfp.pipe.C.A(i);
   if (L > i)
     G.error(
         (new StringBuilder())
             .append("stageAck ")
             .append(L)
             .append(" superior to stage ")
             .append(i)
             .append(" on flowWriter ")
             .append(J)
             .toString());
   j += com.jcumulus.server.rtmfp.pipe.C.A(i - L);
   j += L <= 0 ? I.length + (C != 0 ? 4 + com.jcumulus.server.rtmfp.pipe.C.A(C) : 2) : 0;
   return j;
 }