vani-meeting-client 0.1.2 → 0.1.3

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.
@@ -183,6 +183,10 @@ var SFUHandler = /** @class */ (function (_super) {
183
183
  if (track.trackKind === TrackKind.Video) {
184
184
  producerData.encodings = this.meetingStartRequest.simulcastEncodings;
185
185
  }
186
+ if (track.track.kind === "audio") {
187
+ producerData.codecOptions = { opusStereo: true, opusFec: true, opusDtx: true };
188
+ }
189
+ log.info(producerData);
186
190
  return [4 /*yield*/, ((_b = this.sendTransport) === null || _b === void 0 ? void 0 : _b.produce(producerData))];
187
191
  case 3:
188
192
  webcamProducer = _c.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",