Re: [mediacapture-transform] MSTP's VideoFrame lifetime management model assumes a single consumer (#56)

@MattiasBuelens raised another problem in  https://github.com/whatwg/streams/issues/1155#issuecomment-891878727:
> The Streams standard will discard all queued chunks, but then it's up to the garbage collector to clean up any resources associated with these VideoFrames. Can that cause problems if these are not cleaned up soon enough? 🤔

Good observation. This could be solved if the MSTP owned the VideoFrames and was responsible for their cleanup.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-transform/issues/56#issuecomment-892085200 using your GitHub account


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

Received on Tuesday, 3 August 2021 18:55:14 UTC