code: private long pendingVideoMessages() {
          IMessageOutput out = msgOutReference.get();
          if (out != null) {
              OOBControlMessage pendingRequest = new OOBControlMessage();
              pendingRequest.setTarget("ConnectionConsumer");
              pendingRequest.setServiceName("pendingVideoCount");
              out.sendOOBControlMessage(this, pendingRequest);
              if (pendingRequest.getResult() != null) {
                  return (Long) pendingRequest.getResult();
              }
          }
          return 0;
      }
docs: Get number of pending video messages
  
  @return Number of pending video messages