genesys-cloud-streaming-client 19.2.0-develop.139 → 19.2.0-develop.140

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.
@@ -216,10 +216,10 @@ class WebrtcExtension extends events_1.EventEmitter {
216
216
  this.proxyStatsForSession(session);
217
217
  session.on('sendIq', (iq) => { var _a; return (_a = this.stanzaInstance) === null || _a === void 0 ? void 0 : _a.sendIQ(iq); });
218
218
  session.on('terminated', () => {
219
+ delete this.sessionsMap[session.id];
219
220
  this.webrtcSessions = this.webrtcSessions.filter(s => s.id !== session.id);
220
221
  });
221
222
  this.webrtcSessions.push(session);
222
- delete this.sessionsMap[session.id];
223
223
  this.logger.info('emitting sdp media-session (offer');
224
224
  this.applyEarlyIceCandidates(session);
225
225
  return this.emit(events.INCOMING_RTCSESSION, session);
@@ -11,8 +11,8 @@
11
11
  "file": "v19/streaming-client.browser.js"
12
12
  }
13
13
  ],
14
- "build": "139",
15
- "buildDate": "2025-06-04T21:45:06.245291058Z",
14
+ "build": "140",
15
+ "buildDate": "2025-06-05T19:35:24.249850717Z",
16
16
  "appName": "developercenter-cdn/streaming-client",
17
17
  "gcServiceName": "developercenter-cdn--streaming-client-webui"
18
18
  }
@@ -32154,10 +32154,10 @@ class WebrtcExtension extends EventEmitter {
32154
32154
  this.proxyStatsForSession(session);
32155
32155
  session.on('sendIq', (iq) => { var _a; return (_a = this.stanzaInstance) === null || _a === void 0 ? void 0 : _a.sendIQ(iq); });
32156
32156
  session.on('terminated', () => {
32157
+ delete this.sessionsMap[session.id];
32157
32158
  this.webrtcSessions = this.webrtcSessions.filter(s => s.id !== session.id);
32158
32159
  });
32159
32160
  this.webrtcSessions.push(session);
32160
- delete this.sessionsMap[session.id];
32161
32161
  this.logger.info('emitting sdp media-session (offer');
32162
32162
  this.applyEarlyIceCandidates(session);
32163
32163
  return this.emit(events.INCOMING_RTCSESSION, session);
package/dist/es/webrtc.js CHANGED
@@ -212,10 +212,10 @@ export class WebrtcExtension extends EventEmitter {
212
212
  this.proxyStatsForSession(session);
213
213
  session.on('sendIq', (iq) => { var _a; return (_a = this.stanzaInstance) === null || _a === void 0 ? void 0 : _a.sendIQ(iq); });
214
214
  session.on('terminated', () => {
215
+ delete this.sessionsMap[session.id];
215
216
  this.webrtcSessions = this.webrtcSessions.filter(s => s.id !== session.id);
216
217
  });
217
218
  this.webrtcSessions.push(session);
218
- delete this.sessionsMap[session.id];
219
219
  this.logger.info('emitting sdp media-session (offer');
220
220
  this.applyEarlyIceCandidates(session);
221
221
  return this.emit(events.INCOMING_RTCSESSION, session);
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
  # [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.2.1...HEAD)
8
8
  ### Fixed
9
9
  * [STREAM-262](https://inindca.atlassian.net/browse/STREAM-262) - Set the state of a GenesysCloudMediaSession to `ended` when a `terminate` is received (or we determine a hard closure of the PeerConnection is needed)
10
+ * [STREAM-582](https://inindca.atlassian.net/browse/STREAM-582) - Fix issue where `session-initiate` was not ignored when SDP-over-XMPP was turned on for a session.
10
11
 
11
12
  # [v19.2.1](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.2.0...v19.2.1)
12
13
  ### Fixed
@@ -216,10 +216,10 @@ class WebrtcExtension extends events_1.EventEmitter {
216
216
  this.proxyStatsForSession(session);
217
217
  session.on('sendIq', (iq) => { var _a; return (_a = this.stanzaInstance) === null || _a === void 0 ? void 0 : _a.sendIQ(iq); });
218
218
  session.on('terminated', () => {
219
+ delete this.sessionsMap[session.id];
219
220
  this.webrtcSessions = this.webrtcSessions.filter(s => s.id !== session.id);
220
221
  });
221
222
  this.webrtcSessions.push(session);
222
- delete this.sessionsMap[session.id];
223
223
  this.logger.info('emitting sdp media-session (offer');
224
224
  this.applyEarlyIceCandidates(session);
225
225
  return this.emit(events.INCOMING_RTCSESSION, session);