docs: @Override
      public JingleNegotiatorState getNegotiatorState() {
          JingleNegotiatorState result = JingleNegotiatorState.PENDING;
  
          if ((mediaNeg != null) && (transNeg != null)) {
  
              if ((mediaNeg.getNegotiatorState() == JingleNegotiatorState.SUCCEEDED)
                      || (transNeg.getNegotiatorState() == JingleNegotiatorState.SUCCEEDED))
                  result = JingleNegotiatorState.SUCCEEDED;
  
              if ((mediaNeg.getNegotiatorState() == JingleNegotiatorState.FAILED)
                      || (transNeg.getNegotiatorState() == JingleNegotiatorState.FAILED))
                  result = JingleNegotiatorState.FAILED;
          }
  
          // Store the state (to make it easier to know when debugging.)
          setNegotiatorState(result);
  
          return result;
      }