code: private void sendOnPlayStatus(String code, int duration, long bytes) {
          if (log.isDebugEnabled()) {
              log.debug("Sending onPlayStatus - code: {} duration: {} bytes: {}", code, duration, bytes);
          }
          // create the buffer
          IoBuffer buf = IoBuffer.allocate(102);
          buf.setAutoExpand(true);
          Output out = new Output(buf);
          out.writeString("onPlayStatus");
          ObjectMap<Object, Object> args = new ObjectMap<>();
          args.put("code", code);
          args.put("level", Status.STATUS);
          args.put("duration", duration);
          args.put("bytes", bytes);
          String name = currentItem.get().getName();
          if (StatusCodes.NS_PLAY_TRANSITION_COMPLETE.equals(code)) {
              args.put("clientId", streamId);
              args.put("details", name);
              args.put("description", String.format("Transitioned to %s", name));
              args.put("isFastPlay", false);
          }
          out.writeObject(args);
          buf.flip();
          Notify event = new Notify(buf, "onPlayStatus");
          if (lastMessageTs > 0) {
              event.setTimestamp(lastMessageTs);
          } else {
              event.setTimestamp(0);
          }
          RTMPMessage msg = RTMPMessage.build(event);
          doPushMessage(msg);
      }
docs: Sends an onPlayStatus message.
  
  http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/NetDataEvent.html
  
  @param code
  @param duration
  @param bytes