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

rtcsession.isOnHold() always returns false in remote hold state #786

Open
badgerous opened this issue Oct 10, 2022 · 0 comments
Open

rtcsession.isOnHold() always returns false in remote hold state #786

badgerous opened this issue Oct 10, 2022 · 0 comments

Comments

@badgerous
Copy link

Remote hold state is only set "true" inside _processInDialogSdpOffer function that is never triggered during audio calls ( mediaConstraints = { audio: true, video: false } ).
It also fails during video calls as the iterator returns only the first part of the SDP request, which somehow always has the sendrecv sdp direction and doesn't reflect the hold state, and ignores the rest.
It only works fine for pure video calls:
mediaConstraints = { audio: false, video: true }
In that case the SDP request consists of only one part and is handled correctly.

Tested in Chrome and Firefox with JsSIP (v3.8) based clients with Asterisk in backend.

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

No branches or pull requests

1 participant