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