Git Product home page Git Product logo

kmustcti404 / miniwebrtsp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gzxwinfo/miniwebrtsp

0.0 1.0 0.0 43.1 MB

网页轻量化无插件多路播放RTSP视频。 通过WS协议实现超低延迟高性能,无需要经过浏览器转码,可达到与原生应用一样的性能(500ms以内)。多厂家、多设备类型支持,支持网络IPC、NVR、行业化监控平台。简单的接入方式,只需知道播放的RTSP地址即可接入。

miniwebrtsp's Introduction

MiniWebRTSP

介绍

网页轻量化无插件多路播放RTSP视频。 通过WS协议实现超低延迟高性能,无需要经过浏览器转码,可达到与原生应用一样的性能(500ms以内)。多厂家、多设备类型支持,支持网络IPC、NVR、行业化监控平台。简单的接入方式,只需知道播放的RTSP地址即可接入。

主要特点

  1. 轻量化,无插件
  2. 低延迟,高性能
  3. 支持多路播放
  4. 接入简单

浏览器兼容性

视频编码协议

目前支持H264;H265已纳入未来的版本计划中,敬请关注。

音频

支持AAC

安装教程

  1. 安装
    直接运行
    MinisMediaServer.exe
    以服务启动
    ServiceInstall-MinisMediaServer.exe安装
    ServiceUninstall-MinisMediaServer.exe卸载

  2. demo
    把demo文件夹放到web服务器即可

  3. 授权
    未授权将不定时断开数据流,打开log文件夹中的log文件,查看里面的key授权码,并加群联系申请

使用说明

	<link rel="stylesheet" href="video-js.css">
	<script src="video.js"></script>
	<script src="minisRtspPlayer.js"></script>
	
	//全局设置服务地址
	//MinisRtspPlayer.defConfig.server = "ws://192.168.1.9:10088";
	//设置日志级别 Error(默认)、Warn、Log
	MinisRtspPlayer.defConfig.logLevel = MinisRtspPlayer.LogLevel.Log;
	var myPlayer = null;
	function doPlay() {
		var url = "rtsp://admin:[email protected]:554/h264/ch33/main/av_stream";
		myPlayer = videojs(document.querySelector("#v1"), {
			//独立设置服务地址
			minisRtspPlayerConfig : {
				server : "ws://127.0.0.1:10088"
			},
			controls:true, 
			controlBar: {			
				playToggle : false,
				progressControl : true,
				audioTrackButton : false,
				liveDisplay : false
			}
		});
		myPlayer.play();
	}

联系我们

商务合作QQ1:632731369
商务合作QQ2:35225817
qq群(MiniWebRTSP技术交流群1,已满):754701345
qq群(MiniWebRTSP技术交流群2,已满):1016354543
qq群(MiniWebRTSP技术交流群3):734769486

仓库地址

码云:https://gitee.com/xw_1/MiniWebRTSP
github:https://gitee.com/xw_1/MiniWebRTSP

miniwebrtsp's People

Contributors

gzxwinfo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.