How to perform HLS in nodejs
Akesh
Member Posts: 1 ✭
I want to stream a video which i uploaded on cloudinary and i stored the public id of that video in my database. So i want to fetch the id from my database and then stream that video here is the code snippet.
Tagged:
0
Answers
-
Thanks for reaching out.
So to generate an HLS URL for a video in your account with theauto
streaming profile, do:cloudinary.url("docs/waterfall.m3u8", {streaming_profile: "auto", resource_type: "video"})
Notice, in the public_id you need to include.m3u8
.
Please let me know if you have any other questions or queries.Kind Regards,
Thomas
0