Re: [mediacapture-main] Garbage collection of live tracks (#910)

UAs probably GC tracks, it makes sense to me to keep it that way.
It would be nice to signal to web developers that they should stop tracks explicitly, particularly capture tracks.
We could do two things:
- Adding console log warning when GCing a capture track
- Note in the spec to web developers that they should stop capture tracks explicitly instead of relying on GC. See for instance what web codes is doing: ```NOTE: Authors are encouraged to call close() on output VideoFrames immediately when frames are no longer needed. The underlying media resources are owned by the VideoDecoder and failing to release them (or waiting for garbage collection) can cause decoding to stall.```

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/910#issuecomment-1285733588 using your GitHub account


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

Received on Thursday, 20 October 2022 15:21:41 UTC