@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 +1 -1
- package/Index.d.ets +1 -1
- package/ets/modules.abc +0 -0
- package/obfuscation.txt +2 -2
- package/oh-package.json5 +1 -1
- package/package.json +1 -1
- package/src/main/ets/PLVARTCConstants.d.ets +4 -0
- package/src/main/ets/PLVARTCEngine.d.ets +41 -0
- package/src/main/ets/PLVARTCEngineFactory.d.ets +8 -0
- package/src/main/ets/d.d.ets +0 -8
- package/src/main/ets/e.d.ets +0 -4
- package/src/main/ets/f.d.ets +0 -41
package/CHANGELOG.md
CHANGED
package/Index.d.ets
CHANGED
package/ets/modules.abc
CHANGED
|
Binary file
|
package/obfuscation.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
-
|
|
2
|
-
|
|
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
|
+
{"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
|
+
{"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,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
|
+
}
|
package/src/main/ets/d.d.ets
DELETED
package/src/main/ets/e.d.ets
DELETED
package/src/main/ets/f.d.ets
DELETED
|
@@ -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
|
-
}
|