|
|
|
|
|
|
253
|
let resolution = Resolutions[resolutionName];
|
253
|
let resolution = Resolutions[resolutionName];
|
|
254
|
|
254
|
|
|
255
|
let quality = 100;
|
255
|
let quality = 100;
|
|
256
|
- let packetLoss = undefined;
|
|
|
|
|
|
256
|
+ let packetLoss;
|
|
257
|
// TODO: take into account packet loss for received streams
|
257
|
// TODO: take into account packet loss for received streams
|
|
258
|
if (this._localStats.packetLoss) {
|
258
|
if (this._localStats.packetLoss) {
|
|
259
|
packetLoss = this._localStats.packetLoss.upload;
|
259
|
packetLoss = this._localStats.packetLoss.upload;
|