Posts

Showing posts with the label WebRTC

A New Collection of Thoughtful Learning Apps — Now Available on iOS & Android

Image
I’m excited to share a set of mobile apps I’ve recently completed and published on both the Google Play Store and the Apple App Store. These apps are designed with a simple goal in mind: to make meaningful, structured content more accessible, whether you’re studying theology or improving your English vocabulary. 📱 Now Available on Both Platforms All apps are live and available for download: Google Play Developer Page: https://play.google.com/store/apps/dev?id=5835943159853189043 Apple App Store Developer Page: https://apps.apple.com/ca/developer/q-z-l-corp/id1888794100 📖 Theology & Confession Study Apps For those interested in Reformed theology and classical Christian teachings, I’ve developed a series of apps that present foundational texts in a clean, focused reading format: The Belgic Confession Canons of Dort Heidelberg Catechism Westminster Shorter Catechism Each app is designed to provide a distraction-free experience, making it easier to read, reflect, and revisit these im...

WebRTC recording via Kurento media server

Official guide I encountered some errors while following the Official guide. Lucky, I fixed all the errors and make it work finally. Notes my workaround here, hope it work for you if you have the same problem. gpg: keyserver receive failed: keyserver error local install guide solution from stackoverflow sudo apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-keys 5AFA7A83 WebSocket connection to 'wss://<local_ip>:8433/kurento' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED cause the application server is started with https if you follow the guide: http-server -p 8443 -S -C keys/server.crt -K keys/server.key but kurento media server start without ssl by default config. You can get from the config and the default port is 8888 . /etc/kurento/kurento.conf.json solution modify kurento media server config to enable ssl and use the same cert that used for your application server. it is a little complex. but we have a easy solution, j...

How to Record video use getUserMedia and MediaRecorder API

example sample codes <div> <video id='camera'></video> </div> <script type='text/javascript'> var p = navigator.mediaDevices.getUserMedia({ audio: true, video: true }); p.then(function(mediaStream) { var video = document.querySelector('video'); video.src = window.URL.createObjectURL(mediaStream); video.onloadedmetadata = function() { video.muted = true; video.play(); } var mediaRecorder = new MediaRecorder(mediaStream); var chunks = []; mediaRecorder.ondataavailable = function(e) { chunks.push(e.data); } mediaRecorder.onstop = function() { var blob = new Blob(chunks, {'type' : 'video/webm'}); chunks = []; var hyperlink = document.createElement('a'); hyperlink.href = URL.createObjectURL(blob); video.src = hyperlink.href; video.muted = false; video.c...