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
Property 'peerConnection' does not exist on type 'SessionDescriptionHandler' #816
Comments
To be more precise peerConnection does exist on the file platform/web/session-description-handler/session-description-handler.ts public peerConnection!: RTCPeerConnection; But not on api/session-description-handler.ts Is that why it's not part of the definition file? |
I meet the same issue, and I import the SessionDescriptionHandler from 'sip.js/lib/platform/web' to fix it, it works well so far. |
Everything in 'sip.js/lib/platform/web' is exported in the |
Type |
If someone should also have this problem. That's how it worked for me:
Improvements and remarks are gladly accepted. |
Hello,
I got the following problem when trying to migrate from sipjs 0.15.11 to sjipjs 0.16.1. Am I missing something here?
Describe the bug
Property 'peerConnection' does not exist on type 'SessionDescriptionHandler'
Logs
To Reproduce
Steps to reproduce the behavior:
Using this code
Expected behavior
Property 'peerConnection' should exist on type 'SessionDescriptionHandler'
Observed behavior
Compilation throws the error :
Property 'peerConnection' does not exist on type 'SessionDescriptionHandler'
Environment Information
The text was updated successfully, but these errors were encountered: