< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Can add a getState() function for InviteSession ?


Currently the InviteSession just has these functions to query the state,
      bool isConnected() const;
      bool isTerminated() const;
      bool isEarly() const;     // UAC Early states
      bool isAccepted() const;  // UAS States after accept is called



Sometimes it's not enough, I  think maybe we can add this function:

bool getState()
{
  return mState;
}

Thanks