Re: [mediacapture-fromelement] Define behavior when a cycle is detected (#85)

> Nothing can prevent from setting the captured stream to the `srcObject` of the `HTMLMediaElement` that is producing the stream.

```
if (element.srcObject !== null && element.srcObject.id !== stream.id) {
  element.srcObject = stream;
}
```

?

-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-fromelement/issues/85#issuecomment-652603354 using your GitHub account

Received on Wednesday, 1 July 2020 19:24:43 UTC