@polyvharmony/rtc-core-vrtc 1.4.0-v3.60.151150-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 ADDED
@@ -0,0 +1,5 @@
1
+ ## [v1.4.0-v3.60.151150-dev.260303.1] - 2026-03-03
2
+
3
+ 此项目是保利威鸿蒙 RTC SDK
4
+
5
+ 完整的项目介绍见 [鸿蒙多场景项目](https://github.com/polyv/polyv-harmony-livescenes-sdk-demo)
package/Index.d.ets ADDED
@@ -0,0 +1,3 @@
1
+ // @keepTs
2
+ // @ts-nocheck
3
+ export * from './src/main/ets/PLVVRTCEngineFactory';
package/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ MIT License
2
+ Copyright (c) 2024, contributors of the POLYV project
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ POLYV 鸿蒙 RTC 项目
2
+ ===
3
+
4
+ ### 1 简介
5
+ 此项目是保利威鸿蒙 RTC SDK
6
+
7
+ 完整的项目介绍见 [鸿蒙多场景项目](https://github.com/polyv/polyv-harmony-livescenes-sdk-demo)
8
+
9
+ ### 2 下载安装
10
+
11
+ ```shell
12
+ ohpm install @polyvharmony/rtc-core-vrtc
13
+ ```
@@ -0,0 +1 @@
1
+ string page_show 0x04000000
Binary file
@@ -0,0 +1,2 @@
1
+ -keep-global-name
2
+ *
@@ -0,0 +1 @@
1
+ {"name":"@polyvharmony/rtc-core-vrtc","version":"1.4.0-v3.60.151150-dev.260303.1","description":"rtc-core-vrtc","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/rtc-sdk":"1.4.0-dev.260303.1","@polyvharmony/common-libs":"1.0.2","@bytertc/volcenginertc":"file:./libs/volcenginertc-3.60.151150.stripped.har"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"@polyvharmony/rtc-sdk":"1.4.0-dev.260303.1","@polyvharmony/common-libs":"1.0.2","@bytertc/volcenginertc":"3.60.151150"},"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
package/package.json ADDED
@@ -0,0 +1 @@
1
+ {"name":"@polyvharmony/rtc-core-vrtc","version":"1.4.0-v3.60.151150-dev.260303.1","description":"rtc-core-vrtc","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/rtc-sdk":"1.4.0-dev.260303.1","@polyvharmony/common-libs":"1.0.2","@bytertc/volcenginertc":"file:./libs/volcenginertc-3.60.151150.stripped.har"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"@polyvharmony/rtc-sdk":"1.4.0-dev.260303.1","@polyvharmony/common-libs":"1.0.2","@bytertc/volcenginertc":"3.60.151150"},"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
@@ -0,0 +1,2 @@
1
+ export declare const TAG_VRTC = "PLVVRTC";
2
+ export declare const VRTCLogTrace: MethodDecorator;
@@ -0,0 +1,60 @@
1
+ // @keepTs
2
+ // @ts-nocheck
3
+ import { PLVRTCAppToken, PLVRTCClientRole, PLVRTCConfig, PLVRTCEngine, PLVRTCEngineEventCallback, PLVRTCMediaState, PLVRTCRenderViewParam, PLVRTCType, PLVRTCVideoEncodeParam, PLVRTCVideoRenderParam } from '@polyvharmony/rtc-sdk';
4
+ export declare class PLVVRTCEngine extends PLVRTCEngine {
5
+ constructor(y3: PLVRTCConfig, z3: PLVRTCEngineEventCallback);
6
+ private readonly mutex;
7
+ private rtcEngine;
8
+ private rtcEngineCallbackDisposables;
9
+ private rtcRoom;
10
+ private rtcRoomCallbackDisposables;
11
+ private readonly channelUserMediaStates;
12
+ private readonly channelVideoRenderParamMap;
13
+ private localVideoRenderMirror;
14
+ private localVideoPublishMirror;
15
+ private isCameraFront;
16
+ private init;
17
+ getSupportRTCTypes(): PLVRTCType[];
18
+ ensureEngineInitialized(): Promise<void>;
19
+ joinChannel(v3: string): number;
20
+ leaveChannel(): number;
21
+ private leaveChannelAsync;
22
+ renewToken(t3: PLVRTCAppToken): number;
23
+ enableAudio(s3: boolean): number;
24
+ enableLocalAudioCapture(q3: boolean): number;
25
+ enableLocalAudioPublish(o3: boolean): number;
26
+ enableVideo(n3: boolean): number;
27
+ enableLocalVideoCapture(l3: boolean): number;
28
+ enableLocalVideoPublish(j3: boolean): number;
29
+ setLocalVideoEncodeParam(i3: PLVRTCVideoEncodeParam): number;
30
+ createRenderViewParam(g3: string): PLVRTCRenderViewParam;
31
+ setVideoRender(z2: PLVRTCVideoRenderParam): number;
32
+ getVideoRenderParam(y2: string): PLVRTCVideoRenderParam | null;
33
+ setRemoteAudioRender(v2: string, w2: boolean): number;
34
+ switchRole(s2: PLVRTCClientRole): number;
35
+ switchCamera(): number;
36
+ getRemoteViewerMediaState(r2: string): PLVRTCMediaState | undefined;
37
+ destroy(): number;
38
+ private updateLocalVideoMirror;
39
+ private registerEngineCallbacks;
40
+ private registerRoomCallbacks;
41
+ private onError;
42
+ private onFirstRemoteVideoFrameDecoded;
43
+ private onRemoteVideoSizeChanged;
44
+ private onLocalAudioPropertiesReport;
45
+ private onRemoteAudioPropertiesReport;
46
+ private onRoomStateChanged;
47
+ private onLeaveRoom;
48
+ private onUserJoined;
49
+ private onUserLeave;
50
+ private onUserPublishStreamVideo;
51
+ private onUserPublishStreamAudio;
52
+ private onNetworkQuality;
53
+ private releaseEngineCallbacks;
54
+ private releaseRoomCallbacks;
55
+ private registerEngineCallback;
56
+ private registerRoomCallback;
57
+ private updateChannelUserMediaState;
58
+ private defaultMediaState;
59
+ private convertNetworkQuality;
60
+ }
@@ -0,0 +1,9 @@
1
+ // @keepTs
2
+ // @ts-nocheck
3
+ import { PLVRTCConfig, PLVRTCEngine, PLVRTCEngineEventCallback, PLVRTCEngineFactory, PLVRTCType } from '@polyvharmony/rtc-sdk';
4
+ export declare class PLVVRTCEngineFactory extends PLVRTCEngineFactory {
5
+ static readonly instance: PLVVRTCEngineFactory;
6
+ private constructor();
7
+ isEngineSupport(d4: PLVRTCType): boolean;
8
+ create(a4: PLVRTCConfig, b4: PLVRTCEngineEventCallback): PLVRTCEngine | null;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { RTCENGINECALLBACK, RTCROOMCALLBACK } from '@bytertc/volcenginertc/src/main/ets/bytertc/types/common';
2
+ export type ANY = any;
3
+ export type RtcEngineCallbackType = keyof RTCENGINECALLBACK;
4
+ export type RtcEngineCallbackFunction<T extends RtcEngineCallbackType> = RTCENGINECALLBACK[T];
5
+ export type RtcRoomCallbackType = keyof RTCROOMCALLBACK;
6
+ export type RtcRoomCallbackFunction<T extends RtcRoomCallbackType> = RTCROOMCALLBACK[T];
7
+ export declare function bind(e4: any, f4: Function): any;
@@ -0,0 +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_core_vrtc","type":"har","deviceTypes":["default","tablet"],"packageName":"@polyvharmony/rtc-core-vrtc","installationFree":false,"virtualMachine":"ark12.0.2.0","compileMode":"esmodule","dependencies":[]}}
@@ -0,0 +1,8 @@
1
+ {
2
+ "string": [
3
+ {
4
+ "name": "page_show",
5
+ "value": "page from package"
6
+ }
7
+ ]
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "string": [
3
+ {
4
+ "name": "page_show",
5
+ "value": "page from package"
6
+ }
7
+ ]
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "string": [
3
+ {
4
+ "name": "page_show",
5
+ "value": "page from package"
6
+ }
7
+ ]
8
+ }