|
@@ -223,7 +223,7 @@ export class ReceiveVideoController {
|
223
|
223
|
if (this._receiverVideoConstraints) {
|
224
|
224
|
// Filter out the local endpointId from the list of selected endpoints.
|
225
|
225
|
const remoteEndpointIds = ids.filter(id => id !== this._conference.myUserId());
|
226
|
|
- const oldConstraints = this._receiverVideoConstraints.constraints;
|
|
226
|
+ const oldConstraints = JSON.parse(JSON.stringify(this._receiverVideoConstraints.constraints));
|
227
|
227
|
|
228
|
228
|
remoteEndpointIds.length && this._receiverVideoConstraints.updateSelectedEndpoints(remoteEndpointIds);
|
229
|
229
|
const newConstraints = this._receiverVideoConstraints.constraints;
|