Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Historical list of changes in releases

## [v0.0.55] - 2026-04-20
* Add joinScreenEnabled to InitialRoomSettings to override room default ([#8d09915a](https://github.com/digitalsamba/embedded-sdk/commit/8d09915a4bea05ad69bb4cf8bd64985cd957721d)).

## [v0.0.54] - 2026-02-09
* Add proper typing for iframe class attributes ([#8d06a79e](https://github.com/digitalsamba/embedded-sdk/commit/8d06a79e3cb4861b8769594ffd76208028187c50)).
* Support optional "publicRoomUrl" for invite overrides ([#5f9c7fb5](https://github.com/digitalsamba/embedded-sdk/commit/5f9c7fb52da37aea473876162298d13f9f7afe38)).
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/tsconfig.cjs.tsbuildinfo

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/cjs/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface InitialRoomSettings {
showToolbar: boolean;
showTopbar?: boolean;
showCaptions: boolean;
joinScreenEnabled?: boolean;
virtualBackground: VirtualBackgroundOptions;
virtualBackgrounds?: VirtualBackgroundItem[];
replaceVirtualBackgrounds?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/utils/vars.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Stored } from '../types';
export declare const PACKAGE_VERSION = "0.0.54";
export declare const PACKAGE_VERSION = "0.0.55";
export declare const CONNECT_TIMEOUT = 10000;
export declare const internalEvents: Record<string, boolean>;
export declare enum LayoutMode {
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/utils/vars.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDefaultStoredState = exports.PermissionTypes = exports.LayoutMode = exports.internalEvents = exports.CONNECT_TIMEOUT = exports.PACKAGE_VERSION = void 0;
exports.PACKAGE_VERSION = '0.0.54';
exports.PACKAGE_VERSION = '0.0.55';
exports.CONNECT_TIMEOUT = 10000;
exports.internalEvents = {
roomJoined: true,
Expand Down
2 changes: 1 addition & 1 deletion dist/demo/index.js

Large diffs are not rendered by default.

76 changes: 44 additions & 32 deletions dist/demo/initial-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@
<div>
<input type="text" id="initial-settings-initials" onchange="initialSettings.initials = this.value">
</div>
<div style="display: flex; align-items: center; justify-content: flex-start">
<label style="margin-right: 8px;" for="initial-settings-join-screen">Join screen</label>
<select name="initial-settings-join-screen" id="initial-settings-join-screen" onchange="initialSettings.joinScreenEnabled = this.value === '' ? undefined : this.value === 'true'">
<option value="">Room default</option>
<option value="true">Enabled</option>
<option value="false">Hidden</option>
</select>
</div>
<div style="display: flex">
<label class="checkbox-label" for="initial-settings-video">
<span>Video enabled</span>
Expand Down Expand Up @@ -255,43 +263,43 @@
showCaptions: false,
layoutMode: "auto",
// virtualBackground: {
// image: "woman",
// blur: "strong",
// enforce: false,
// // thumbnailUrl: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1741950102/cld-sample.jpg"
// },
appLanguage: undefined,
requireRemoveUserConfirmation: true,
mediaDevices: {},
// replaceVirtualBackgrounds: true,
virtualBackgrounds: [
{
id: "woman",
type: "image",
value: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1741950102/cld-sample.jpg",
thumbnail: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1741950102/cld-sample.jpg",
label: "Woman with a dog"
},
{
id: "mountains",
type: "image",
value: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1741950102/cld-sample-2.jpg",
thumbnail: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1741950102/cld-sample-2.jpg",
label: "Mountains"
},
{
id: "video-motion",
type: "video",
value: "https://res.cloudinary.com/dvgipbnfm/video/upload/v1742312045/Motion_Graphic_1280x720_jbvjxl.mp4",
thumbnail: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1746190151/motion_video_thumbnail_wlnsn8.jpg",
label: "Video motion "
},
{
id: 'balanced-blur',
type: 'blur',
value: 'balanced',
label: 'Light Blur',
},
]
// virtualBackgrounds: [
// {
// id: "woman",
// type: "image",
// value: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1741950102/cld-sample.jpg",
// thumbnail: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1741950102/cld-sample.jpg",
// label: "Woman with a dog"
// },
// {
// id: "mountains",
// type: "image",
// value: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1741950102/cld-sample-2.jpg",
// thumbnail: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1741950102/cld-sample-2.jpg",
// label: "Mountains"
// },
// {
// id: "video-motion",
// type: "video",
// value: "https://res.cloudinary.com/dvgipbnfm/video/upload/v1742312045/Motion_Graphic_1280x720_jbvjxl.mp4",
// thumbnail: "https://res.cloudinary.com/dvgipbnfm/image/upload/v1746190151/motion_video_thumbnail_wlnsn8.jpg",
// label: "Video motion "
// },
// {
// id: 'balanced-blur',
// type: 'blur',
// value: 'balanced',
// label: 'Light Blur',
// },
// ]
};

var VBstate = {
Expand Down Expand Up @@ -341,7 +349,9 @@
const roomUrlResponse = await createRoom();
ROOM_URL = roomUrlResponse.room_url;

initialSettings.virtualBackground = vbStateToInitState(initialSettings.virtualBackground);
if (initialSettings.virtualBackground === VBstate) {
initialSettings.virtualBackground = vbStateToInitState(VBstate);
}

loadRoom();
}
Expand All @@ -352,7 +362,9 @@
if (input.value) {
ROOM_URL = input.value;

initialSettings.virtualBackground = vbStateToInitState(initialSettings.virtualBackground);
if (initialSettings.virtualBackground === VBstate) {
initialSettings.virtualBackground = vbStateToInitState(VBstate);
}

loadRoom();
} else {
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/tsconfig.esm.tsbuildinfo

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/esm/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface InitialRoomSettings {
showToolbar: boolean;
showTopbar?: boolean;
showCaptions: boolean;
joinScreenEnabled?: boolean;
virtualBackground: VirtualBackgroundOptions;
virtualBackgrounds?: VirtualBackgroundItem[];
replaceVirtualBackgrounds?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/utils/vars.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Stored } from '../types';
export declare const PACKAGE_VERSION = "0.0.54";
export declare const PACKAGE_VERSION = "0.0.55";
export declare const CONNECT_TIMEOUT = 10000;
export declare const internalEvents: Record<string, boolean>;
export declare enum LayoutMode {
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/utils/vars.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const PACKAGE_VERSION = '0.0.54';
export const PACKAGE_VERSION = '0.0.55';
export const CONNECT_TIMEOUT = 10000;
export const internalEvents = {
roomJoined: true,
Expand Down
2 changes: 1 addition & 1 deletion dist/types/tsconfig.types.tsbuildinfo

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface InitialRoomSettings {
showToolbar: boolean;
showTopbar?: boolean;
showCaptions: boolean;
joinScreenEnabled?: boolean;
virtualBackground: VirtualBackgroundOptions;
virtualBackgrounds?: VirtualBackgroundItem[];
replaceVirtualBackgrounds?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion dist/types/utils/vars.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Stored } from '../types';
export declare const PACKAGE_VERSION = "0.0.54";
export declare const PACKAGE_VERSION = "0.0.55";
export declare const CONNECT_TIMEOUT = 10000;
export declare const internalEvents: Record<string, boolean>;
export declare enum LayoutMode {
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@digitalsamba/embedded-sdk",
"packageManager": "yarn@3.1.0",
"version": "0.0.54",
"version": "0.0.55",
"license": "BSD-2-Clause",
"scripts": {
"build": "node tools/version && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types && npm run build:update-demo",
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export interface InitialRoomSettings {
showToolbar: boolean;
showTopbar?: boolean;
showCaptions: boolean;
joinScreenEnabled?: boolean;

// virtual backgrounds
virtualBackground: VirtualBackgroundOptions;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/vars.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Stored } from '../types';

export const PACKAGE_VERSION = '0.0.54';
export const PACKAGE_VERSION = '0.0.55';

export const CONNECT_TIMEOUT = 10000;

Expand Down
Loading
Loading