Skip to content

Transport: Frame/stream transport and transferrable streams #3

@aboba

Description

@aboba

frame/stream transport has become a popular transport mode for WebTransport, since it eliminates head-of-line blocking, simplifies framing and makes it possible to implement partial reliability.

WebTransport supports transfer of unidirectional streams or bidirectional streams (the readable and writable components can each be transferred to different workers). However, transferring a created "frame/stream" transport (either sending or receiving) does not perform well. Creating or receiving multiple streams and only sending or receiving one frame on them is inherently a high overhead process, that is hard to implement efficiently along with transfer.

In contrast, reliable/unordered transports can be constructed in RTCDataChannel and transferred.

Related (WebTransport): w3c/webtransport#420, w3c/webtransport#424

Related (RTCDataChannel): w3c/webrtc-extensions#114

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions