AmanLog

Latest Stories

Explore our collection of thoughts, tutorials, and insights.

Finally  deployed
new

Finally deployed

deployed on vercel yeah

Read article
Twitter
poco

Twitter

Very popular social media app.

Read article
4th sem
Aman

4th sem

4th semester is almost there, ah yes, the even sem, the enoyable one.

Read article
random post from vercel
random

random post from vercel

yooooohooo

Read article
Firebase :)
Aman

Firebase :)

Good platform for file uploads.

Read article
This is Not a random POST
Aman Partel

This is Not a random POST

Toji here

Read article
Silenced
aman-movie-maniac

Silenced

Okayissh movie

Read article
Never Have I Ever
poco

Never Have I Ever

Binged 4 seasons in 4 days, Oct 21 to Oct24

Read article
Age of Adeline
Aman

Age of Adeline

Amazing movie, watched a short and totally worth it.

Read article
New Post Got Edited
poco

New Post Got Edited

Editable

Read article
Queens Gambit !
Aman

Queens Gambit !

Top 5 from my favlist.

Read article
Windows
windows

Windows

This is post done from windows of my dual booted pc.

Read article
ML/AI
Aman-Data

ML/AI

Its easy and maths

Read article
Frieren
Frieren

Frieren

I have lived for over a thousand years.

Read article
13 reasons why
poco

13 reasons why

Okayish series, binged 2 seasons in 2 days.

Read article
NestJs
Aman Partel

NestJs

I am loving this framework.

Read article
Sick of Next Auth 😒
Aman

Sick of Next Auth 😒

wasted 5 hrs debugguing next/auth/error

Read article
Docker
whale boy

Docker

I learnt it yesterday

Read article
UI cleaner - Apr 26
maomao

UI cleaner - Apr 26

Will beautify it

Read article
This is clearn UI
testuser

This is clearn UI

orem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it? It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). Where does it come from? Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.d

Read article
Post from mobile updated
cat

Post from mobile updated

Updating UI today, spent almost 9 hrs on this, and I am loving it.

Read article
AI generated image
cat

AI generated image

This is the post being done from my poco m5 using in same network

Read article
New
Aaa

New

New

Read article
Teaching physics
aryas

Teaching physics

I love teaching physics to +2 students

Read article
Data
nis

Data

Data will be king of all times

Read article
Golang
Test

Golang

A great language indeed.

Read article
MonoPrompt
Test

MonoPrompt

Instant, Ephemeral AI chat assistant

Read article
Callback URL in NextAuth
Hari

Callback URL in NextAuth

Always check your AUTH_URL in env check if its https or http

Read article
webRTC
Hari

webRTC

Here’s the **short blog-style version**: --- # How WebRTC Works Under the Hood (Short + Clear) WebRTC looks like peer-to-peer magic, but it’s really a bunch of small systems working together. The browser can’t just “connect” to another browser — it needs help from servers to find each other, punch through NATs, and agree on how to send encrypted audio/video. ### 1. Signaling (your server) WebRTC doesn’t do signaling itself. You use WebSockets/Socket.IO/etc. to exchange: * Offer (SDP) * Answer (SDP) * ICE candidates (network info) This part is just matchmaking. ### 2. ICE: finding possible connection paths After exchanging offer/answer, both browsers gather **ICE candidates** — basically all possible IP/port combos they could use. Types: * Host (local LAN IP) * STUN (public IP/port) * TURN (relay fallback) ### 3. STUN: “What’s my public IP?” Browser hits a STUN server to discover its **public address** assigned by the router. If both peers can route UDP to each other → real P2P. ### 4. TURN: fallback relay If direct connection fails (strict NAT/firewall), WebRTC uses TURN. TURN relays all media through a server. Slower + costly, but reliable. ### 5. DTLS + SRTP/SCTP: secure media/data Once a path is chosen: * DTLS handshake → creates encryption keys * SRTP → encrypted audio/video * SCTP over DTLS → data channels Now peer-to-peer streaming begins. --- ### TL;DR WebRTC = P2P connection built through: 1. **Signaling** to exchange SDP + ICE 2. **ICE** testing connection paths 3. **STUN** to get public IP 4. **TURN** if direct path fails 5. **DTLS/SRTP** for encrypted media/data It looks magical, but it’s basically: **“Find a working route between two devices and stream securely.”**

Read article
okie dokie
Hari

okie dokie

hkhfnk

Read article
Blablaa
Winter

Blablaa

Random clicks ..

Read article
Test
Test

Test

test

Read article