genesys-cloud-streaming-client
Advanced tools
Comparing version 18.0.1-develop.125 to 18.0.1-develop.126
@@ -37,2 +37,3 @@ "use strict"; | ||
this.privAnswerMode = params.privAnswerMode; | ||
this.meetingId = params.meetingId; | ||
// babel does not like the typescript recipe for multiple extends so we are hacking this one | ||
@@ -39,0 +40,0 @@ // referencing https://github.com/babel/babel/issues/798 |
@@ -196,2 +196,3 @@ "use strict"; | ||
}; | ||
delete this.pendingSessions[pendingSession.sessionId]; | ||
} | ||
@@ -304,7 +305,2 @@ else { | ||
const pendingSession = this.pendingSessions[options.sid]; | ||
// TODO: when we can safely remove the jingle session handling, this pending session | ||
// will need to be deleted in the `handleGenesysOffer` fn. | ||
if (pendingSession) { | ||
delete this.pendingSessions[pendingSession.sessionId]; | ||
} | ||
if (pendingSession === null || pendingSession === void 0 ? void 0 : pendingSession.sdpOverXmpp) { | ||
@@ -314,2 +310,5 @@ this.logger.debug('skipping creation of jingle webrtc session due to sdpOverXmpp on the pendingSession'); | ||
} | ||
if (pendingSession) { | ||
delete this.pendingSessions[pendingSession.sessionId]; | ||
} | ||
const ignoreHostCandidatesForForceTurnFF = this.getIceTransportPolicy() === 'relay' && browserama_1.isFirefox; | ||
@@ -316,0 +315,0 @@ const gcSessionOpts = { |
@@ -20,4 +20,4 @@ { | ||
], | ||
"build": "125", | ||
"buildDate": "2025-01-14T19:50:26.073074953Z" | ||
"build": "126", | ||
"buildDate": "2025-01-16T19:49:50.170135360Z" | ||
} |
@@ -34,2 +34,3 @@ import { __awaiter } from "tslib"; | ||
this.privAnswerMode = params.privAnswerMode; | ||
this.meetingId = params.meetingId; | ||
// babel does not like the typescript recipe for multiple extends so we are hacking this one | ||
@@ -36,0 +37,0 @@ // referencing https://github.com/babel/babel/issues/798 |
@@ -192,2 +192,3 @@ import { __awaiter } from "tslib"; | ||
mediaSessionParams = Object.assign(Object.assign({}, commonParams), { meetingId: pendingSession.meetingId, fromUserId: pendingSession.fromUserId, originalRoomJid: pendingSession.originalRoomJid, privAnswerMode: pendingSession.privAnswerMode }); | ||
delete this.pendingSessions[pendingSession.sessionId]; | ||
} | ||
@@ -313,7 +314,2 @@ else { | ||
const pendingSession = this.pendingSessions[options.sid]; | ||
// TODO: when we can safely remove the jingle session handling, this pending session | ||
// will need to be deleted in the `handleGenesysOffer` fn. | ||
if (pendingSession) { | ||
delete this.pendingSessions[pendingSession.sessionId]; | ||
} | ||
if (pendingSession === null || pendingSession === void 0 ? void 0 : pendingSession.sdpOverXmpp) { | ||
@@ -323,2 +319,5 @@ this.logger.debug('skipping creation of jingle webrtc session due to sdpOverXmpp on the pendingSession'); | ||
} | ||
if (pendingSession) { | ||
delete this.pendingSessions[pendingSession.sessionId]; | ||
} | ||
const ignoreHostCandidatesForForceTurnFF = this.getIceTransportPolicy() === 'relay' && isFirefox; | ||
@@ -325,0 +324,0 @@ const gcSessionOpts = { |
@@ -8,8 +8,9 @@ # Changelog | ||
# [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v18.0.0...HEAD) | ||
### Breaking Changes | ||
* Lru-cache was upgraded from v6 to v11, which uses newer language features. Depending on your language target version, you may need to configure a transpiler accordingly. For example, we added `plugin-proposal-class-properties` and `plugin-transform-private-methods` to our Babel config for streaming-client. | ||
### Changed | ||
* [STREAM-313](https://inindca.atlassian.net/browse/STREAM-313) - Streaming-client will ignore duplicate reinvite offers. | ||
* [PCM-2081](https://inindca.atlassian.net/browse/PCM-2081) - Set meetingId when initializing GenesysCloudMediaSessions and only delete pending sessions when processed for the right session type. | ||
### Breaking Changes | ||
* Lru-cache was upgraded from v6 to v11, which uses newer language features. Depending on your language target version, you may need to configure a transpiler accordingly. For example, we added `plugin-proposal-class-properties` and `plugin-transform-private-methods` to our Babel config for streaming-client. | ||
### Fixed | ||
@@ -16,0 +17,0 @@ * [STREAM-207](https://inindca.atlassian.net/browse/STREAM-207) - [STREAM-207] handle ice candidates received before the offer (sdpOverXmpp only) |
@@ -37,2 +37,3 @@ "use strict"; | ||
this.privAnswerMode = params.privAnswerMode; | ||
this.meetingId = params.meetingId; | ||
// babel does not like the typescript recipe for multiple extends so we are hacking this one | ||
@@ -39,0 +40,0 @@ // referencing https://github.com/babel/babel/issues/798 |
@@ -196,2 +196,3 @@ "use strict"; | ||
}; | ||
delete this.pendingSessions[pendingSession.sessionId]; | ||
} | ||
@@ -304,7 +305,2 @@ else { | ||
const pendingSession = this.pendingSessions[options.sid]; | ||
// TODO: when we can safely remove the jingle session handling, this pending session | ||
// will need to be deleted in the `handleGenesysOffer` fn. | ||
if (pendingSession) { | ||
delete this.pendingSessions[pendingSession.sessionId]; | ||
} | ||
if (pendingSession === null || pendingSession === void 0 ? void 0 : pendingSession.sdpOverXmpp) { | ||
@@ -314,2 +310,5 @@ this.logger.debug('skipping creation of jingle webrtc session due to sdpOverXmpp on the pendingSession'); | ||
} | ||
if (pendingSession) { | ||
delete this.pendingSessions[pendingSession.sessionId]; | ||
} | ||
const ignoreHostCandidatesForForceTurnFF = this.getIceTransportPolicy() === 'relay' && browserama_1.isFirefox; | ||
@@ -316,0 +315,0 @@ const gcSessionOpts = { |
{ | ||
"name": "genesys-cloud-streaming-client", | ||
"version": "18.0.1-develop.125", | ||
"version": "18.0.1-develop.126", | ||
"description": "client for the Genesys Cloud Streaming APIs (websocket/xmpp interface)", | ||
@@ -5,0 +5,0 @@ "repository": "https:github.com/purecloudlabs/genesys-cloud-streaming-client", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
6892419