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

Call Hold/Resume Fails #361

Open
sbpkhostings opened this issue Feb 4, 2022 · 2 comments
Open

Call Hold/Resume Fails #361

sbpkhostings opened this issue Feb 4, 2022 · 2 comments

Comments

@sbpkhostings
Copy link

I am using the API version 2.1.4

When the call is placed on hold and then resumed, the previous media stream is no longer continued. The receiver does not get any audio.

@surfrock66
Copy link

surfrock66 commented Feb 16, 2022

We fixed this by making the resume asynchronous and using "replaceTrack" instead of "addTrack" which adds another Sender, instead of updating tracks in the existing sender. We think this is a change from the WebRTC API from when this was originally developed. Our commit is a giant bundled commit so a pull request isn't gonna just work easily, but the code is here on line 450 of this commit: L1kMakes@6fd731d#diff-0ca66776a62cfb4af660b32adc09131b21a58c29741db80e237ee710eb2ce5e6

@YasinKara
Copy link

I solved this problem by transferring the user to herself when he click to resume button.

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

No branches or pull requests

3 participants