浏览代码

Some param options

master
Roderic Day 5 年前
父节点
当前提交
42e7a9d279
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. +1
    -0
      apps/streams.js
  2. +1
    -1
      pico.js

+ 1
- 0
apps/streams.js 查看文件

audioOn: true, audioOn: true,
get video() { get video() {
return VideoConfig.videoOn return VideoConfig.videoOn
&& params.get('v') !== '0'
&& {width: {ideal: 320}, facingMode: 'user', frameRate: 26} && {width: {ideal: 320}, facingMode: 'user', frameRate: 26}
}, },
get audio() { get audio() {

+ 1
- 1
pico.js 查看文件

return State.websocket && State.websocket.readyState === 1 return State.websocket && State.websocket.readyState === 1
}, },
}) })
const params = (new URL(document.location)).searchParams
/* /*
* *
* SIGNALING * SIGNALING

正在加载...
取消
保存