frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Automated WebRTC Livestream Recording

3•PhilipWee•1h ago
Hey guys, I'm trying to build an automated system to record livestreams, but I'm not sure if I am doing something completely wrong or if there's a better way of doing this

Requirements

- Hands free, runs 24/7

- Incoming stream on webpage is only in WebRTC (No m3u8, etc)

- Needs to be able to record multiple (up to 4 and hopefully more) streams at once

Notes - It doesn't have to be a chrome extension

- I'm happy to download a simple app to do this if one exists

My current process: 1. I have a seperate detection script that detects when a video starts which works fine

2. Made a chrome extension

3. Chrome extension has a content script

4. Content script injects a header script into the webpage

1. The header script wraps the `WebRTC` object in a listener proxy

2. For all `WebRTC` connections made, store the audio and video tracks

5. When audio and video track is successfully found

1. Start recording stream with `MediaRecorder`

  1. This stream gets restarted every 1hr

  2. Each stream records for 1hr 10mins

 2. On each 15s chunk

 3. Convert chunk data into base64 blob

 4. Send base64 blob via messaging to content script
6. On receiving in the content script, it forwards the data to the background script

7. The background script uploads via TUS to supabase

My current problems:

1. Several 15s chunks aren't getting uploaded

2. Some of the 15s chunks are quite laggy

3. Especially during the overlapping parts, I'm losing alot of 15s chunks

If anyone has any suggestions on improving the system, or what I'm doing wrong, etc, do let me know! I've been struggling with this for quite a while so any insights or suggestions would be greatly appreciated

The Useless Web

https://theuselessweb.com/
1•nateb2022•4m ago•0 comments

What Is Plus Times Plus? (Lambda Calculus Visually) [video]

https://www.youtube.com/watch?v=RcVA8Nj6HEo
2•rramadass•7m ago•0 comments

The US's 2k-year-old mystery mounds

https://www.bbc.com/travel/article/20221204-the-us-2000-year-old-mystery-mounds
1•1659447091•7m ago•0 comments

The Monty Hall Problem, a side-by-side simulation

https://www.pcloadletter.dev/blog/monty/
3•ronbenton•15m ago•1 comments

The State of Agentic iOS Engineering in 2026

https://dimillian.medium.com/the-state-of-agentic-ios-engineering-in-2026-c5f0cbaa7b34
2•Anon84•17m ago•1 comments

On biological & artificial consciousness: A case for biological computationalism

https://www.sciencedirect.com/science/article/pii/S0149763425005251
2•bookofjoe•19m ago•0 comments

Show HN: Sentinel Shield – Pure C DMZ for AI Security (23K LOC, <1ms latency)

2•Chgdz•19m ago•0 comments

Ask HN: Favorite Articles in the ACM Digital Library

2•lioeters•22m ago•2 comments

Interpreter – Offline screen translator for Japanese retro games

https://github.com/bquenin/interpreter
3•bane•26m ago•0 comments

Making beautiful PDF documents from HTML and CSS

https://css4.pub/
2•jez•26m ago•0 comments

Ask HN: Which AI productivity tools are you using in 2026?

3•Vishal19111999•30m ago•0 comments

Ukraine enters EU's single mobile roaming zone

https://www.yahoo.com/news/articles/ukraine-enters-eus-single-mobile-164712435.html
4•gok•32m ago•0 comments

Steam On Linux Ends 2025 With 3.19% Marketshare

https://www.phoronix.com/news/Steam-December-2025-Survey
7•doener•33m ago•0 comments

Engineering Is Becoming Beekeeping

https://bits.logic.inc/p/engineering-is-becoming-beekeeping
5•highfrequency•34m ago•0 comments

Balsa M2-F3 Lifting Body

https://www.engineersneedart.com/blog/m2f32025/m2f32025.html
3•chmaynard•34m ago•0 comments

Outrage as X's Grok morphs photos of women, children into explicit content

https://www.cnbctv18.com/technology/global-outrage-as-xs-grok-morphs-photos-of-women-children-int...
11•anonymousab•35m ago•1 comments

China's BYD set to overtake Tesla as top EV seller

https://www.bbc.com/news/articles/cj9rjwpvmpzo
11•decimalenough•36m ago•1 comments

Show HN: VideoCalling.app – Free Video Calling Service

https://videocalling.app
2•Airyisland•37m ago•0 comments

Webmention is an open web standard (W3C Recommendation) for conversations

https://indieweb.org/Webmention
4•doener•39m ago•0 comments

Show HN: Turning 100-plus comments HN threads into readable discussions

4•freakynit•42m ago•1 comments

DENT: A network operating system (NOS) for everyone else

https://dent.dev/
3•teleforce•42m ago•0 comments

Ask HN: Best videos for learning Java concurrency?

2•michalgad•43m ago•1 comments

Delete Request and Opt-Out Platform (Drop)

https://consumer.drop.privacy.ca.gov/
3•doener•43m ago•1 comments

Simulating a negative tax city on Cities Skylines 2 [video]

https://www.youtube.com/watch?v=MK_0mQ7TLY0
2•MinimalAction•46m ago•0 comments

ReactOS Starts 2026 with a Major Step Toward Windows NT6 Compatibility

https://www.phoronix.com/news/ReactOS-Starts-2026
7•hackthemack•48m ago•0 comments

Ask HN: Building a tool to ensure things get done on time

3•Vishal19111999•48m ago•0 comments

I bootstrapped an AI OSINT search engine to 35k users. Trying $5 Day Pass Model

https://ai.cylect.io/
2•nuzzl•50m ago•1 comments

Cerelog ESP-EEG is a new 8-channel biosensing board at a hobbyist-friendly price

https://www.autodidacts.io/cerelog-esp-eeg-affordable-openbci-like-board/
3•Curiositry•58m ago•0 comments

Designing Predictable and Maintainable Forms in React

https://jsdev.space/react-form-primitives/
3•javatuts•1h ago•0 comments

Construction to begin on Florida expressway that will charge EVs while driving

https://www.nbcmiami.com/news/construction-to-begin-on-florida-expressway-that-will-charge-evs-wh...
5•geox•1h ago•3 comments