armcloud-rtc 1.5.9 → 1.6.0

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.
@@ -397,6 +397,9 @@ declare class customRtc {
397
397
  private groupEngine;
398
398
  private groupRtc;
399
399
  private inputElement;
400
+ private mediaRecorder;
401
+ private recordedChunks;
402
+ private recordedMimeType;
400
403
  private promiseMap;
401
404
  roomMessage: any;
402
405
  autoRecoveryTimer: any;
@@ -473,6 +476,11 @@ declare class customRtc {
473
476
  onRemoteVideoFirstFrame(): void;
474
477
  stop(): Promise<undefined>;
475
478
  onUserPublishStream(): void;
479
+ startRecordStream(options?: {
480
+ mimeType?: string;
481
+ timeslice?: number;
482
+ }): boolean;
483
+ stopRecordStream(filename?: string): Promise<Blob | null>;
476
484
  sendShakeInfo(time: number): void;
477
485
  checkInputState(msg: any): void;
478
486
  onRoomMessageReceived(): void;
@@ -713,6 +721,7 @@ declare class tcgRtc {
713
721
  private lastStreamResolution;
714
722
  private remoteDesktopResolution;
715
723
  private enterkeyhintObj;
724
+ private cameraProfile;
716
725
  constructor(initDomId: string, options: ArmcloudRtcOptions, callbacks: ArmcloudCallbacks);
717
726
  private setupVideoDom;
718
727
  private getMsgTemplate;
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "armcloud-rtc",
3
- "version": "1.5.9",
3
+ "version": "1.6.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
7
7
  "files": [
8
- "dist"
8
+ "dist/*.js",
9
+ "dist/types/**/*.d.ts"
9
10
  ],
10
11
  "keywords": [
11
12
  "rtc",