Re: [webrtc-pc] Add legacy note about addStream.

@jan-ivar Oh, you mean this code will start failing once Chrome does implement `addTrack`? Then replace it with:

```
if (chrome) {
  stream.addTrack(track);
} else {
  pc.addTrack(track, stream);
}
```

I'm not an application developer myself, I'm not sure what people do most often.

But my point is, it's behavior that's been around for a long time, which we _will_ need to help people migrate off of. If you don't think it should be mentioned in the note here, that's fine; I just wanted to call it out in case people were unaware of it.

-- 
GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/pull/1451#issuecomment-315082776 using your GitHub account

Received on Thursday, 13 July 2017 13:47:56 UTC