Bug 1818283 Comment 9 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The important points here are:
- The media element's srcObject attribute is set to a MediaStream that the application controls
- The MediaStream is inactive
- The media element is paused
- The media element has the autoplay attribute set

Now it is eligible for collection.

But it shouldn't be, because if the application adds a live track to the MediaStream it should be playing, and potentially emitting both events and audio.

Probably easiest to add an edge from the MediaStream to the media element. This would make the media element collectable only when the MediaStream is collectable.
The important points here are:
- The media element's srcObject attribute is set to a MediaStream that the application controls
- The MediaStream is inactive
- The media element is paused
- The media element has the autoplay attribute set

This makes it eligible for collection.

But it shouldn't be, because if the application adds a live track to the MediaStream it should be playing, and potentially emitting both events and audio.

Probably easiest to add an edge from the MediaStream to the media element. This would make the media element collectable only when the MediaStream is collectable.
The important points here are:
- The media element's srcObject attribute is set to a MediaStream that the application controls
- The MediaStream is inactive
- The media element is paused
- The media element has the autoplay attribute set

This makes it eligible for collection.

But it shouldn't be, because if the application adds a live track to the MediaStream the media element should be playing, and potentially emitting both events and audio.

Probably easiest to add an edge from the MediaStream to the media element. This would make the media element collectable only when the MediaStream is collectable.

Back to Bug 1818283 Comment 9