arrow_back
Back to Tickets
Edit Trouble Ticket
Update the ticket information below
Date Initiated
*
Status
*
Open
Pending
Completed
Terminated
Creator
*
Priority
*
1
Urgent
Select urgency...
Urgent
Not Urgent
Important
Select importance...
Important
Not Important
Project Name
*
zfrika
Problem
*
setup video calling In calendar.
Question
ami running the correct code? where is logData.data coming from? I see it in server socket being passed in, but I can't trace the source. it's defined in logStage function as a contact. in the main script file. where is logStage being printed ? client or server? it's being stored on client side. see: [WebRTC Video Stage] { "stage": "SOCKET_CONNECTED", what the order of staging that we should expect.
Root Cause
Notes
Strategy
leaning into using cursor ai On the contrary—AI agents are incredibly useful for developing new features, but they function differently than a standard "Chatbot." While a chatbot like me answers questions, an AI Agent can actually perform the development steps: searching your files, writing the logic, running tests, and fixing its own bugs. Here is how you can use AI agents specifically to build new features for Zfrika.com: 1. The "Code Architect" Agent Before you write a single line of code, an agent can analyze your existing dev_webrtc_HTTPS.js and suggest how to add a new feature (like a "Mute All" button) without breaking your existing Socket.io logic. What it does: Scans your directory, maps out dependencies, and provides a blueprint. How to use it: You can use tools like Cursor, GitHub Copilot Workspace, or Aider. You tell the agent: "Add a screen-recording feature to my EJS page and create a new Express route to save the blobs." 2. Autonomous Feature Implementation Advanced agents can operate in a loop called ReAct (Reason + Act). If you give an agent access to your Zfrika folder, it would follow this cycle: Thought: "I need to add a 'Room Password' feature." Action: Read videocallpage.ejs to find where the join button is. Action: Edit the Express route in line 22 of your server file to check for a password. Observation: Run the server to see if it crashes. Refinement: If there’s an error (like the one you posted earlier!), the agent reads the logs and fixes the code itself. 3. Automated Testing Agents Once you've built a feature on Zfrika, you can use an agent to "break" it. Task: "Act as a user trying to join a room without a camera." Result: The agent writes and runs a Playwright or Cypress test script to ensure your site handles the error gracefully. Comparison: Chatbot vs. Agent for Zfrika Capability Chatbot (Standard) AI Agent (Development) Code Generation Gives you a snippet to copy/paste. Directly edits your .js and .ejs files. Context Only knows what you paste here. Can read your entire GitHub repo or folder. Execution Can't run your code. Can start your Node server and check for errors. Debugging You have to provide the error log. It watches the terminal and fixes bugs live. How to start using them for Zfrika? If you want to speed up development on Zfrika, I recommend trying Aider or Cursor. They allow you to say, "Refactor my HTTPS server to use a separate config file," and they will handle the multi-file editing that is tedious to do manually. Would you like me to act as an agent and "plan" out the code for a specific new feature you have in mind for Zfrika?
Helpful People
Helpful Links
Diagram
Previous Steps
x GET /zfrikadev/calendar/video-call.html open this page with a video camera was there something at video-call.html? can we send them to https://turnupmap.com/dev/ which has a camera ready to go route '/calendar/:datatoken' was called. and lead to . this was what took us to the page. then we 1we got to the video chat page. now we need to enter a new room number. make a duplicate page of the video page. but dont prompt the user for a room number. just insert a generated token. to start the video. you can use: turnupmap.com/ turnupmap.com/dev/scripts/completeNodeClientWithDataChannel.js function: promptForRoom( r ) defines the room number assign room <= a value. I need to pass a value when I go the the next page that has the room number. in req.params or req.body. Is start video call a form submit, if so, the send with req.body so you can hide the data. we got the room number passed and the video call button start the call for user 1. need to invite the other person to the room to initiate the call. set up a meeting and welcome someone else to the meeting so they can see the same calendar event on their calendar. then both of them should get the same room code for a private meeting that they can join. 5 rejection button is not updating the database the video works but the audio doesn't not work. (resolved) 10 install a turn server 9. allow the user to turn off the camera in the video call. default camera is off and start with voice call only. 6. voice call is not working(fixed) 2 video call is working. but sometimes the other person call does nt start. 4 also need to test the voice calling
Next Steps
Solution
Insight
Date Resolved
save
Update Ticket
Cancel