Re: [webrtc-rtptransport] Not requiring per-packet JS Events (#20)

The alternative to an event that expose multiple packets is a ReadableStream of packets, which is more or less what WebTransport chose. A packet per micro task is probably cheaper than a packet per event loop task.
Why not making the same choice here?

Also, supporting multiple packet processors/listeners is probably not a requirement, which makes events less interesting.

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


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

Received on Tuesday, 11 June 2024 13:15:51 UTC