vani-meeting-client 0.4.1 → 0.4.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.
|
@@ -473,8 +473,8 @@ var SFUHandler = /** @class */ (function (_super) {
|
|
|
473
473
|
var _this = this;
|
|
474
474
|
return __generator(this, function (_a) {
|
|
475
475
|
log.info("onServerConsumer");
|
|
476
|
-
log.info(data);
|
|
477
476
|
if (this.consumerTransport && data && data.message && data.message.consumer) {
|
|
477
|
+
log.info(data);
|
|
478
478
|
if (data.message.consumer.appData.producerData.trackKind === TrackKind.DataChannel) {
|
|
479
479
|
consumerObj = data.message.consumer;
|
|
480
480
|
this.consumerTransport.consumeData(consumerObj).then(function (consumer) {
|
|
@@ -491,8 +491,10 @@ var SFUHandler = /** @class */ (function (_super) {
|
|
|
491
491
|
}
|
|
492
492
|
else {
|
|
493
493
|
consumerObj = data.message.consumer;
|
|
494
|
+
log.info("consume");
|
|
494
495
|
this.consumerTransport.consume(consumerObj).then(function (consumer) {
|
|
495
496
|
var _a, _b;
|
|
497
|
+
log.info("on consumed");
|
|
496
498
|
_this.consumers.push(consumer);
|
|
497
499
|
var mediaTrack = consumer.track;
|
|
498
500
|
var data = consumer.appData.producerData;
|