[webrtc-insertable-streams] Optimizing encoded frame buffer allocation and memory copies (#49)

youennf has just created a new issue for https://github.com/w3c/webrtc-insertable-streams:

== Optimizing encoded frame buffer allocation and memory copies ==
RTCEncodedAudioFrame and RTCEncodedVideoFrame both own an ArrayBuffer.
This array buffer is exposed to JavaScript by ReadableStream and consumed by WritableStream.

One important design API goal is to limit memory copies, maybe allow in-place transform of the array buffer so that there is no memory copy and no memory allocation.

One possibility would be to allow the frame array buffer to be detached after the frame is enqueued in the WritableStream.

Please view or discuss this issue at https://github.com/w3c/webrtc-insertable-streams/issues/49 using your GitHub account


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

Received on Tuesday, 24 November 2020 09:45:16 UTC