[{"data":1,"prerenderedAt":175},["ShallowReactive",2],{"navigation":3,"\u002Farticles\u002Fworkspace-part-2-adding-video-calls":38,"\u002Farticles\u002Fworkspace-part-2-adding-video-calls-surround":171},[4],{"title":5,"path":6,"stem":7,"children":8,"page":37},"Articles","\u002Farticles","articles",[9,13,17,21,25,29,33],{"title":10,"path":11,"stem":12},"Automated Deployment using Github Actions","\u002Farticles\u002Fautomated-deployment-using-github-actions","articles\u002Fautomated-deployment-using-github-actions",{"title":14,"path":15,"stem":16},"Automatically Logout All Tab Using VueUse Broadcast Channel with Pinia","\u002Farticles\u002Fautomatically-logout-all-tab-using-vueuse-broadcast-channel-with-pinia","articles\u002Fautomatically-logout-all-tab-using-vueuse-broadcast-channel-with-pinia",{"title":18,"path":19,"stem":20},"Clever but risky Elixir patterns","\u002Farticles\u002Fclever-but-risky-elixir-patterns","articles\u002Fclever-but-risky-elixir-patterns",{"title":22,"path":23,"stem":24},"Hide your NGINX header on Ubuntu","\u002Farticles\u002Fhide-your-nginx-header-on-ubuntu","articles\u002Fhide-your-nginx-header-on-ubuntu",{"title":26,"path":27,"stem":28},"Technical Debt","\u002Farticles\u002Ftechnical-debt","articles\u002Ftechnical-debt",{"title":30,"path":31,"stem":32},"Workspace: Part 1 - Building a real-time collaboration app","\u002Farticles\u002Fworkspace-part-1-building-a-real-time-home-for-team-collaboration","articles\u002Fworkspace-part-1-building-a-real-time-home-for-team-collaboration",{"title":34,"path":35,"stem":36},"Workspace: Part 2 - Bringing video calls into Workspace","\u002Farticles\u002Fworkspace-part-2-adding-video-calls","articles\u002Fworkspace-part-2-adding-video-calls",false,{"id":39,"title":34,"author":40,"body":44,"date":164,"description":165,"extension":166,"image":63,"meta":167,"minRead":158,"navigation":168,"path":35,"seo":169,"stem":36,"__hash__":170},"articles\u002Farticles\u002Fworkspace-part-2-adding-video-calls.md",{"name":41,"avatar":42},"Roslan Saidi",{"src":43,"alt":41},"https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13043860?v=4",{"type":45,"value":46,"toc":156},"minimark",[47,51,54,57,64,69,72,75,78,81,84,100,104,107,110,113,116,119,123,126,129,132,135,139,150,153],[48,49,50],"p",{},"Work is not always about typing messages or writing things down. Sometimes, it's easier to jump on a call and discuss things together.",[48,52,53],{},"So, I added audio and video calls to Workspace.",[48,55,56],{},"Now, members can talk while working on the same document, whiteboard, or task board. No need to switch between different apps just to discuss an idea.",[48,58,59],{},[60,61],"img",{"alt":62,"src":63},"Workspace's Conversation preview showing a document beside the video call panel.","\u002Fimages\u002Fworkspace\u002Fvideo-call-preview.png",[65,66,68],"h2",{"id":67},"lets-start-a-call","Let's start a call",[48,70,71],{},"The video button shows how many people are currently in the call. You can also see who is there before joining.",[48,73,74],{},"Using a phone? The button is available under \"More → Video call\".",[48,76,77],{},"Opening the call panel does not turn on your camera or microphone. Everything stays off until you choose to join.",[48,79,80],{},"You can also minimise the call and continue working in other spaces without disconnecting.",[48,82,83],{},"A few things to know:",[85,86,87,91,94,97],"ul",{},[88,89,90],"li",{},"You need to be a member of the space to join its call.",[88,92,93],{},"Invitations must be accepted before joining.",[88,95,96],{},"Each user can only join one call at a time.",[88,98,99],{},"If someone is already in another call, their status will show as \"User is busy\".",[65,101,103],{"id":102},"how-it-works-behind-the-scenes","How it works behind the scenes",[48,105,106],{},"I used LiveKit to handle audio and video calls. Under the hood, it uses WebRTC to send live audio and video between users.",[48,108,109],{},"The app checks whether a user is a member of the space before allowing them to join. Once approved, LiveKit takes care of the media connection.",[48,111,112],{},"The interesting part is that calls work separately from individual space pages.",[48,114,115],{},"This means you can move between spaces, open another document, or check your task board while staying connected to the same call.",[48,117,118],{},"Meanwhile, shared editing continues to work through the existing system.",[65,120,122],{"id":121},"what-about-performance","What about performance?",[48,124,125],{},"Video calls use quite a lot of network and device resources.",[48,127,128],{},"The more people who turn on their cameras, the more data needs to be sent and processed. Call quality also depends on internet speed, device performance, video quality, and server resources.",[48,130,131],{},"There isn't a fixed number of users that guarantees a smooth call.",[48,133,134],{},"For larger groups, I'll need to run more tests before increasing the call limit.",[65,136,138],{"id":137},"give-it-a-try","Give it a try",[48,140,141,142,149],{},"Have something to discuss? ",[143,144,148],"a",{"href":145,"rel":146},"https:\u002F\u002Fworkspace.roslansaidi.com",[147],"nofollow","Try Workspace"," with a friend or teammate.",[48,151,152],{},"Open a shared space, invite someone, and start a call.",[48,154,155],{},"Write down your ideas, sketch something on the whiteboard, or turn your discussion into tasks. Everything happens in one place.",{"title":157,"searchDepth":158,"depth":158,"links":159},"",2,[160,161,162,163],{"id":67,"depth":158,"text":68},{"id":102,"depth":158,"text":103},{"id":121,"depth":158,"text":122},{"id":137,"depth":158,"text":138},"2026-11-15","Talk, share ideas, and work together without leaving your shared space. Here's how I added video calls to Workspace using LiveKit and WebRTC.","md",{},true,{"title":34,"description":165},"7-42SsixdZF-T-wbVavVPs2YRKqDsBX7-KS2_dEmWg8",[172,174],{"title":30,"path":31,"stem":32,"description":173,"children":-1},"How I built Workspace with Next.js and Elixir and what I learned about editing together, offline changes, and keeping everyone's work safe.",null,1795413958099]