@nainudhin/video-meeting-sdk 1.5.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/meet-sdk.d.ts +16 -0
- package/dist/meet-sdk.mjs +988 -484
- package/dist/meet-sdk.umd.js +89 -12
- package/package.json +1 -1
package/dist/meet-sdk.d.ts
CHANGED
|
@@ -65,6 +65,17 @@ export interface MeetSDKConfig {
|
|
|
65
65
|
compositeWidth?: number;
|
|
66
66
|
compositeHeight?: number;
|
|
67
67
|
compositeFps?: number;
|
|
68
|
+
|
|
69
|
+
/** MediaRecorder video bitrate (bits/sec). Default 1_000_000 (1 Mbps). */
|
|
70
|
+
recordingVideoBps?: number;
|
|
71
|
+
/** MediaRecorder audio bitrate (bits/sec). Default 64_000 (64 kbps Opus). */
|
|
72
|
+
recordingAudioBps?: number;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Which side-panel tabs to show. Chat is always rendered even if omitted.
|
|
76
|
+
* Default: ['chat'].
|
|
77
|
+
*/
|
|
78
|
+
panels?: Array<'chat' | 'code' | 'whiteboard'>;
|
|
68
79
|
}
|
|
69
80
|
|
|
70
81
|
export interface RecordingSummary {
|
|
@@ -140,6 +151,11 @@ export default class MeetSDK {
|
|
|
140
151
|
fetchChatHistory(opts?: { limit?: number; before?: string; after?: string }): Promise<{ success: boolean; messages: ChatMessageRow[] }>;
|
|
141
152
|
uploadChatAttachment(file: File): Promise<ChatAttachment & { success: boolean }>;
|
|
142
153
|
|
|
154
|
+
/** Host-only: grant code sandbox edit + run rights to a specific user. */
|
|
155
|
+
grantCodeEdit(targetUserId: string, targetUserName?: string, canEdit?: boolean): void;
|
|
156
|
+
/** Host-only: grant whiteboard draw rights to a specific user. */
|
|
157
|
+
grantWhiteboardDraw(targetUserId: string, targetUserName?: string, canDraw?: boolean): void;
|
|
158
|
+
|
|
143
159
|
getSummary(): Promise<any>;
|
|
144
160
|
generateSummary(): Promise<any>;
|
|
145
161
|
transcribeAudio(blob: Blob, filename?: string): Promise<any>;
|