Open mehranmd opened 2 years ago
It might be useful, i create my JSMpeg instance like this:
componentDidMount() { new JSMpeg.VideoElement(this.els.videoWrapper, this.props.videoUrl, this.props.options, this.props.overlayOptions); };
I have the same behaviour with my Angular app only on Android WebView.
I found a workaround. I create one player at a time. When the first player calls play or load hooks, I instantiate the second player, and so on.
I Have a React application which uses your module to play camera feeds from web socket. when we try to load 2 or more camera at once the camera won't start playing and console log is also empty without any error or warning.
Steps to reproduce the behavior: