Skip to content

Commit

Permalink
Release - 0.12.18
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 authored Aug 16, 2024
2 parents f185635 ea66493 commit 66b20cd
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 28 deletions.
2 changes: 1 addition & 1 deletion examples/prebuilt-react-integration/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/hls-player/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hls-stats/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hms-video-store/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hms-video-store/src/connection/HMSConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 29,7 @@ export default abstract class HMSConnection {
*/
readonly candidates = new Array<RTCIceCandidateInit>();
// @ts-ignore
private sfuNodeId?: string;
sfuNodeId?: string;

selectedCandidatePair?: RTCIceCandidatePair;

Expand Down
9 changes: 7 additions & 2 deletions packages/hms-video-store/src/transport/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 131,17 @@ export default class HMSTransport {
};

private signalObserver: ISignalEventsObserver = {
onOffer: async (jsep: RTCSessionDescriptionInit & { sfu_node_id: string }) => {
// eslint-disable-next-line complexity
onOffer: async (jsep: RTCSessionDescriptionInit & { sfu_node_id?: string }) => {
try {
if (!this.subscribeConnection) {
return;
}
if (this.sfuNodeId !== jsep.sfu_node_id) {
if (
jsep.sfu_node_id &&
this.subscribeConnection.sfuNodeId &&
this.subscribeConnection.sfuNodeId !== jsep.sfu_node_id
) {
HMSLogger.d(TAG, 'ignoring old offer');
return;
}
Expand Down
6 changes: 3 additions & 3 deletions packages/hms-virtual-background/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hms-whiteboard/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react-icons/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/react-sdk/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions packages/roomkit-react/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 14 additions & 5 deletions packages/roomkit-react/src/Prebuilt/components/AppData/AppData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 121,21 @@ export const AppData = React.memo(() => {
...uiSettings,
[UI_SETTINGS.isAudioOnly]: undefined,
[UI_SETTINGS.uiViewMode]: uiSettings.uiViewMode || UI_MODE_GRID,
[UI_SETTINGS.maxTileCount]: isMobile
? DEFAULT_TILES_IN_VIEW.MWEB
: Number(elements?.video_tile_layout?.grid?.tiles_in_view) || DEFAULT_TILES_IN_VIEW.DESKTOP,
};
hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, false);
}, [preferences, hmsActions, elements?.video_tile_layout, isMobile]);
hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, true);
}, [hmsActions, preferences]);

useEffect(() => {
hmsActions.setAppData(
APP_DATA.uiSettings,
{
[UI_SETTINGS.maxTileCount]: isMobile
? DEFAULT_TILES_IN_VIEW.MWEB
: Number(elements?.video_tile_layout?.grid?.tiles_in_view) || DEFAULT_TILES_IN_VIEW.DESKTOP,
},
true,
);
}, [hmsActions, isMobile, elements?.video_tile_layout?.grid?.tiles_in_view]);

useEffect(() => {
if (!preferences.subscribedNotifications) {
Expand Down
4 changes: 2 additions & 2 deletions packages/roomkit-web/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 66b20cd

Please sign in to comment.