@polyvharmony/rtc-sdk 1.4.0-dev.260303.5 → 1.4.0-dev.260701.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.4.0-dev.260303.5] - 2026-03-03
1
+ ## [v1.4.0-dev.260701.1] - 2026-07-02
2
2
 
3
3
  此项目是保利威鸿蒙 RTC SDK
4
4
 
package/ets/modules.abc CHANGED
Binary file
package/oh-package.json5 CHANGED
@@ -1 +1 @@
1
- {"name":"@polyvharmony/rtc-sdk","version":"1.4.0-dev.260303.5","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}
1
+ {"name":"@polyvharmony/rtc-sdk","version":"1.4.0-dev.260701.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.4.0-dev.260303.5","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}
1
+ {"name":"@polyvharmony/rtc-sdk","version":"1.4.0-dev.260701.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}
@@ -17,6 +17,18 @@ export declare abstract class PLVRTCEngine {
17
17
  * 加入频道
18
18
  */
19
19
  abstract joinChannel(channelId: string): number;
20
+ /**
21
+ * 启动屏幕分享
22
+ */
23
+ abstract startScreenCapture(): number;
24
+ /**
25
+ * 停止屏幕分享
26
+ */
27
+ abstract stopScreenCapture(): number;
28
+ /**
29
+ * 屏幕分享是否支持
30
+ */
31
+ abstract isScreenCaptureSupported(): boolean;
20
32
  /**
21
33
  * 离开频道
22
34
  */
@@ -14,6 +14,14 @@ export declare abstract class PLVRTCEngineEventCallback {
14
14
  * 离开频道
15
15
  */
16
16
  onLeaveChannel(rtcConfig: PLVRTCConfig, channelId: string): void;
17
+ /**
18
+ * 启动屏幕分享
19
+ */
20
+ onScreenCaptureStarted(): void;
21
+ /**
22
+ * 停止屏幕分享
23
+ */
24
+ onScreenCaptureStoped(): void;
17
25
  /**
18
26
  * 远端用户加入频道
19
27
  */
@@ -14,6 +14,9 @@ export declare class PLVRTCEngineNoOp extends PLVRTCEngine {
14
14
  enableLocalVideoPublish(enable: boolean): number;
15
15
  enableVideo(enable: boolean): number;
16
16
  joinChannel(channelId: string): number;
17
+ startScreenCapture(): number;
18
+ stopScreenCapture(): number;
19
+ isScreenCaptureSupported(): boolean;
17
20
  renewToken(appToken: PLVRTCAppToken): number;
18
21
  setLocalVideoEncodeParam(videoEncodeParam: PLVRTCVideoEncodeParam): number;
19
22
  setRemoteAudioRender(linkmicId: string, isRender: boolean): number;
@@ -1 +1 @@
1
- {"app":{"bundleName":"net.polyv.rtc","debug":false,"versionCode":10000,"versionName":"1.0.0","minAPIVersion":50000012,"targetAPIVersion":60000020,"apiReleaseType":"Release","targetMinorAPIVersion":0,"targetPatchAPIVersion":0,"compileSdkVersion":"6.0.0.47","compileSdkType":"HarmonyOS","appEnvironments":[],"bundleType":"app","buildMode":"release"},"module":{"name":"rtc_sdk","type":"har","deviceTypes":["default","tablet"],"packageName":"@polyvharmony/rtc-sdk","installationFree":false,"virtualMachine":"ark12.0.2.0","compileMode":"esmodule","dependencies":[]}}
1
+ {"app":{"bundleName":"net.polyv.rtc","debug":false,"versionCode":10000,"versionName":"1.0.0","minAPIVersion":50000012,"targetAPIVersion":60002022,"apiReleaseType":"Release","targetMinorAPIVersion":0,"targetPatchAPIVersion":0,"compileSdkVersion":"6.0.2.130","compileSdkType":"HarmonyOS","appEnvironments":[],"bundleType":"app","buildMode":"release"},"module":{"name":"rtc_sdk","type":"har","deviceTypes":["default","tablet"],"packageName":"@polyvharmony/rtc-sdk","installationFree":false,"virtualMachine":"ark12.0.2.0","compileMode":"esmodule","dependencies":[]}}