node-gstreamer-superficial icon indicating copy to clipboard operation
node-gstreamer-superficial copied to clipboard

A new instance is created when I use pause() and stop() don't work within websocket.io

Open wewlad-dev opened this issue 3 years ago • 0 comments

I am having a simple test for a pipeline where I need to control the stream play(), pause(), and stop() from a client side through websocket events. It works for the most part however, the problem is when I close the client side page (closing the socket) and reopening it I lose the ability to control the stream anymore, I can't pause it or stop it, it does however keep the pipeline running. I noticed it's like opening a new "instance" -new gstreamer window appears with paused image- when I pause() it and that's why it's no longer pausing the previous one. Note: as long as I keep the page open, I can control the stream with pause/stop here's a code snipped maybe better explains it or replicating the issue.

https://www.codepile.net/pile/WnKjKOEb

wewlad-dev avatar Feb 14 '22 20:02 wewlad-dev