@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/esm/index.js
CHANGED
|
@@ -8369,6 +8369,7 @@ function parseFmtpParams(fmtpParams) {
|
|
|
8369
8369
|
fmtpObj.set(fmtpParams, undefined);
|
|
8370
8370
|
return fmtpObj;
|
|
8371
8371
|
}
|
|
8372
|
+
fmtpParams = fmtpParams.replace(/;$/, '');
|
|
8372
8373
|
fmtpParams.split(';').forEach((param) => {
|
|
8373
8374
|
const paramArr = param && param.split('=');
|
|
8374
8375
|
if (paramArr.length !== 2 || !paramArr[0] || !paramArr[1]) {
|
|
@@ -9696,7 +9697,7 @@ function matchMediaDescriptionsInAnswer(parsedOffer, parsedAnswer) {
|
|
|
9696
9697
|
parsedAnswer.session.groups = parsedOffer.session.groups;
|
|
9697
9698
|
parsedAnswer.media = parsedOffer.media.map((offerMediaDescription) => {
|
|
9698
9699
|
if (!offerMediaDescription.mid) {
|
|
9699
|
-
logErrorAndThrow(WcmeErrorType.OFFER_ANSWER_MISMATCH, `
|
|
9700
|
+
logErrorAndThrow(WcmeErrorType.OFFER_ANSWER_MISMATCH, `Offer media description is missing MID.`);
|
|
9700
9701
|
}
|
|
9701
9702
|
const answerMediaDescription = parsedAnswer.media.find((m) => m.mid === offerMediaDescription.mid);
|
|
9702
9703
|
if (answerMediaDescription) {
|