Re: [mediacapture-main] Revive createObjectURL?

> What do you mean "fallback code"?

I mean that sites could be using either of these patterns:

```JavaScript
if ('srcObject' in video) {
  video.srcObject = stream;
} else {
  video.src = URL.createObjectURL(stream);
}
```

or

```JavaScript
try {
  video.src = URL.createObjectURL(stream);
} catch (e) {
  video.srcObject = stream;
}
```

or variations thereof. I think the first is much more likely, but it 
does matter to the estimation of risk which API is typically used 
first.

-- 
GitHub Notification of comment by foolip
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/404#issuecomment-271519436
 using your GitHub account

Received on Tuesday, 10 January 2017 08:52:37 UTC