You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_video.play(); should listen for promise result and handle errors.
I am trying to handle the situation where a user cancels the webcam component before the webcam is properly initialised, without handling this the camera can become stuck on.
I'm waiting on the this.cameraSwitched.next command checking if the user has navigated away from my component and then triggering the webcam destroy through state and *ngIf... I wonder if the library can be changed to notify the listeners that it has been initialised and can be closed, perhaps on the play resolve. the call to play should also handle the reject of the promise.
Is the library still supported?
The text was updated successfully, but these errors were encountered:
_video.play(); should listen for promise result and handle errors.
I am trying to handle the situation where a user cancels the webcam component before the webcam is properly initialised, without handling this the camera can become stuck on.
I'm waiting on the this.cameraSwitched.next command checking if the user has navigated away from my component and then triggering the webcam destroy through state and *ngIf... I wonder if the library can be changed to notify the listeners that it has been initialised and can be closed, perhaps on the play resolve. the call to play should also handle the reject of the promise.
Is the library still supported?
The text was updated successfully, but these errors were encountered: