This page embeds a live HLS stream erogated by my website through VLC and its source stream equally generated by VLC and proxed by apache
|
|
hls stream http://iginomanfre.it/hls4/hls4.m3u8 done segmenting the stream CIF_284 but it is not shown because VLC video plug-in is dead! |
The source stream for the hls http://iginomanfre.it/CIF_284 but it is |
This bordered area on the left must recall that through iframe tag, it's possible play automatically the video in full screen
in smartphones, depending on the applications therein installed. On mine I've installed VLC, MxPlayer, Vplayer, and the basic samsung video player.
|
|
The hls metafile (extension .m3u8) is automatically opened through an iframe instruction setting properly apache streaming server and the browser
|
I've added to httpd.conf of the apache server the following two lines
AddType application/x-mpegurl m3u8
AddType video/mp2t ts
If any conflict occurs with mime.conf, the Addtype in http.conf redefines it.
reference
i've got an help from here
The following screenshots has been taken on my pc (where the mime type m3u8 is associated to vlc) before vlc video plug-in would be executed.output is shown in the following image:
Three video used to start until vlc plug-in was supported by NPAPI architecture: the labelled 3 was the VLC external app accessing to the adaptive streaming hls4 (through iframe calling), the labelled 2 was the live stream, the leftmost, labelled by 1, is the adaptive stream played by the embedded plug-in.
file locale |
file remoto/m3u8 |
|
Depending where vlc is installed of your pc, you can use the following line (from command line or from the run line
C:\Program Files\VLC 3.0.6>vlc http://www.iginomanfre.it/CIF_284
C:\Program Files\Videolan\vlc>vlc http://www.iginomanfre.it/CIF_284
From command line (you can recall it typing cmd in the start line
and pressing enter
On my pc vlc is installed on C:\Program Files\VLC 4.0.0
...but also on C:\Program Files\VLC 3.0.6
"C:\Program Files\VLC 3.0.6\vlc http://www.iginomanfre.it/CIF_284"
"C:\Program Files\VLC 4.0.0\vlc http://www.iginomanfre.it/CIF_284"