Fabrefact

a blog by Sara Farquharson

Virtual Party Space Devlog #9: Testing continues

Today I continue to identify and resolve bugs with the Calla library.

Log

  • Bug: changing video sources doesn’t work
    • if removeTrack called, addTrack will always be skipped
    • problem with BaseConferenctClient.getNext() -> resolve is never called
      • what is evt.id? It’s compared to UserId, do we expect it to be userid? (Yes, apparently)
      • “videoRemoved” event never fires, so await…waits… indefinitely. RESOLVED (bug in Calla)
        • this may also be what’s happening in Calla.join
          • metadata.join waits for ‘conference.dataChannelOpened’
  • Bug: leaving conference doesn’t clean up properly (Jitsi connection still pinging http-bind)
    • added await to conference.leave in JitsiConferenceClient.leave
  • rejoining conference doesn’t work (“conferenceJoined” never fires, additional Jitsi events never reached)
    • bug in JitsiConferenceClient.leave - never resets this.roomName, so skips joining on .join RESOLVED

About this series

Back in mid-December I started an ambitious project to create a custom platform for a virtual birthday party in February. I kept notes on my progress, both for personal reference and to turn into a series of blog posts. It quickly became apparent that I did not have time to both do the project and blog about the project. I have retroactively decided to post my raw notes as a dev log.