code: @Override
      public void connectionOpened(RTMPConnection conn) {
          log.trace("connectionOpened - conn: {}", conn);
          // Send "connect" call to the server
          Channel channel = conn.getChannel((byte) 3);
          PendingCall pendingCall = new PendingCall("connect");
          pendingCall.setArguments(connectArguments);
          Invoke invoke = new Invoke(pendingCall);
          invoke.setConnectionParams(connectionParams);
          invoke.setTransactionId(1);
          if (connectCallback != null) {
              pendingCall.registerCallback(connectCallback);
          }
          conn.registerPendingCall(invoke.getTransactionId(), pendingCall);
          log.debug("Writing 'connect' invoke: {}, invokeId: {}", invoke, invoke.getTransactionId());
          channel.write(invoke);
      }
docs: {@inheritDoc}