@polyvharmony/rtc-core-artc 4.4.0-p1-dev.1 → 4.4.0-p1-dev.3

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
- ## [v4.4.0-p1-dev.1] - 2024-10-11
1
+ ## [v4.4.0-p1-dev.3] - 2024-10-16
2
2
 
3
3
  此项目是保利威鸿蒙 RTC SDK
4
4
 
package/Index.d.ets CHANGED
@@ -1,3 +1,3 @@
1
1
  // @keepTs
2
2
  // @ts-nocheck
3
- export * from "./src/main/ets/d";
3
+ export * from './src/main/ets/PLVARTCEngineFactory';
package/ets/modules.abc CHANGED
Binary file
package/obfuscation.txt CHANGED
@@ -1,2 +1,2 @@
1
- -enable-property-obfuscation
2
- -enable-toplevel-obfuscation
1
+ -keep-global-name
2
+ *
package/oh-package.json5 CHANGED
@@ -1 +1 @@
1
- {"name":"@polyvharmony/rtc-core-artc","version":"4.4.0-p1-dev.1","description":"rtc-core-artc","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/rtc-sdk":"1.0.0-dev.1","@polyvharmony/media-player-foundation":"2.2.0","AgoraRtcSdk":"file:./libs/AgoraRtcSdk.har"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
1
+ {"name":"@polyvharmony/rtc-core-artc","version":"4.4.0-p1-dev.3","description":"rtc-core-artc","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/rtc-sdk":"1.0.0-dev.3","@polyvharmony/media-player-foundation":"2.3.1-dev.1","AgoraRtcSdk":"file:./libs/AgoraRtcSdk.har"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@polyvharmony/rtc-core-artc","version":"4.4.0-p1-dev.1","description":"rtc-core-artc","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/rtc-sdk":"1.0.0-dev.1","@polyvharmony/media-player-foundation":"2.2.0","AgoraRtcSdk":"file:./libs/AgoraRtcSdk.har"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
1
+ {"name":"@polyvharmony/rtc-core-artc","version":"4.4.0-p1-dev.3","description":"rtc-core-artc","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/rtc-sdk":"1.0.0-dev.3","@polyvharmony/media-player-foundation":"2.3.1-dev.1","AgoraRtcSdk":"file:./libs/AgoraRtcSdk.har"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
@@ -0,0 +1,4 @@
1
+ // @keepTs
2
+ // @ts-nocheck
3
+ export declare const TAG_ARTC = "PLVARTC";
4
+ export declare const ARTCLogTrace: MethodDecorator;
@@ -0,0 +1,41 @@
1
+ // @keepTs
2
+ // @ts-nocheck
3
+ import { PLVRTCAppToken, PLVRTCClientRole, PLVRTCConfig, PLVRTCEngine, PLVRTCEngineEventCallback, PLVRTCRenderViewParam, PLVRTCVideoEncodeParam, PLVRTCVideoRenderParam } from '@polyvharmony/rtc-sdk';
4
+ import { Constants, IRtcEngineEventHandler, RtcStats } from 'AgoraRtcSdk';
5
+ export declare class PLVARTCEngine extends PLVRTCEngine implements IRtcEngineEventHandler {
6
+ readonly rtcConfig: PLVRTCConfig;
7
+ readonly eventCallback: PLVRTCEngineEventCallback;
8
+ constructor(i2: PLVRTCConfig, j2: PLVRTCEngineEventCallback);
9
+ private rtcEngine;
10
+ private currentJoinedChannelId;
11
+ private readonly channelRemoteUserMediaStates;
12
+ private init;
13
+ joinChannel(d2: string): number;
14
+ leaveChannel(): number;
15
+ renewToken(b2: PLVRTCAppToken): number;
16
+ enableAudio(a2: boolean): number;
17
+ enableLocalAudioCapture(z1: boolean): number;
18
+ enableLocalAudioPublish(y1: boolean): number;
19
+ enableVideo(x1: boolean): number;
20
+ enableLocalVideoCapture(v1: boolean): number;
21
+ enableLocalVideoPublish(u1: boolean): number;
22
+ setLocalVideoEncodeParam(s1: PLVRTCVideoEncodeParam): number;
23
+ createRenderViewParam(q1: string): PLVRTCRenderViewParam;
24
+ setVideoRender(m1: PLVRTCVideoRenderParam): number;
25
+ setRemoteAudioRender(j1: string, k1: boolean): number;
26
+ switchRole(i1: PLVRTCClientRole): number;
27
+ switchCamera(): number;
28
+ destroy(): number;
29
+ onJoinChannelSuccess(f1: string, g1: number, h1: number): void;
30
+ onRejoinChannelSuccess(c1: string, d1: number, e1: number): void;
31
+ onLeaveChannel(b1: RtcStats): void;
32
+ onUserJoined(w: number, x: number): void;
33
+ onUserMuteAudio(q: number, r: boolean): void;
34
+ onUserMuteVideo(k: number, l: boolean): void;
35
+ onUserOffline(g: number, h: number): void;
36
+ onTokenPrivilegeWillExpire(f: string): void;
37
+ onRequestToken(): void;
38
+ onConnectionStateChanged(d: Constants.ConnectionState, e: Constants.ConnectionChangedReason): void;
39
+ onError(b: Constants.ErrorCode, c: string): void;
40
+ private defaultMediaState;
41
+ }
@@ -0,0 +1,8 @@
1
+ // @keepTs
2
+ // @ts-nocheck
3
+ import { PLVRTCConfig, PLVRTCEngine, PLVRTCEngineEventCallback, PLVRTCEngineFactory } from "@polyvharmony/rtc-sdk";
4
+ export declare class PLVARTCEngineFactory extends PLVRTCEngineFactory {
5
+ static readonly instance: PLVARTCEngineFactory;
6
+ private constructor();
7
+ create(k2: PLVRTCConfig, l2: PLVRTCEngineEventCallback): PLVRTCEngine | null;
8
+ }
@@ -1,8 +0,0 @@
1
- // @keepTs
2
- // @ts-nocheck
3
- import { i1, c1, j1, c3 } from "@polyvharmony/rtc-sdk";
4
- export declare class d3 extends c3 {
5
- static readonly instance: d3;
6
- private constructor();
7
- create(e3: i1, f3: j1): c1 | null;
8
- }
@@ -1,4 +0,0 @@
1
- // @keepTs
2
- // @ts-nocheck
3
- export declare const o = "PLVARTC";
4
- export declare const t: MethodDecorator;
@@ -1,41 +0,0 @@
1
- // @keepTs
2
- // @ts-nocheck
3
- import { h1, b1, i1, c1, j1, e1, l1, m1 } from '@polyvharmony/rtc-sdk';
4
- import { Constants, IRtcEngineEventHandler, RtcStats } from 'AgoraRtcSdk';
5
- export declare class n1 extends c1 implements IRtcEngineEventHandler {
6
- readonly o1: i1;
7
- readonly q1: j1;
8
- constructor(a3: i1, b3: j1);
9
- private s1;
10
- private t1;
11
- private readonly u1;
12
- private init;
13
- joinChannel(v2: string): number;
14
- leaveChannel(): number;
15
- renewToken(u2: h1): number;
16
- enableAudio(enable: boolean): number;
17
- z1(enable: boolean): number;
18
- a2(enable: boolean): number;
19
- enableVideo(enable: boolean): number;
20
- b2(enable: boolean): number;
21
- c2(enable: boolean): number;
22
- d2(s2: l1): number;
23
- i2(q2: string): e1;
24
- j2(m2: m1): number;
25
- o2(k2: string, l2: boolean): number;
26
- q2(role: b1): number;
27
- switchCamera(): number;
28
- destroy(): number;
29
- onJoinChannelSuccess(channel: string, uid: number, j2: number): void;
30
- onRejoinChannelSuccess(h2: string, uid: number, i2: number): void;
31
- onLeaveChannel(g2: RtcStats): void;
32
- onUserJoined(uid: number, c2: number): void;
33
- onUserMuteAudio(uid: number, muted: boolean): void;
34
- onUserMuteVideo(uid: number, muted: boolean): void;
35
- onUserOffline(uid: number, reason: number): void;
36
- onTokenPrivilegeWillExpire(token: string): void;
37
- onRequestToken(): void;
38
- onConnectionStateChanged(state: Constants.ConnectionState, reason: Constants.ConnectionChangedReason): void;
39
- onError(err: Constants.ErrorCode, message: string): void;
40
- private s2;
41
- }