webrtc frame rate and size;
来源:互联网 发布:淘宝上便宜衣服来源 编辑:程序博客网 时间:2024/04/27 15:18
https://webrtchac
om/video-constraints-2/
https://webrtchacks.com/how-to-figure-out-webrtc-camera-resolutions/
Try maxWidth/maxHeight
constraints:
var video_constraints = { mandatory: { maxHeight: 480, maxWidth: 640 }, optional: []};navigator.getUserMedia({ audio: false, video: video_constraints}, onsuccess);
Updated (Sep 26, 2013):
According to this page; you can set following resolutions (min/max width/height):
1920:10801280:720960:720640:360640:480320:240320:180
Or Maybe:
1280:8001280:720960:600960:540640:400640:360640:480480:300480:270480:360320:200320:180320:240240:150240:135240:180160:100160:90160:120
分辨率最高的是WVGA:800×480VGA为标准分辨率:640×480WVGA 分辨率:800×480WQVGA 分辨率:480×320QVGA分辨率:320×240D1 分辨率:720×576CIF 分辨率: 352×288QCIF 分辨率:176×144
Openwebrtc:
QCIF and QVGA are unusable and result in an oddly shaped black frame on the receiving end in Chrome.
CIF works and reduces the latency to 0.5 s or so initially, however latency gradually increases to several seconds and longer.
getUserMedia() constraints
As covered in the What happens when there’s missing media sources? post, getUserMedia() takes a constraints object. The object, as defined in the getUserMedia()W3C specification looks like this:
The spec allows mandatory and optional constraints for both minimum and maximums on:
In addition to turning audio and video on/off all together, in practice minHeight, minWidth, maxHeight, and maxWidth variables are the most widely supported:
I have also seen reference to others that could theoretically be passed down to the libjingle media engine that powers WebRTC. These are out of scope for my camera resolution project, so I did not experiment with them.
- webrtc frame rate and size;
- bit rate / frame rate /sample rate等等
- bit rate / frame rate /sample rate等等
- bit rate / frame rate /sample rate等等
- 【LCD】Frame rate control
- Digital Photo Frame Mysteries, Picture Size and Picture Format Explained
- Video Bitrate Vs. Frame Rate
- precision and recall rate
- precision and recall rate
- Hit rate and False alarm rate
- 固定frame rate的windows-event-loop
- flex frame rate 突变成1000
- 视频帧率(Frame rate)
- FRC (Frame Rate Conversion)技术
- 视频编码的常见参数基本概念 --bit rate / frame rate /sample rate等等
- iphone/ipad关于size, frame and bounds总结和UIScroll view学习笔记
- iphone/ipad关于size, frame and bounds总结和UIScroll view学习笔记
- iphone/ipad关于size, frame and bounds总结和UIScroll view学习笔记
- FMDB使用Queue:FMDatabaseQueue
- opencv 基本数据结构
- SignalR 超时链接翻译
- 身边的故事
- 查询某一段时间内的所有天或月
- webrtc frame rate and size;
- onActivityResult 取不到返回值的问题
- iPhone/iOS开启个人热点的相关位置调整小结
- 标签页,程序开始导航
- SSL与TLS的区别以及介绍
- Shell集合运算
- 杭电ACM1312(dfs)
- version接口
- 实现按钮拖动到底部,与底部按钮互换的功能