@afosecure/meetingsdk 1.4.4 → 1.4.5
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/dist/index.d.mts +18 -23
- package/dist/index.d.ts +18 -23
- package/dist/index.js +338 -590
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +338 -590
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -125,20 +125,18 @@ declare class VideoSDKCore {
|
|
|
125
125
|
private events;
|
|
126
126
|
private url;
|
|
127
127
|
private ws;
|
|
128
|
-
private
|
|
129
|
-
private
|
|
130
|
-
private lastPong;
|
|
128
|
+
private pubPC;
|
|
129
|
+
private subPC;
|
|
131
130
|
private iceServers;
|
|
131
|
+
private lastPong;
|
|
132
132
|
private intentionalDisconnect;
|
|
133
133
|
private myId;
|
|
134
134
|
private room;
|
|
135
135
|
private localStream;
|
|
136
136
|
private screenStream;
|
|
137
|
+
private screenSender;
|
|
137
138
|
private isScreenSharing;
|
|
138
|
-
private screenSenders;
|
|
139
139
|
private pingInterval;
|
|
140
|
-
private pendingIceCandidates;
|
|
141
|
-
private pendingOffers;
|
|
142
140
|
private reconnectAttempts;
|
|
143
141
|
private reconnectTimer?;
|
|
144
142
|
private participantName;
|
|
@@ -148,36 +146,33 @@ declare class VideoSDKCore {
|
|
|
148
146
|
private isWaitingForApproval;
|
|
149
147
|
private pendingRequestId;
|
|
150
148
|
private iceTransportPolicy;
|
|
151
|
-
private emitError;
|
|
152
149
|
constructor(events?: Events, url?: string);
|
|
153
150
|
initLocal(video: HTMLVideoElement, name: string): Promise<void>;
|
|
154
|
-
connect(roomId: string, name: string): Promise<void>;
|
|
155
151
|
joinMeeting(config: MeetingConfig): Promise<void>;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
152
|
+
private setupPublisherPC;
|
|
153
|
+
private setupSubscriberPC;
|
|
154
|
+
connect(roomId: string, name: string): Promise<void>;
|
|
155
|
+
private handle;
|
|
156
|
+
private createPublisherOffer;
|
|
160
157
|
toggleMic(): void;
|
|
161
158
|
toggleCam(): void;
|
|
159
|
+
startScreenShare(): Promise<MediaStream>;
|
|
160
|
+
stopScreenShare(): void;
|
|
161
|
+
sendChatMessage(payload: ChatInput): void;
|
|
162
162
|
private scheduleReconnect;
|
|
163
163
|
private startHeartbeat;
|
|
164
164
|
private stopHeartbeat;
|
|
165
165
|
private reset;
|
|
166
|
-
private handleJoinApproved;
|
|
167
|
-
private handle;
|
|
168
|
-
private createPeer;
|
|
169
|
-
private createOffer;
|
|
170
|
-
private shouldInitiate;
|
|
171
|
-
private handleOffer;
|
|
172
|
-
private closePeer;
|
|
173
|
-
startScreenShare(): Promise<MediaStream>;
|
|
174
|
-
stopScreenShare(): void;
|
|
175
|
-
sendChatMessage(payload: ChatInput): void;
|
|
176
166
|
disconnect(): void;
|
|
177
|
-
private
|
|
167
|
+
private restartPublisherIce;
|
|
168
|
+
private emitError;
|
|
178
169
|
private send;
|
|
179
170
|
approveJoinRequest(requestId: string): void;
|
|
180
171
|
rejectJoinRequest(requestId: string): void;
|
|
172
|
+
getMeeting(): {
|
|
173
|
+
id: string | null;
|
|
174
|
+
name: string | null;
|
|
175
|
+
};
|
|
181
176
|
}
|
|
182
177
|
|
|
183
178
|
type PubSubHandle = {
|
package/dist/index.d.ts
CHANGED
|
@@ -125,20 +125,18 @@ declare class VideoSDKCore {
|
|
|
125
125
|
private events;
|
|
126
126
|
private url;
|
|
127
127
|
private ws;
|
|
128
|
-
private
|
|
129
|
-
private
|
|
130
|
-
private lastPong;
|
|
128
|
+
private pubPC;
|
|
129
|
+
private subPC;
|
|
131
130
|
private iceServers;
|
|
131
|
+
private lastPong;
|
|
132
132
|
private intentionalDisconnect;
|
|
133
133
|
private myId;
|
|
134
134
|
private room;
|
|
135
135
|
private localStream;
|
|
136
136
|
private screenStream;
|
|
137
|
+
private screenSender;
|
|
137
138
|
private isScreenSharing;
|
|
138
|
-
private screenSenders;
|
|
139
139
|
private pingInterval;
|
|
140
|
-
private pendingIceCandidates;
|
|
141
|
-
private pendingOffers;
|
|
142
140
|
private reconnectAttempts;
|
|
143
141
|
private reconnectTimer?;
|
|
144
142
|
private participantName;
|
|
@@ -148,36 +146,33 @@ declare class VideoSDKCore {
|
|
|
148
146
|
private isWaitingForApproval;
|
|
149
147
|
private pendingRequestId;
|
|
150
148
|
private iceTransportPolicy;
|
|
151
|
-
private emitError;
|
|
152
149
|
constructor(events?: Events, url?: string);
|
|
153
150
|
initLocal(video: HTMLVideoElement, name: string): Promise<void>;
|
|
154
|
-
connect(roomId: string, name: string): Promise<void>;
|
|
155
151
|
joinMeeting(config: MeetingConfig): Promise<void>;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
152
|
+
private setupPublisherPC;
|
|
153
|
+
private setupSubscriberPC;
|
|
154
|
+
connect(roomId: string, name: string): Promise<void>;
|
|
155
|
+
private handle;
|
|
156
|
+
private createPublisherOffer;
|
|
160
157
|
toggleMic(): void;
|
|
161
158
|
toggleCam(): void;
|
|
159
|
+
startScreenShare(): Promise<MediaStream>;
|
|
160
|
+
stopScreenShare(): void;
|
|
161
|
+
sendChatMessage(payload: ChatInput): void;
|
|
162
162
|
private scheduleReconnect;
|
|
163
163
|
private startHeartbeat;
|
|
164
164
|
private stopHeartbeat;
|
|
165
165
|
private reset;
|
|
166
|
-
private handleJoinApproved;
|
|
167
|
-
private handle;
|
|
168
|
-
private createPeer;
|
|
169
|
-
private createOffer;
|
|
170
|
-
private shouldInitiate;
|
|
171
|
-
private handleOffer;
|
|
172
|
-
private closePeer;
|
|
173
|
-
startScreenShare(): Promise<MediaStream>;
|
|
174
|
-
stopScreenShare(): void;
|
|
175
|
-
sendChatMessage(payload: ChatInput): void;
|
|
176
166
|
disconnect(): void;
|
|
177
|
-
private
|
|
167
|
+
private restartPublisherIce;
|
|
168
|
+
private emitError;
|
|
178
169
|
private send;
|
|
179
170
|
approveJoinRequest(requestId: string): void;
|
|
180
171
|
rejectJoinRequest(requestId: string): void;
|
|
172
|
+
getMeeting(): {
|
|
173
|
+
id: string | null;
|
|
174
|
+
name: string | null;
|
|
175
|
+
};
|
|
181
176
|
}
|
|
182
177
|
|
|
183
178
|
type PubSubHandle = {
|