Video yükleniyor...
Video Yüklenemedi
I'll bet your database can't do video calls...
96,129 görüntüleme • 8 ay önce •via X (Twitter)
56 Yorum

it can actually. video calls with Postgres

Pretty sure this is the world's first video call over a database. This is the code by the way:

you're not the 1st GUN & BUN presented SFNode 4+ years ago a play by play doing this in JS lol, end to end browser to browser, no central servers, open source, self hosting. :)

This is incredible. It's a better idea than it sounds like at first!

let's do a podcast and swap DB notes!

Would love to!

Y'all need to make Agent Skills ASAP. Your integration into the market would definitely spike.

We really really do, will work on it

Can't wait!

ok this is rlly cool

Ok this is so cool, I really needed this for a personal project 🙏

Wow. Wait, could we do in-game proximity chat?

We surely could. I think we might consider it for @BitCraftOnline. More experimentation is needed!

1 hour + GPT5.2 + SpacetimeDB 🤯

@_chenglou Hi just fyi you’re actually not allowed to do this

@_chenglou 😂

You mean this video call is streaming via database How bit by bit or 💀

Yep, the database is streaming the data in realtime

That must be pretty fast with zero latency 😳

Who would my database even call? I don’t think it has any friends.

Interesting

6 years late, sweeties time travel to catch up 😘

wild stuff guys congrats

Just checked the code out, yes video and audio tables are being written every frame. Insane stuff. I guess this is by default recording it as well.

Goated

For what reason are these two tightly coupled?

your jocking right?

Surprisingly, we are dead serious

You mean to say the video and audio frames are being written and read to SpacetimeDB directly? Or is it webrtc (likely) Surely I'm misunderstanding it, no?

The former. You understand perfectly.

crazy. You've got my attention now!

wait what

Do you mean the DB handled signaling/state, or did you actually stream the media through it? If the latter, how do you handle latency, ordering, and real-time delivery?

Streaming the media through the database!

It's over a TCP socket. SpacetimeDB handles the ordering as it would with any transaction.

WTF?

What the hell that's so cool

Holy, that's wild

the db does a what?

Wait what???

hey @spacetimedb check Clockwork Labs github page, the community is attempting to send you $SOL to help support the project!!

"we're not using QUIC" do you plan to?

Yep!

I'm assuming you have fallback implementation for platforms that don't support QUIC yet. All major browsers already have it. @bunjavascript doesn't (GH issue been open since Oct 2024). WebTransport protocol RFC still not ratified/finalized by @ietf.

@bunjavascript @ietf Yep, we’ll fall back to websocket

@bunjavascript @ietf Or WebRTC here's a rust implementation by the great people at @signalapp

@bunjavascript @ietf @signalapp That as well, true. Many a fallback to be had!

Is there space skills

And pricing for that ?

now you're permanently trapped in a users table with a connected_peer_id column and a live websocket subscription can't escape, bro your face is just a row in the presence module forever xD one wrong reducer and pogly ghosts you from existence, peak relational prison

Huh?????? That's nuts.

What’s the efficient data structure for video calls? Can’t imagine B+Trees are doing the heavy lifting here

Do you support trigger or callback?

Hey what is going on ???? 😅😅

@evil_chip being evil! It’s pretty incredible how high quality the stream was.

gg
Benzer Videolar

Sensitive content
🚨💝NEW VIDEO!! 💝🚨 your inmate girlfriend can't stop breaking the rules during your video calls 🫠 watch the full video here! 🧡
kora 🌻
28,115 görüntüleme • 1 ay önce
Sensitive content
PLEASE GODZILLA I'LL DO ANYTHING! I'LL FUCKING SUCK YOUR DICK! YOU WANT ME TO EAT YOUR SHIT? I'LL EAT YOUR FUCKING SHIT
Rick
131,703 görüntüleme • 6 gün önce
