vani-meeting-client 1.9.4 → 1.9.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.
|
@@ -51,7 +51,7 @@ export declare class SFUHandler extends BaseVideoCallHandler {
|
|
|
51
51
|
private onProducerNotFound;
|
|
52
52
|
private onTrackEnded;
|
|
53
53
|
private onNewProducer;
|
|
54
|
-
onConsumerScoreChange: (
|
|
54
|
+
onConsumerScoreChange: (_data: any) => Promise<void>;
|
|
55
55
|
onProducerScoreChange: (_data: any) => Promise<void>;
|
|
56
56
|
onConsumerLayerChange: (_data: any) => Promise<void>;
|
|
57
57
|
private onServerConsumer;
|
|
@@ -98,10 +98,11 @@ var SFUHandler = /** @class */ (function (_super) {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
-
_this.onConsumerScoreChange = function (
|
|
102
|
-
var score, consumerId, consumedProducer, track;
|
|
101
|
+
_this.onConsumerScoreChange = function (_data) { return __awaiter(_this, void 0, void 0, function () {
|
|
102
|
+
var data, score, consumerId, consumedProducer, track;
|
|
103
103
|
var _a, _b;
|
|
104
104
|
return __generator(this, function (_c) {
|
|
105
|
+
data = _data.message;
|
|
105
106
|
this.meetingStartRequest && this.meetingStartRequest.logLevel === LogLevel.Debug && log.info("onConsumerScoreChange", data);
|
|
106
107
|
score = data.score;
|
|
107
108
|
consumerId = data.consumerId;
|