Re: [webrtc-encoded-transform] Clarify why the writable stream backpressure should be disabled (#188)

> I think it should set highWaterMark to Infinity instead

We can do this.


As of why it is disabled, the principle is that the pipeline is a realtime pipeline where buffering should be very limited.
Backpressure should be handled either at input or at output by the UA.
For instance, if the writer is pushing data to the network, packets might be dropped if overshooting network, or the encoder will reduce the size of next frames to limit throughput.
In any case, backpressure should not be used to let the web applications delay its transform processing.

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


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

Received on Friday, 23 June 2023 08:02:20 UTC