-
andrey.utkin
Is there a tool to test, end to end, media streams quality (latency, loss, distortion after decoding) in a video call of two clients? If not, would you be interested to take part in, or sponsor, development of such tool? My interest is to compare hosting XMPP server on my homeserver and a datacenter.
-
MattJ
andrey.utkin, by "XMPP server" I guess you mean "TURN server"? In my experience the majority of calls don't need a TURN server and therefore would be unaffected by the location of the XMPP or TURN server
-
MattJ
and for people who host their XMPP server at home, I still always recommend that they host TURN away from their home, for performance and security reasons
-
MattJ
But it's true, I have not measure the performance part✎ -
MattJ
But it's true, I have not measured the performance part ✏
-
MattJ
and I don't know of tools that could do so
-
MattJ
Maybe wireshark
-
dele.olajide
>andrey.utkin : Is there a tool to test, end to end, media streams quality (latency, loss, distortion after decoding) in a video call of two clients? If you are using WebRTC, there is RTCPeerConnection: getStats() See https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats
-
TheCoffeMaker
didn't try it but there is this project that may be helpful https://github.com/vpalmisano/webrtcperf
-
Matt
Hi
-
theTedd
Greetings
-
theTedd
Or not
-
edhelas
singpolyma In your client when you add the screen sharing track, how do you differentiate the webcam from the other ?
-
singpolyma
Currently I don't
-
edhelas
Also WebRTC is basically do a renegotiation while Jingle wants a simple content-add, this means you have to keep state of the SDP and completely rebuild it from the diff somehow no ?✎ -
edhelas
Also WebRTC is basically doing a renegotiation while Jingle wants a simple content-add, this means you have to keep state of the SDP and completely rebuild it from the diff somehow no ? ✏
-
singpolyma
WebRTC keeps the SDP of both sides for me
-
edhelas
Yes but when you do addTrack, a new complete SDP is generate, with the two tracks no ?
-
edhelas
Jingle wants only the new one
-
edhelas
*generated
-
singpolyma
Right so here I get the new track from the client https://github.com/snikket-im/snikket-sdk/blob/main/snikket/jingle/Session.hx#L448 and I say to send a content-add by not including anything mathching "oldmids" which I compute from localdescription before adding the new track. then I add the new track. then in https://github.com/snikket-im/snikket-sdk/blob/main/snikket/jingle/Session.hx#L555 I call setupLocalDescription to generate the new local SDP. and you can see at https://github.com/snikket-im/snikket-sdk/blob/main/snikket/jingle/Session.hx#L579 I filter out anything matching those old mids
-
edhelas
I see
-
edhelas
I do the SDP <-> Jingle PHP side so I'll have to somehow keep a trace of things there, makes things complicated