mirror of
https://github.com/pion/mediadevices.git
synced 2026-04-23 00:07:29 +08:00
2bac44aa8a
In GetUserMedia and GetDisplayMedia, driver was left opened if initialization failure. Since Trackers are not returned on error, there was no way to close them. This commit closes Trackers on GetUserMedia/GetDisplayMedia failure.