Re: [webrtc-pc] RTCDataChannelInit unknown member handling

I feared this might be the case. As a proposal for future APIs, we could apply the builder pattern which is more explicit and would allow for exceptions as well as testing whether the feature exists:

const dc = pc.createDataChannel('<label>')

(I'm not proposing this for `createDataChannel` atm since it would of course break the API.)

GitHub Notification of comment by lgrahl
Please view or discuss this issue at using your GitHub account

Received on Friday, 1 June 2018 02:05:16 UTC