ORTC and/or Edge 是否支持 DataChannel?

Does ORTC and/or Edge support DataChannel?

要找到关于 ORTC 的权威信息似乎很困难,找到例子就更难了。我需要在 iframe 之间发送字符串,并且正在研究使用 WebRTC,但为了支持 Windows Edge,我一直在研究 ORTC。我想看看是否有人在 Windows Edge 中成功地使用了 ORTC 的某种数据通道。我以为 ORTC 是专门为 Edge 设计的,但它似乎定义了一个数据通道,但 Edge 没有实现它。

我看到的信息让我相信 ORTC 不能做数据通道,尽管它在他们的 API.

中列出。

RTCDataChannel 在 API 部分 11.3 http://publications.ortc.org/2016/20161202/)

中定义

The RTCDataChannel interface represents a bi-directional data channel between two peers.

但是在 https://docs.microsoft.com/en-us/microsoft-edge/dev-guide/realtime-communication/object-rtc-api 我发现:

Since Microsoft Edge does not implement the data channel, the RTCDataChannel and RTCSctpTransport objects are not supported.

Microsoft Edge currently does not support any of the DataChannel functionality currently defined in the ORTC spec.

请提供我可以研究的其他资源,以便获得明确的答案。说明 Windows Edge 将来是否会支持此功能的任何资源也很有帮助。

根据他们的 roadmap,ORTC 数据通道“正在考虑中”。

Roadmap Priority: Low — We are still evaluating this technology. There may be significant spec stabilization, foundational work, or additional community input required before we can begin development.

但真正的问题是:
为什么首先需要 webRTC?

您说您需要在 iframe 之间发送字符串。
iframe 是否在同一页面上加载?

如果答案是肯定的,那么您根本不需要 webRTC。请查看 postMessage API