1.1.0
Added
-
Added support for Bulk Role Change
Bulk Role Change is used when you want to convert all Roles from a list of Roles, to another Role.
For example, if peers join a room with a Waiting Role and now you want to change all these peers to Viewer Role then use the
changeRoleOfPeersWithRoles
API.// fetch all available Roles in the room const roles = await hmsInstance.getRoles(); // get the Host Role object const hostRole = roles.find(role => role.name === 'host'); // get list of Roles to be updated - in this case "Waiting" and "Guest" Roles const rolesToChange = roles.filter(role => role.name === 'waiting' || role.name === 'guest'); // now perform Role Change of all peers in "Waiting" and "Guest" Roles to the "Host" Role await hmsInstance.changeRoleOfPeersWithRoles(rolesToChange, hostRole);
For More Information, refer: https://www.100ms.live/docs/react-native/v2/features/change-role
-
Added
PIPConfig
to enable Actionable buttons on PIP Window on AndroidActionable buttons like Mute/Unmute Audio/Video, Leave Room for local peers can now be configured while enabling PIP Mode.
await hmsInstance?.enablePipMode({ aspectRatio: [16, 9], // for 16:9 aspect ratio endButton: true, videoButton: true, audioButton: true, });
For More Information, refer: https://www.100ms.live/docs/react-native/v2/features/pip-mode
Deprecated
-
Deprecated
changeRole
API in favour ofchangeRoleOfPeer
No change in functionality or method signature.
Fixed
- Corrected Speaker updates by avoiding sending of update event if a peer is not found in room on Android
- Microphone not getting captured on Role Change from a non-publishing to publishing Role on iOS
- Corrected an issue where on iOS a default Audio Mixer was getting created if Track Settings was passed while building the HMSSDK instance
Updated to Native Android SDK 2.5.4 & Native iOS SDK 0.5.3
Full Changelog: 1.0.0...1.1.0