6.11.0 (July 2019)¶
Kurento Media Server 6.11 has been released! This new version brings several improvements and fixes that have happened while we work on moving KMS to use the newer GStreamer 1.14 in Ubuntu Bionic.
To install it: Installation Guide.
New SDP syntax for WebRTC DataChannels¶
Firefox moved to the newer SDP syntax for SCTP (WebRTC DataChannels), and soon enough Chrome will also do the same. It was just a matter of time until support for DataChannels was totally broken (and it already started to be with Firefox), so this was a much needed update in Kurento.
This article explains the change: How to avoid Data Channel breaking.
Old style SDP syntax was like this:
m=application 54111 DTLS/SCTP 5000 a=sctpmap:5000 webrtc-datachannel 16
The new syntax is same same, but different:
m=application 54111 UDP/DTLS/SCTP webrtc-datachannel a=sctp-port:5000
And the fix was implemented in this pull request. We’re maintaining backwards compatibility, just like the Mozilla article explains: old offer results in old answer, and new offer results in new answer.
Tutorials fix for Node.js 10.x LTS¶
We had received several reports of the Tutorials not working properly with the latest Node.js Long Term Support release, 10.x. This was due to some very outdated dependencies listed in our
This issue should now be fixed, as the broken dependencies have been cleaned up, removing unneeded ones (
utf-8-validate) and updating the others (
ws) to latest versions.
Spring Boot 2 and Java 8¶
We’ve updated the Kurento Java client and tutorials, to make use of Spring Boot 2. This has forced us to leave Java 7 behind, and now Java 8 is the new standard version on which Kurento and OpenVidu projects will be developed and deployed.
Fix GStreamer memory leaks¶
The gst-plugins-bad module was leaking some memory for each new DTLS connection that was established. This meant that each and every WebRTC session was leaking memory!
After some effort spent with debuggers and delving into the library’s code, a very simple merge request was issued to the upstream project, which got accepted right away: gstreamer/gst-plugins-bad!422 (Fix leaked dtlscertificate in dtlsagent).
The memory increments got hugely reduced, but there is still some continuous increase on used memory (this time it is 10x smaller than previously, but it is still there). We’ll keep working on this, and should find out more about the remaining leaks during next weeks.
There were many other changes and fixes contributed by users; these maybe didn’t have an impact big enough to be featured in these Release Notes, but nevertheless their authors merit our sincere appreciation and thanks for sharing their work with the greater community: