@polyvharmony/rtc-core-trtc 1.4.0-v13.2.0.8732-dev.260702.2 → 1.4.0-v13.2.0.8732-dev.260702.4
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/ets/modules.abc +0 -0
- package/oh-package.json5 +1 -1
- package/package.json +1 -1
- package/src/main/ets/PLVTRTCEngine.d.ts +50 -49
- package/src/main/ets/PLVTRTCEngineFactory.d.ts +2 -2
package/CHANGELOG.md
CHANGED
package/ets/modules.abc
CHANGED
|
Binary file
|
package/oh-package.json5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@polyvharmony/rtc-core-trtc","version":"1.4.0-v13.2.0.8732-dev.260702.
|
|
1
|
+
{"name":"@polyvharmony/rtc-core-trtc","version":"1.4.0-v13.2.0.8732-dev.260702.4","description":"rtc-core-trtc","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/rtc-sdk":"1.4.0-dev.260702.4","@polyvharmony/common-libs":"1.0.2","@tencentcloud/liteavsdk_trtc":"file:./libs/LiteAVSDK_TRTC_13.2.0.8732.stripped.har"},"types":"Index.d.ts","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"@polyvharmony/rtc-sdk":"1.4.0-dev.260702.4","@polyvharmony/common-libs":"1.0.2","@tencentcloud/liteavsdk_trtc":"13.2.8732"},"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@polyvharmony/rtc-core-trtc","version":"1.4.0-v13.2.0.8732-dev.260702.
|
|
1
|
+
{"name":"@polyvharmony/rtc-core-trtc","version":"1.4.0-v13.2.0.8732-dev.260702.4","description":"rtc-core-trtc","author":"POLYV","repository":"https://github.com/polyv/polyv-harmony-livescenes-sdk-demo","license":"MIT","dependencies":{"@polyvharmony/rtc-sdk":"1.4.0-dev.260702.4","@polyvharmony/common-libs":"1.0.2","@tencentcloud/liteavsdk_trtc":"file:./libs/LiteAVSDK_TRTC_13.2.0.8732.stripped.har"},"types":"Index.d.ts","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"@polyvharmony/rtc-sdk":"1.4.0-dev.260702.4","@polyvharmony/common-libs":"1.0.2","@tencentcloud/liteavsdk_trtc":"13.2.8732"},"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
|
|
@@ -4,76 +4,77 @@ import image from "@ohos.multimedia.image";
|
|
|
4
4
|
export declare class PLVTRTCEngine extends PLVRTCEngine implements TRTCCloudCallback {
|
|
5
5
|
readonly rtcConfig: PLVRTCConfig;
|
|
6
6
|
readonly eventCallback: PLVRTCEngineEventCallback;
|
|
7
|
-
constructor(
|
|
7
|
+
constructor(y5: PLVRTCConfig, z5: PLVRTCEngineEventCallback);
|
|
8
8
|
private rtcEngine;
|
|
9
9
|
private currentJoinedChannelId;
|
|
10
10
|
private isCameraFront;
|
|
11
|
+
private isMuteLocalVideo;
|
|
11
12
|
private audioQuality;
|
|
12
13
|
private readonly channelUserMediaStates;
|
|
13
14
|
private readonly channelVideoRenderParamMap;
|
|
14
15
|
private init;
|
|
15
16
|
getSupportRTCTypes(): PLVRTCType[];
|
|
16
|
-
joinChannel(
|
|
17
|
+
joinChannel(w5: string): number;
|
|
17
18
|
leaveChannel(): number;
|
|
18
19
|
startScreenCapture(): number;
|
|
19
20
|
stopScreenCapture(): number;
|
|
20
21
|
isScreenCaptureSupported(): boolean;
|
|
21
|
-
renewToken(
|
|
22
|
-
enableAudio(
|
|
23
|
-
enableLocalAudioCapture(
|
|
24
|
-
enableLocalAudioPublish(
|
|
25
|
-
enableVideo(
|
|
26
|
-
enableLocalVideoCapture(
|
|
27
|
-
enableLocalVideoPublish(
|
|
28
|
-
setLocalVideoEncodeParam(
|
|
29
|
-
createRenderViewParam(
|
|
30
|
-
setVideoRender(
|
|
31
|
-
getVideoRenderParam(
|
|
32
|
-
setRemoteAudioRender(
|
|
33
|
-
switchRole(
|
|
22
|
+
renewToken(v5: PLVRTCAppToken): number;
|
|
23
|
+
enableAudio(u5: boolean): number;
|
|
24
|
+
enableLocalAudioCapture(t5: boolean): number;
|
|
25
|
+
enableLocalAudioPublish(p5: boolean): number;
|
|
26
|
+
enableVideo(o5: boolean): number;
|
|
27
|
+
enableLocalVideoCapture(n5: boolean): number;
|
|
28
|
+
enableLocalVideoPublish(j5: boolean): number;
|
|
29
|
+
setLocalVideoEncodeParam(d5: PLVRTCVideoEncodeParam): number;
|
|
30
|
+
createRenderViewParam(b5: string): PLVRTCRenderViewParam;
|
|
31
|
+
setVideoRender(y4: PLVRTCVideoRenderParam): number;
|
|
32
|
+
getVideoRenderParam(x4: string): PLVRTCVideoRenderParam | null;
|
|
33
|
+
setRemoteAudioRender(v4: string, w4: boolean): number;
|
|
34
|
+
switchRole(u4: PLVRTCClientRole): number;
|
|
34
35
|
switchCamera(): number;
|
|
35
|
-
getRemoteViewerMediaState(
|
|
36
|
+
getRemoteViewerMediaState(s4: string): PLVRTCMediaState | undefined;
|
|
36
37
|
destroy(): number;
|
|
37
|
-
onError(
|
|
38
|
-
onWarning(
|
|
39
|
-
onEnterRoom(
|
|
40
|
-
onExitRoom(
|
|
41
|
-
onSwitchRole(
|
|
42
|
-
onSwitchRoom(
|
|
43
|
-
onConnectOtherRoom(
|
|
44
|
-
onDisconnectOtherRoom(
|
|
45
|
-
onUpdateOtherRoomForwardMode(
|
|
46
|
-
onRemoteUserEnterRoom(
|
|
47
|
-
onRemoteUserLeaveRoom(
|
|
48
|
-
onUserVideoAvailable(
|
|
49
|
-
onUserSubStreamAvailable(
|
|
50
|
-
onUserAudioAvailable(
|
|
51
|
-
onFirstVideoFrame(
|
|
52
|
-
onFirstAudioFrame(
|
|
53
|
-
onSendFirstLocalVideoFrame(
|
|
38
|
+
onError(p4: TXLiteAVError, q4: string, r4: Record<string, number | string>): void;
|
|
39
|
+
onWarning(m4: TXLiteAVWarning, n4: string, o4: Record<string, number | string>): void;
|
|
40
|
+
onEnterRoom(l4: number): void;
|
|
41
|
+
onExitRoom(k4: number): void;
|
|
42
|
+
onSwitchRole(i4: TXLiteAVError, j4: string): void;
|
|
43
|
+
onSwitchRoom(g4: TXLiteAVError, h4: string): void;
|
|
44
|
+
onConnectOtherRoom(d4: string, e4: TXLiteAVError, f4: string): void;
|
|
45
|
+
onDisconnectOtherRoom(b4: TXLiteAVError, c4: string): void;
|
|
46
|
+
onUpdateOtherRoomForwardMode(z3: TXLiteAVError, a4: string): void;
|
|
47
|
+
onRemoteUserEnterRoom(w3: string): void;
|
|
48
|
+
onRemoteUserLeaveRoom(t3: string, u3: number): void;
|
|
49
|
+
onUserVideoAvailable(o3: string, p3: number): void;
|
|
50
|
+
onUserSubStreamAvailable(m3: string, n3: number): void;
|
|
51
|
+
onUserAudioAvailable(h3: string, i3: number): void;
|
|
52
|
+
onFirstVideoFrame(z2: string, a3: number, b3: number, c3: number): void;
|
|
53
|
+
onFirstAudioFrame(y2: string): void;
|
|
54
|
+
onSendFirstLocalVideoFrame(x2: number): void;
|
|
54
55
|
onSendFirstLocalAudioFrame(): void;
|
|
55
|
-
onRemoteVideoStatusUpdated(
|
|
56
|
-
onRemoteAudioStatusUpdated(
|
|
57
|
-
onUserVideoSizeChanged(
|
|
58
|
-
onNetworkQuality(
|
|
59
|
-
onStatistics(
|
|
60
|
-
onSpeedTestResult(
|
|
56
|
+
onRemoteVideoStatusUpdated(s2: string, t2: TRTCVideoStreamType, u2: TRTCAVStatusType, v2: TRTCAVStatusChangeReason, w2: Record<string, number | string>): void;
|
|
57
|
+
onRemoteAudioStatusUpdated(o2: string, p2: TRTCAVStatusType, q2: TRTCAVStatusChangeReason, r2: Record<string, number | string>): void;
|
|
58
|
+
onUserVideoSizeChanged(g2: string, h2: TRTCVideoStreamType, i2: number, j2: number): void;
|
|
59
|
+
onNetworkQuality(e2: TRTCQualityInfo, f2: Array<TRTCQualityInfo>): void;
|
|
60
|
+
onStatistics(c2: TRTCStatistics): void;
|
|
61
|
+
onSpeedTestResult(b2: TRTCSpeedTestResult): void;
|
|
61
62
|
onConnectionLost(): void;
|
|
62
63
|
onTryToReconnect(): void;
|
|
63
64
|
onConnectionRecovery(): void;
|
|
64
65
|
onCameraDidReady(): void;
|
|
65
66
|
onMicDidReady(): void;
|
|
66
|
-
onUserVoiceVolume(
|
|
67
|
-
onRecvCustomCmdMsg(
|
|
68
|
-
onMissCustomCmdMsg(
|
|
69
|
-
onRecvSEIMsg(
|
|
70
|
-
onStartPublishMediaStream(
|
|
71
|
-
onUpdatePublishMediaStream(
|
|
72
|
-
onStopPublishMediaStream(
|
|
73
|
-
onCdnStreamStateChanged(
|
|
67
|
+
onUserVoiceVolume(t1: Array<TRTCVolumeInfo>, u1: number, v1: number): void;
|
|
68
|
+
onRecvCustomCmdMsg(p1: string, q1: number, r1: number, s1: ArrayBuffer): void;
|
|
69
|
+
onMissCustomCmdMsg(l1: string, m1: number, n1: number, o1: number): void;
|
|
70
|
+
onRecvSEIMsg(j1: string, k1: ArrayBuffer): void;
|
|
71
|
+
onStartPublishMediaStream(f1: string, g1: number, h1: string, i1: Record<string, number | string>): void;
|
|
72
|
+
onUpdatePublishMediaStream(b1: string, c1: number, d1: string, e1: Record<string, number | string>): void;
|
|
73
|
+
onStopPublishMediaStream(x: string, y: number, z: string, a1: Record<string, number | string>): void;
|
|
74
|
+
onCdnStreamStateChanged(s: string, t: number, u: number, v: string, w: Record<string, number | string>): void;
|
|
74
75
|
onScreenCaptureStarted(): void;
|
|
75
|
-
onScreenCapturePaused(
|
|
76
|
-
onScreenCaptureResumed(
|
|
76
|
+
onScreenCapturePaused(r: number): void;
|
|
77
|
+
onScreenCaptureResumed(q: number): void;
|
|
77
78
|
onScreenCaptureStoped(o: number): void;
|
|
78
79
|
onLocalRecordBegin(m: number, n: string): void;
|
|
79
80
|
onLocalRecording(k: number, l: string): void;
|
|
@@ -2,6 +2,6 @@ import { PLVRTCConfig, PLVRTCEngine, PLVRTCEngineEventCallback, PLVRTCEngineFact
|
|
|
2
2
|
export declare class PLVTRTCEngineFactory extends PLVRTCEngineFactory {
|
|
3
3
|
static readonly instance: PLVTRTCEngineFactory;
|
|
4
4
|
private constructor();
|
|
5
|
-
isEngineSupport(
|
|
6
|
-
create(
|
|
5
|
+
isEngineSupport(d6: PLVRTCType): boolean;
|
|
6
|
+
create(a6: PLVRTCConfig, b6: PLVRTCEngineEventCallback): PLVRTCEngine | null;
|
|
7
7
|
}
|