peaBerberian / wasp-hls

WebAssembly-based (Rust) & in-worker HLS Media Player for the web
https://peaberberian.github.io/wasp-hls/
MIT License
124 stars 4 forks source link

Switching Video Objects #8

Open rupansh-gob opened 8 months ago

rupansh-gob commented 8 months ago

Hey, is it possible to switch the video object for an initialized wasp instance?

peaBerberian commented 5 days ago

Sorry for the very late response!

No for now the idea is that if you need another media element, you create another wasp-hls instance.

In which scenario would changing the media element of the current instance be preferable over creating a new one?