Reputation: 6860
Does sipML provide any info about call quality? Something like dropped packets or packets arriving out of order?
I have looked at sipML API documentation, but did not find anything relevant. Also looked into the Developer Tools of Firefox/Chrome, but didn't find such metrics there.
We would like to implement a call quality indicator similar to what other communication tools like Skype for Business or Teams have.
Upvotes: 3
Views: 279
Reputation: 31815
The sipML library uses two different protocols as the transport layer:
As SIP is agnostic to the transport layer, it doesn't bring any feature related to transport layers packets. So there is no actual "out of the box" solution to detect quality of service. The solution would be to have a server sending UDP packets back to the client in order to compute some metrics, but that requires some special implementation on both client and server side.
Upvotes: 0
Reputation: 17305
There doesn't seem to be an official API but if you can get a hold of the underlying RTCPeerConnection object (here?) you can use the full getStats() API
Upvotes: 0