@polyvharmony/rtc-sdk 1.3.0-dev.251204.1 → 1.4.0-dev.260303.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/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## [v1.3.0-dev.251204.1] - 2025-12-04
1
+ ## [v1.4.0-dev.260303.1] - 2026-03-03
2
2
 
3
3
  此项目是保利威鸿蒙 RTC SDK
4
4
 
package/ResourceTable.txt CHANGED
@@ -1 +1 @@
1
- string page_show 0x04000000
1
+ string page_show 0x05000000
package/ets/modules.abc CHANGED
Binary file
package/oh-package.json5 CHANGED
@@ -1 +1 @@
1
- {"name":"@polyvharmony/rtc-sdk","version":"1.3.0-dev.251204.1","description":"rtc-sdk","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/common-libs":"1.0.1"},"types":"Index.d.ts","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"@polyvharmony/common-libs":"1.0.1"},"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
1
+ {"name":"@polyvharmony/rtc-sdk","version":"1.4.0-dev.260303.1","description":"rtc-sdk","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/common-libs":"1.0.2"},"types":"Index.d.ts","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"@polyvharmony/common-libs":"1.0.2"},"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@polyvharmony/rtc-sdk","version":"1.3.0-dev.251204.1","description":"rtc-sdk","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/common-libs":"1.0.1"},"types":"Index.d.ts","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"@polyvharmony/common-libs":"1.0.1"},"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
1
+ {"name":"@polyvharmony/rtc-sdk","version":"1.4.0-dev.260303.1","description":"rtc-sdk","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/common-libs":"1.0.2"},"types":"Index.d.ts","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"@polyvharmony/common-libs":"1.0.2"},"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
@@ -13,6 +13,10 @@ export declare abstract class PLVRTCEngine {
13
13
  * 当前引擎支持的RTC类型
14
14
  */
15
15
  abstract getSupportRTCTypes(): PLVRTCType[];
16
+ /**
17
+ * 等待引擎初始化完成
18
+ */
19
+ abstract ensureEngineInitialized(): Promise<void>;
16
20
  /**
17
21
  * 加入频道
18
22
  */
@@ -6,6 +6,7 @@ import { PLVRTCVideoRenderParam } from '../vo/PLVRTCVideoRenderParam';
6
6
  import { PLVRTCClientRole } from '../vo/PLVRTCClientRole';
7
7
  import { PLVRTCMediaState } from '../vo/PLVRTCMediaState';
8
8
  export declare class PLVRTCEngineNoOp extends PLVRTCEngine {
9
+ ensureEngineInitialized(): Promise<void>;
9
10
  createRenderViewParam(linkmicId: string): PLVRTCRenderViewParam;
10
11
  enableAudio(enable: boolean): number;
11
12
  enableLocalAudioCapture(enable: boolean): number;
@@ -11,9 +11,10 @@ export declare class PLVRTCConfig {
11
11
  }
12
12
  export declare enum PLVRTCType {
13
13
  ARTC = "artc",
14
- TRTC = "trtc"
14
+ TRTC = "trtc",
15
+ VRTC = "vrtc"
15
16
  }
16
- export type PLVRTCAppToken = PLVARTCAppToken | PLVTRTCAppToken;
17
+ export type PLVRTCAppToken = PLVARTCAppToken | PLVTRTCAppToken | PLVVRTCAppToken;
17
18
  export type PLVARTCAppToken = {
18
19
  appId: string;
19
20
  token: string;
@@ -22,3 +23,7 @@ export type PLVTRTCAppToken = {
22
23
  sdkAppId: string;
23
24
  userSig: string;
24
25
  };
26
+ export type PLVVRTCAppToken = {
27
+ appId: string;
28
+ token: string;
29
+ };