Hls player for mac3/12/2023 ![]() #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="eng",NAME="English",AUTOSELECT=YES,DEFAULT=YES,URI="audio/stream.m3u8" ContentType = new MediaTypeHeaderValue( "application/octet-stream") Here is an example of implementation of HlsKe圜ontroller in C#: public class HlsKe圜ontroller : ApiController Note: The player will send GET request for key to this url On third line in this file can be IV. Master.m3u8 – text file with information about HLS sources Key.info – text file with key information Here is how I created encrypted HLS files from source.mp4 (choose your own key and key URL). I you already have encrypted HLS video, click here for creating cross browser video player. It took me a lot of time to create working player for encrypted HLS. It will not work on IE on Windows 7 and less. ![]() This solution works for all common web browsers including Internet Explorer, Microsoft Edge, Google Chrome (PC, Android), Mozilla Firefox, Safari (Mac, iOS).
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |