I used the below command using gstreamer. I see the generated files in the root but VLC crashes when I try to open the playlist.m3u8 The main goal is to live stream from webcam on firefox browser.
gst-launch-1.0 ksvideosrc ! decodebin ! videoconvert ! openh264enc ! mpegtsmux ! hlssink playlist-root=localhost location=C:/inetpub/wwwroot/hlssink.%05d.ts playlist-location=C:/inetpub/wwwroot/playlist.m3u8
also the video tag doesn't show the video streaming.
<video width="352" height="198" controls>
<source src="http://localhost/playlist.m3u8" type="application/x-mpegURL">
</video>
I can't figure out what I am doing wrong here ; any help would be appreciated.