Re: [webrtc-encoded-transform] Make RTCEncodedVideoFrame and RTCEncodedAudioFrame transferable (#238)

I am fine with the approach, changing WebIDL is also fine.
We might need to check how to handle the [[data]] slot: after being transferred, it is still exposed in JS and should be a neutered array buffer.

Looking at https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializewithtransfer, we might not need to unset the [[data]] slot, since it might have been detached already by structuredserializewithtransfer.

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


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

Received on Thursday, 6 February 2025 15:45:40 UTC