@plasosdk/plaso-electron-sdk 1.2.14 → 1.2.17-dev

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/README.md CHANGED
@@ -128,7 +128,6 @@ PlasoElectronSdk.createPrepareClassWindow(createClassParams);
128
128
  | enableRTC3A | 否 | boolean | true | 是否启用 3A。<br />false:关闭回音消除、关闭降噪、关闭增益控制 |
129
129
  | supportShowResourceCenter | 否 | boolean | false | true:工具栏显示 资料中心 按钮,但资料中心的逻辑需要用户自己实现 |
130
130
  | supportSaveBoard | 否 | boolean | false | 是否支持保存板书,依赖于资料中心实现保存和插入板书文件 |
131
- | env | 否 | string | 无 | sdk 数据环境参数,支持 dev、test、itest、ftest、www |
132
131
  | enableLiveNewShareRegion | 否 | boolean | false | 是否允许区域共享 |
133
132
  | enableLiveNewShareInTouch | 否 | boolean | false | 是否支持触屏模式下的新桌面共享(左侧新增按钮窗口来切换显示工具栏)<br />建议开启 |
134
133
  | enableLiveNewShare | 否 | boolean | false | 是否支持新桌面共享<br />开启新桌面共享需要开启 electron 透明窗口,且可能触发 electron 本身存在的长时间透传导致的在应用上鼠标失焦问题 |
@@ -141,7 +140,7 @@ PlasoElectronSdk.createPrepareClassWindow(createClassParams);
141
140
  **query 属性格式示例**:
142
141
 
143
142
  ```
144
- appId=plaso&appType=liveclassSDK&d_dimension=1280x720&dhost=https%3A%2F%2Fdev.plaso.cn%2F&enableHiliter=true&enableNewClassExam=1&enableVideoMark=true&env=dev&loginName=t_1&mediaType=video&meetingId=test_1742442362&meetingType=public&signature=A226198904A392579B98987FB4CD5478AB3F5587&upimeTeacherTool=1151&userName=%E8%80%81%E5%B8%881&userType=speaker&validBegin=1742442364&validTime=99999&vendorType=2&videoStream=2
143
+ appId=plaso&appType=liveclassSDK&d_dimension=1280x720&dhost=https%3A%2F%2Fdev.plaso.cn%2F&enableHiliter=true&enableNewClassExam=1&enableVideoMark=true&loginName=t_1&mediaType=video&meetingId=test_1742442362&meetingType=public&signature=A226198904A392579B98987FB4CD5478AB3F5587&upimeTeacherTool=1151&userName=%E8%80%81%E5%B8%881&userType=speaker&validBegin=1742442364&validTime=99999&vendorType=2&videoStream=2
145
144
  ```
146
145
 
147
146
  #### 2.1.1.1、组成 queryParams 对象
@@ -311,7 +310,6 @@ genQuery(queryParams);
311
310
  | displayAvatarUrl | String | 用户头像地址 |
312
311
  | topic | String | 默认值是中文的 “备课课堂” |
313
312
  | **d_enableObjectEraser** | number | 新板书配置,二进制位存储<br />default: 0;默认关闭对象擦<br />7:手写(对象擦);<br />**注意:该值需要和实时课堂的传值一样** |
314
- | env | String | sdk 数据环境参数,支持:dev、test、itest、ftest、www |
315
313
  | | | |
316
314
 
317
315
  **注意:**
@@ -383,6 +381,8 @@ type onSaveBoardFn = (
383
381
 
384
382
  ```ts
385
383
  // 通知外部用户打开自己的资料中心,资料中心的具体ui和逻辑由外部用户自己实现
384
+ // 推荐:通过onClassWindowReadyFn回调的winId拿到课堂窗口实例,用户的云盘通过一个BrowserWindow
385
+ // 和课堂窗口组成父子窗口,云盘是子窗口,并且云盘窗口打开时保持置顶,这样来保证云盘打开时始终可见并且跟随课堂窗口。
386
386
  type onOpenResourceCenterFn = () => void;
387
387
  ```
388
388
 
@@ -538,10 +538,9 @@ const FILE_TYPE = {
538
538
  * @property {string} [url] 文件的可下载地址
539
539
  */
540
540
  /**
541
- * @param {string | number} winId 课堂id
542
541
  * @param {fileDataObj} fileData 文件数据
543
542
  */
544
- type insertObject = (webContentId, fileData) => void;
543
+ type insertObject = (fileData) => void;
545
544
  ```
546
545
 
547
546
  ### 5.5.1、插入备课文件
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plasosdk/plaso-electron-sdk",
3
- "version": "1.2.14",
4
- "description": "",
3
+ "version": "1.2.17-dev",
4
+ "description": "伯索课堂Electron SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "start": "electron .",
@@ -9,9 +9,10 @@
9
9
  "download": "node ./scripts/downloadPrebuild.js"
10
10
  },
11
11
  "keywords": [
12
+ "plaso",
13
+ "sdk",
12
14
  "electron",
13
- "windows",
14
- "mac"
15
+ "classroom"
15
16
  ],
16
17
  "dependencies": {
17
18
  "@plasosdk/plasoffmpeg": "^1.1.0",
@@ -56,7 +56,7 @@ const electron_sdk_plugins_dir = 'https://wwwr.plaso.cn/static/cdn/electron-sdk-
56
56
  const getPluginsZipName = () => {
57
57
  let flameshotZipName = 'flameshot_win.zip';
58
58
  let lameZipName = 'lame_win.zip';
59
- const plasoALDZipName = 'PlasoALD.zip';
59
+ const plasoALDZipName = 'PlasoALD_2.0.zip';
60
60
  if (platform === PLATFORM_TYPE.DARWIN) {
61
61
  lameZipName = 'lame_mac_x64.zip';
62
62
  if (arch.includes('arm')) {
Binary file