Re: [webrtc-pc] data channel default binaryType value is 'blob' (#2170)

The main goal is to get interop here. This seems to be more beneficial than WebSocket duck typing.

Websites that do not set binaryType probably expect arrayBuffer and not blob in their vast majority (especially since Chromium is throwing when setting binaryType IIRC).
It seems therefore easier to transition implementations from blob to arrayBuffer than the reverse.

We could try to look at some websites if that helps.

@alvestrand, is there a plan for Chromium to implement blob support?

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2170#issuecomment-1697065514 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 29 August 2023 09:14:35 UTC