cordova-rtc / cordova-plugin-iosrtc

Cordova iOS plugin exposing the WebRTC W3C API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update video properties when the MediaStream is closed

ibc opened this issue · comments

Currently the properties of the video (videoWidth, readyState...) are not reverted to the native values until the .src attribute of the video is changed (which may never happen). Same for its MediaStreamRenderer which is not closed until that moment.

Improve that.