mbebenita / Broadway

A JavaScript H.264 decoder.
Other
2.73k stars 424 forks source link

Functionality for pause #120

Open stanchovy opened 8 years ago

stanchovy commented 8 years ago

Forgive the possibly ignorant question, but is there functionality for having the player pause?

VigibotDev commented 6 years ago

Same answer + Need to stop / restart the stream here.

soliton4 commented 6 years ago

well the player is just a convenient way to feed the decoded frames to a canvas. if you want actual playback control you need to write something that handles the decoded frames. perhaps gather them in an array and also provide time indexes somehow?

VigibotDev commented 6 years ago

For my usecase I think there is a easier way, just like freeze the network reading. It's for a low latency WebSocket robotic GUI (online demo https://www.serveurperso.com/?page=robot) I need this for the disable-video button and lidar only piloting.