Open Abbyzhoum opened 1 year ago
Have you tried isReadyToReoffer
without the underscore _
?
I tried, look at the picture above
https://github.com/versatica/JsSIP/blob/master/lib/RTCSession.d.ts
The type definition is indeed inconsistent with the actual js class, it doesn't even define a isReadyToReOffer
method, consider exposing it correctly as the official doc suggests
also https://github.com/versatica/JsSIP/blob/master/lib/JsSIP.d.ts#L13
it doesn't export Socket
and WeightedSocket
, please consider adjusting the d.ts by removing those two.
https://github.com/versatica/JsSIP/blob/master/lib/WebSocketInterface.js#L6
When I use the isReadyToReOffer method to verify if it supports unhold call,I found that the isReadyToReOffer method does not exist. I use _isReadyToReOffer is OK. Please check the issue,Thanks!