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

For #6, I was thinking less along the line of reallocating and then moving the data but more around defining where the frame data should be placed (headroom) and how much space should be at the end (legroom) which then requires no no copying or moving at all. A general API on `ArrayBuffer` that achieves this (perhaps a `ArrayBufferScheme`) would of course be cooler. :slightly_smiling_face: 

-- 
GitHub Notification of comment by lgrahl
Please view or discuss this issue at https://github.com/w3c/webrtc-insertable-streams/issues/49#issuecomment-732953387 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 12:49:28 UTC