README
jf-socket
![npm-version] (https://img.shields.io/badge/components-jf--socket-brightgreen)
用于使用websocket获取推流
Install
npm install --save jf-socket
Usage
import { connect } from 'js-socket'
connect(host,true,token);
socket组件
<script type="module">
import jfSocket from 'https://cdn.skypack.dev/jf-socket';
</script>
![npm-version] (https://img.shields.io/badge/components-jf--socket-brightgreen)
用于使用websocket获取推流
npm install --save jf-socket
import { connect } from 'js-socket'
connect(host,true,token);