News for hackers. Stuff that matters.
Re:RecordRTC: JavaScript library for audio, video, screen, a... by bobbyz on Friday July 17, 2020 @11:42AM (#23871729)
My experience with this library is iffy. While it's fairly painless to use, a benefit which cannot be understated since implementing WebRTC is actually incredibly difficult in practice, it doesn't seem to be well optimized especially if recording two sources at the same time (audio, screen, camera). People have reported a variety of performance issues with my side project serverless.cam such as general lag while recording and poor synchronization (one source lagging behind another).
Re:RecordRTC: JavaScript library for audio, video, screen, a... by bobbyz on Friday July 17, 2020 @01:41PM (#23873236)
In regards to the difficulty of using WebRTC, the API was created by Ericsson which also invented Erlang, a language renowned for its concurrency capabilities but also its otherworldly syntax, so it shares that same uncannily foreign design and syntax. If there was any one company that was employing technology from an advanced alien civilization, my suspicions would immediately fall on Ericsson.
Re:RecordRTC: JavaScript library for audio, video, screen, a... by hackcasual on Friday July 17, 2020 @06:10PM (#23876546)
Same company sure, but different people and really different eras. That'd be like saying the company that built DX12 was the same company that built BASIC.

WebRTC's arcane operations are more a product of the realities of peer-to-peer communication in a mostly NAT'ted world and SIP. Ericsson was big into IMS, and if you rub some Web on IMS, you get WebRTC.

Re:RecordRTC: JavaScript library for audio, video, screen, a... by bobbyz on Friday July 17, 2020 @06:34PM (#23876769)
I get your point, but there must be some sort of connection. Erlang and WebRTC are two of the strangest things I've ever seen. It would seem implausible for one company to repeatedly produce such oddities by chance.
Re:RecordRTC: JavaScript library for audio, video, screen, a... by kohtatsu on Friday July 17, 2020 @03:03PM (#23874168)
Huh, that's actually pretty neat.
Re:RecordRTC: JavaScript library for audio, video, screen, a... by JacobiX on Friday July 17, 2020 @03:06PM (#23874199)
I use this extensively for mixing/recording video streams, although I think that Muaz library is great, but browsers support for WebRTC recording is far from being production ready.

Some issues off the top of my head : - Non seekable videos in Chrome - Video/audio lags and de-synchronization - Loss of audio streams in Chrome

Re:RecordRTC: JavaScript library for audio, video, screen, a... by bobbyz on Friday July 17, 2020 @04:26PM (#23875117)
I remember thinking how insane it was that a big chunk of browser audio/video apps ran off of a library authored by one random dude.
Re:RecordRTC: JavaScript library for audio, video, screen, a... by amelius on Friday July 17, 2020 @04:27PM (#23875121)
Is there another library you can recommend?
Re:RecordRTC: JavaScript library for audio, video, screen, a... by expialidocious on Friday July 17, 2020 @08:14PM (#23877629)
Chad Hart just posted his observations on using the getDisplayMedia API itself.

https://webrtchacks.com/jitsi-recording-getdisplaymedia-audi...

Re:RecordRTC: JavaScript library for audio, video, screen, a... by bobbyz on Friday July 17, 2020 @05:53PM (#23876348)
I have yet to find anything.