Open fumin65 opened 1 month ago
Thanks for the contribution! I don't yet have time for a full review (I will see if I can get that sorted in the coming week), but could you look into the following as well?
1) Can we implement pause
for MacOS too, since it is similar to iOS?
2) Can we implement pause for the web? Not sure if the MediaStream would support this
Thanks for your reply. I will try these for now. However, I am new to MacOS and MediaStream, so it will probably take some time.
@navaronbracke I implemented pause for MacOS and web. Please review if you have time.
related to #195
This PR introduces a pause feature. pause() method stops the camera, but does not release the texture. And It takes the following state transitions.
If this feature is useful and fits the concept of this library, please consider merging it.