@webex/web-client-media-engine 3.29.0 → 3.29.2
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/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -8373,6 +8373,7 @@ function parseFmtpParams(fmtpParams) {
|
|
|
8373
8373
|
fmtpObj.set(fmtpParams, undefined);
|
|
8374
8374
|
return fmtpObj;
|
|
8375
8375
|
}
|
|
8376
|
+
fmtpParams = fmtpParams.replace(/;$/, '');
|
|
8376
8377
|
fmtpParams.split(';').forEach((param) => {
|
|
8377
8378
|
const paramArr = param && param.split('=');
|
|
8378
8379
|
if (paramArr.length !== 2 || !paramArr[0] || !paramArr[1]) {
|
|
@@ -9700,7 +9701,7 @@ function matchMediaDescriptionsInAnswer(parsedOffer, parsedAnswer) {
|
|
|
9700
9701
|
parsedAnswer.session.groups = parsedOffer.session.groups;
|
|
9701
9702
|
parsedAnswer.media = parsedOffer.media.map((offerMediaDescription) => {
|
|
9702
9703
|
if (!offerMediaDescription.mid) {
|
|
9703
|
-
logErrorAndThrow(exports.WcmeErrorType.OFFER_ANSWER_MISMATCH, `
|
|
9704
|
+
logErrorAndThrow(exports.WcmeErrorType.OFFER_ANSWER_MISMATCH, `Offer media description is missing MID.`);
|
|
9704
9705
|
}
|
|
9705
9706
|
const answerMediaDescription = parsedAnswer.media.find((m) => m.mid === offerMediaDescription.mid);
|
|
9706
9707
|
if (answerMediaDescription) {
|