ApiRTC / ApiRTC-cordova-demo

Example of how to use ApiRTC into mobile application
14 stars 8 forks source link

some users always get contacted state #11

Closed AmrAbdalrahman closed 4 years ago

AmrAbdalrahman commented 4 years ago

I use your library with ionic 3 and works well. I get call state info for users already online but some users always get contacted as his/her state !!. Every user has a unique code associated with apirtc in initialization.

I tried to get a call state for each online user.

I use this code to get call state for each online user according to this reference

  getConnectedDoctorInfo(userCode: String) {
    return apiRTC.session.getConnectedUserInfo(`${userCode}`, 'callState');
  }

but some users always get contacted state instead of no_call state !

FredLuart commented 4 years ago

Closing the issue as it is corrected