Day 7/100
And so,I was able to establish a connection between two sockets in a room successfully.Currently, I used the mesh topology for the connection which means it is selective and might not work on certain network or devices.
#StrimLit#100DaysOfCode#BuildInPublic
So because of that, there can be race conditions, high latency, etc that breaks the performance. So you might ask me why I used that then; well, I did it because I wanted to understand how everything under the hood worked - from websockets to RTCPeerConnection to ICE Candidate...
Also,due to the mesh topology approach, the app functionality can break when they're up to 3 or more users. Here's why: Every single user in the meeting room has to establish a one-on-one connection to every other user in the room and that's basically because of the mesh approach
Day 6/100
Started solving dsa problems today ๐I decided to use Neetcode's structured pattern. This is a problem titled "Contains Duplicate" under the Neetcode 150. I'll try to visit leetcode sometimes too.
#LearningInPublic#100DaysOfCode#BuildInPublic
Funny how I couldn't update you guys about my progress on #StrimLit, I wasn't able to continue with the build this weekend, I was preparing - alongside my friends - for an hackathon and it consumed my weekend. More updates to come anyways ๐
@gianmauric@X Yes, currently live at https://t.co/7chHpQ0kOd. Still building the core functionality tho. I post updates about it everyday. Follow along ๐
Day 5/100
I experienced a vulnerable whereby a single socket connection was connecting up to twice and emitting the same event more than once causing the conditional rendering to fail, I dealt a lot with idempotency of events up till now
#StrimLit#100DaysOfCode#BuildInPublic
Day 3/100
I spent a lot of time yesterday learning how to implement websockets for emitting events, basically I was able to build the meeting room and establish the correct socket connection. Still building. Follow along the journey.
#StrimLit#100DaysOfCode#BuildInPublic
Day 4/100
Still building the connection between users in the meeting room. What were built today:
โ I implemented other https://t.co/YwgX4Gr5eR event handlers and client listeners peer-joined, offer, answer
โ Configure RTCPeerConnection
#StrimLit#100DaysOfCode#BuildInPublic