Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voip answered call not audible. #4039

Closed
JaspreetiOSDev opened this issue Feb 15, 2021 · 21 comments · Fixed by matrix-org/matrix-ios-sdk#1032
Closed

Voip answered call not audible. #4039

JaspreetiOSDev opened this issue Feb 15, 2021 · 21 comments · Fixed by matrix-org/matrix-ios-sdk#1032
Assignees
Labels

Comments

@JaspreetiOSDev
Copy link

After app killed and screen locked voip voice not audible. If you have any update please let us know.

@ismailgulek ismailgulek self-assigned this Feb 15, 2021
@ismailgulek
Copy link
Contributor

On which version did you experience this?

@Shamam22
Copy link

Element V1.2.1.
I have the same problem.

@ismailgulek
Copy link
Contributor

I'm not able to reproduce this on 1.2.1. Can you give more details, like what's the other client and what is the version of that? And if you can send a bug report, that'd be helpful.

@JaspreetiOSDev
Copy link
Author

JaspreetiOSDev commented Feb 18, 2021 via email

@yoman88111
Copy link

I am not sure if this is the same issue but we noticed a significant degradation in audio connection establishment after 1.2.1 update. In conditions when connection is only possible with TURN server it now requires multiple redial attempts in both directions to get audio going through.

@Shamam22
Copy link

2 clients on IOS version RIOT / 1.2.1. The call passes the voice no.
If the client version is less than 1.2.0, the voice works. It works fine with clients on Android.
If the first client has the RIOT / 1.2.1 version, the second RIOTNSE / 1.2.1 - the voice works.
If you put it on hold and return when the voice is not working, a voice appears.

@JaspreetiOSDev
Copy link
Author

I was using 1.0.14 version

@ismailgulek
Copy link
Contributor

I'm only able to repro this due to #1934 right now. Assuming the issue you see is not the same, we should dig more into this.

@JaspreetiOSDev
Copy link
Author

@ismailgulek I have enable microphone in app delegate so I think it is not related to microphone issue. But I am getting voice missing every time while receiving call. after kill app and locked screen.

@ismailgulek
Copy link
Contributor

ismailgulek commented Feb 23, 2021

I could repro this guys, investigating on WebRTC level.

@JaspreetiOSDev
Copy link
Author

I have implemented all changes provided by you but on first call after kill app and locked screen. No voice coming.

@ismailgulek
Copy link
Contributor

ismailgulek commented Feb 26, 2021

@JaspreetiOSDev you need to implement them on both sides of the call.

@JaspreetiOSDev
Copy link
Author

JaspreetiOSDev commented Feb 26, 2021

@ismailgulek I am calling to iOS Device from Web app.

@JaspreetiOSDev
Copy link
Author

@ismailgulek Now when I am accepting call from iOS than ringer is continuously ringing on web app end after app kill and locked screen.

@JaspreetiOSDev
Copy link
Author

@ismailgulek When app killed and phone locked then in MXCall.m class following condition is always false:-

  • (void)answer

      if (self.state == MXCallStateRinging
          || (self.callSignalingRoom.summary.isEncrypted && self.state == MXCallStateCreateAnswer))
      {
    

This condition is always false in answer method that's why I am not able to answer the call and at the web end ringer in ringing continuously. Any feedback on this. Please let me know

@ismailgulek
Copy link
Contributor

ismailgulek commented Feb 27, 2021

@JaspreetiOSDev can you provide your client logs please? A bug report would be helpful after seeing the issue.

@JaspreetSingh1986
Copy link

JaspreetSingh1986 commented Feb 28, 2021

@ismailgulek I Checked this issue many time and some time this method not giving response-

    [peerConnection       setRemoteDescription:sessionDescription   completionHandler:^(NSError * _Nullable error) {

means I am not getting success and error in this method after the call.

after app killed close app and get call and answer the call and some time this method giving success response and sometime it is not giving any response and stuck. Completion handler not calling some time. I have also check check sessionDescription and sdp for this method it is also valid.

@JaspreetiOSDev
Copy link
Author

@ismailgulek any update on above comment actually I am getting this issue on every time from iOS to iOS call. not able to pick call if app killed and locked screen.

@ismailgulek
Copy link
Contributor

Please test on develop.element.io as it includes some bug fixes too on the call connectivity side, otherwise we should wait for Element iOS 1.2.3 to be available for everyone.

@JaspreetiOSDev
Copy link
Author

Actually Web to iOS is working fine audio configure properly but iOS to iOS it is showing Unconfigure audio session and call disconnect when accept the call.

@JaspreetiOSDev
Copy link
Author

JaspreetiOSDev commented Mar 8, 2021

@ismailgulek

     [peerConnection       setRemoteDescription:sessionDescription   completionHandler:^(NSError * _Nullable error) {

this method is not executing, that's why iOS user is not able to answer the call.

Any idea about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants