How LiveNVR security without plug-ins live program -H5 front-end player HLS

Before LiveNVR multi-screen development, because of the multi-screen functionality does not need to show up at the end of the phone (pc multi-player as RTMP, the phone side to play as HLS), so only we noticed references videojs to rtmp playback. Due to the different needs of different projects, playing for hls flow also need to be reflected.

videojs when playing rtmp, calling Flash to play, when playing hls calling h5 to play.

<source src="hls地址" type="application/x-mpegURL">

<source src="rtmp地址" type="video/mp4">

The main difference is the type of form

When we refer to the tag will videojs = '' by data-setup; to control, we sometimes empty by default, set the videojs themselves to sleep, but must have the property;

If you want to play into this hls

data-setup = '{ "techOrder ": [ "hls"]}';
play h5 or flash, empathy;

If we play party hls, video type must be a type = "application / x-mpegURL ";
other more network usage refer to the document examiner: http://docs.videojs.com/


About LiveNVR

LiveNVR network camera through a simple channel configuration, the traditional industry, which monitor network camera HD IP Camera, NVR equipment having access to the RTSP protocol output LiveNVR, LiveNVR these audio and video data can be video sources is a pull converter as RTMP / HLS, full platform terminal H5 live (Web, Android, iOS), and EasyNVR able to live on a live video source data to a third party CDN network, internet-scale distribution;

For more information

Live Streaming Internet Security -QQ exchange group: 615 081 503

GB GB28181 no plug-ins LiveGBS-QQ exchange group: 947 137 753

Mail: [email protected]

WEB:www.liveqing.com

Tel: 189-5515-0114 (the same micro-channel)

Copyright © LiveQing.com 2016-2019

Guess you like

Origin www.cnblogs.com/marvin1311/p/10936985.html