vani-meeting-client 1.0.4 → 1.0.5
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.
|
@@ -368,6 +368,21 @@ var SFUHandler = /** @class */ (function (_super) {
|
|
|
368
368
|
var _this = this;
|
|
369
369
|
if (data && data.message && data.message.transport) {
|
|
370
370
|
var transport = data.message.transport;
|
|
371
|
+
transport.iceServers = [
|
|
372
|
+
{
|
|
373
|
+
urls: ["stun:stun.l.google.com:19302"]
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
urls: ["stun:stunin.vaniassistant.com:3478"],
|
|
377
|
+
username: "sachin",
|
|
378
|
+
credential: "Hhands@12345"
|
|
379
|
+
}, {
|
|
380
|
+
urls: ["turn:turnin.vaniassistant.com:3478"],
|
|
381
|
+
username: "sachin",
|
|
382
|
+
credential: "Hhands@12345"
|
|
383
|
+
}
|
|
384
|
+
];
|
|
385
|
+
transport.iceTransportPolicy = "relay";
|
|
371
386
|
this.sendTransport = this.device.createSendTransport(transport);
|
|
372
387
|
this.sendTransport.on('produce', function (producerLocalParameters, callback, errback) {
|
|
373
388
|
var _a;
|
|
@@ -399,6 +414,21 @@ var SFUHandler = /** @class */ (function (_super) {
|
|
|
399
414
|
var _this = this;
|
|
400
415
|
if (data && data.message && data.message.transport) {
|
|
401
416
|
var transport = data.message.transport;
|
|
417
|
+
transport.iceServers = [
|
|
418
|
+
{
|
|
419
|
+
urls: ["stun:stun.l.google.com:19302"]
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
urls: ["stun:stunin.vaniassistant.com:3478"],
|
|
423
|
+
username: "sachin",
|
|
424
|
+
credential: "Hhands@12345"
|
|
425
|
+
}, {
|
|
426
|
+
urls: ["turn:turnin.vaniassistant.com:3478"],
|
|
427
|
+
username: "sachin",
|
|
428
|
+
credential: "Hhands@12345"
|
|
429
|
+
}
|
|
430
|
+
];
|
|
431
|
+
transport.iceTransportPolicy = "relay";
|
|
402
432
|
this.consumerTransport = this.device.createRecvTransport(transport);
|
|
403
433
|
this.consumerTransport.on("connectionstatechange", function (newState) {
|
|
404
434
|
var _a;
|