commit
6696f0de45
|
|
@ -160,10 +160,10 @@ export default class RoomClient
|
||||||
this._webTorrent = null;
|
this._webTorrent = null;
|
||||||
|
|
||||||
// Max spotlights
|
// Max spotlights
|
||||||
if (device.bowser.ios || device.bowser.mobile || device.bowser.android)
|
if (device.bowser.getPlatformType() === 'desktop')
|
||||||
this._maxSpotlights = mobileLastN;
|
|
||||||
else
|
|
||||||
this._maxSpotlights = lastN;
|
this._maxSpotlights = lastN;
|
||||||
|
else
|
||||||
|
this._maxSpotlights = mobileLastN;
|
||||||
|
|
||||||
// Manager of spotlight
|
// Manager of spotlight
|
||||||
this._spotlights = null;
|
this._spotlights = null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue