webkit2 – How to activate and make webrtc available in WebKit2Gtk?
I’ve just upgraded libwebkit2gtk from ubuntu ‘s repository to one of the latest version : webkitgtk.org/2025/04/08/webkitgtk-2.48.html
I’ve checked with this script ( blog.ivrpowers.com/post/coding/browser-webrtc/ ) :
and I’ve got : webrtc__not_supported_site.com
But If I change the script in :
function selectTechnologyLocation() {
// https://stackoverflow.com/questions/46021469/webrtc-not-available?rq=2
var isWebRTCSupported = navigator.mediaDevices.getUserMedia;
if (window.navigator.userAgent.indexOf("Edge") > -1) {
console.log(UNSUPPORTED_URL);
return UNSUPPORTED_URL;
}
if (isWebRTCSupported) {
console.log(SUPPORTED_URL);
return SUPPORTED_URL;
}
else {
console.log(UNSUPPORTED_URL);
return UNSUPPORTED_URL;
}
}
window.location = selectTechnologyLocation();
I get: webrtc_supported_site.com
So… I do not understand if webrtc is or not available.
And…
How to activate and make webrtc available in WebKit2Gtk?
OS: Ubuntu 24.04
Read more here: Source link
