摘要:
const config = { iceServers: [{ urls: "stun:global.stun.twilio.com:3478?transport=udp" }], }; 采用穿透技术 localStream 存储本地视频源的地方 获取本地视频源 const constraints 阅读全文
摘要:
简述: A、B 都连接信令服务器(ws); A 创建本地视频,并获取会话描述对象(offer sdp)信息; A 将 offer sdp 通过 ws 发送给 B; B 收到信令后,B 创建本地视频,并获取会话描述对象(answer sdp)信息; B 将 answer sdp 通过 ws 发送给 A 阅读全文
摘要:
<html> <head> <meta charset="UTF-8"> <title></title> <style> @-webkit-keyframes masked-animation { 0% { background-position: 0 0 } to { background-pos 阅读全文
摘要:
请求拦截 import axios from axios axios.interceptors.request.use(req => {//全局拦截请求,可以在请求头添加后端的需求return req}) 响应拦截 import axios from axios axios.interceptors 阅读全文
摘要:
阅读全文
摘要:
<el-cascader ref="cascader" placeholder="请选择监测标签" style="width: 200px" class="my-cascader max-width" :options="typeLayersOptions" collapse-tags :props 阅读全文
摘要:
const map = new Map() for (const item of column) { if (!map.has(item.name)) { map.set(item.name, item) } } 例如: // 数组去重 const map = new Map(); for (con 阅读全文
摘要:
https://blog.csdn.net/weixin_46686024/article/details/108324507 阅读全文
摘要:
object-fit: cover; img.a { width: 200px; height: 400px; object-fit: cover; } 阅读全文