I am using stream.stop() which is working fine in firefox but giving error in chrome that 'stream.stop() is undefined'.
In firefox however it is working it is also showing a warning that use MediaStreamTrack.stop() instead.
Which while using not working on safari/chrome both
I have tried MeadiaStream.stop() as well.