I've got an IP camera that produce a flv stream on a URL like:
http://192.168.0.6/flv?port=1234&app=bcs&stream=channel0_main.bcs
The URL works fine in VLC. I tried to stream the video in Chrome with video.js according to this previous question.
<head>
<link href="https://vjs.zencdn.net/7.10.2/video-js.css" rel="stylesheet" />
</head>
<body>
<video id="example_video_1" class="video-js vjs-default-skin"
controls preload="auto" width="640" height="480"
data-setup='{"example_option":true}'>
<source src="http://192.168.0.6/flv?port=1234&app=bcs&stream=channel0_main.bcs" type="video/x-flv">
</video>
<script src="https://vjs.zencdn.net/7.10.2/video.min.js"></script>
</body>
I created the HTML file locally on my desktop and I've got the following error in my browser:
VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found for this media.
I'm stuck here, I can't figure out why it not displaying the video.