Closed Bug 1020822 Opened 10 years ago Closed 10 years ago

[MediaEncoder] MediaRecorder will leak if just close the page when recording?

Categories

(Core :: Audio/Video: Recording, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bechen, Unassigned)

References

Details

Fork from bug 969372 comment 241.

> If someone starts recording and then just closes the page, what causes the
> Session and MediaRecorder to be released? It seems to me they will leak. I
> think we need to Stop all MediaRecorders as soon as the page becomes
> inactive. We have a similar problem for media elements; for those, we
> register them as "Freezables" with nsIDocument, and then
> nsIDocument::EnumerateFreezableElements is called when the document goes
> inactive. Maybe we can change Freezables from being an nsIContent* to an
> nsISupports* and register Sessions as freezables too.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.