Hello
We recently integrated the Pexip JavaScript SDK to embed videoconferencing in our app. Everything worked great until a user left a meeting and then rejoined. In many cases; the video feed would freeze or fail to start after rejoining; even though audio & UI elements still worked fine.
We werenโt sure if the issue was with media permissions, stale connections / something else in the SDK.
After debugging; we found the problem was due to not properly disposing of the participant
& conference
objects when users left the call. The old instance was interfering with the reinitialization. Calling
conference.disconnect()
followed by a complete cleanup before rejoining fixed it.
This Pexip SDK Lifecycle Guide helped a lot in understanding how to correctly manage conference sessions.
For newer developers exploring SDKs like this and wondering what is javascript, itโs the scripting language that powers dynamic web experiences including video, chat & real-time interactivity like this.
If anyone has tips for better managing participant state on rejoin, I would love to hear them!
Thank you !!