[0.2.0.5] - 2025-11-18
- Speaking Indicator: Added a visual indicator (green border) to video tiles when a participant is speaking. Configured with a stable 200ms polling interval for a balance of responsiveness and accuracy.
- Screen Share Icon: Added a persistent status icon to the bottom-left of video tiles that becomes visible/green when a user is sharing their screen.
- Token Renewal Safety Net: Implemented a proactive RTM token renewal mechanism that triggers alongside RTC token renewal to prevent "Server banned" errors (RTM logic is now synchronized with RTC).
- Meeting Timer: Added a real-time meeting duration timer (
HH:MM:SS) to the header.
- Console Error Suppression: Added an interceptor to suppress harmless RTM socket errors when
_WPJ_DEBUG_ is false.
- PHP REST Endpoint: Added
/wpj/v1/rtm-token for on-demand RTM token generation.
- Performance Optimization (Concurrent Join): Refactored
joinMeeting to execute RTC connection, RTM initialization, and Media Track creation in parallel (using Promise.all) to optimize the joining process.
- Code Cleanup: Removed unused utility functions (e.g.,
convertMetadataArrayToObject) and fixed duplicate event listeners in initializeRtm.