What is the difference between flv.js and mpegts.js packages?
I just noticed a remark that mpegts.js somehow inherits functionality from flv.js. This brings me to my questions:
- what is the difference between them?
- should I move to mpegts.js?
- is mpegts.js a drop-in replacement for flv.js?
Thank you!
what is the difference between them?
Okay. The main difference is that mpegts.js adds playback support for MPEG-TS streams (mainly because of my personal needs). In addition, mpegts.js also improves live latency even further that has been as low as about 0.5 seconds over the Internet. mpegts.js inherited all the features from flv.js so FLV live stream playback could also be benefited from this.
should I move to mpegts.js?
Yes. mpegts.js will be more likely to have further updates and maintenance in the future, but I'm NOT guaranteeing that.
is mpegts.js a drop-in replacement for flv.js?
Just some interface names have been changed (like flvjs => mpegts, FlvPlayer => MSEPlayer) so It should be very easy to migrate from flv.js.
I see, thank you. I will replace flvjs.js with mpegts.js.
ALso flv.js is currently no longer maintained anymore!