首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >iframe跨域调用音视频页面,报错10008,获取用户音视频设备失败?

iframe跨域调用音视频页面,报错10008,获取用户音视频设备失败?

提问于 2019-05-07 13:44:04
回答 3关注 0查看 1.5K

web端,跨域用iframe调用音视频页面,报获取用户音视频设备失败。直接用浏览器访问音频页面不出现这个问题。

代码语言:js
复制
ObjecterrorCode: 10008errorMsg: "get user media failed : error = undefined,while global.constraints:{"audio":true,"video":{"frameRate":{"max":25,"ideal":25},"aspectRatio":{"max":1.3333333333333333,"ideal":1.3333333333333333},"googCpuOveruseDetection":false,"height":{"max":480,"ideal":480},"width":{"max":640,"ideal":640}}}"extInfo: {errorCode: 10008, errorMsg: "get user media failed : error = NotAllowedError global.constraints:{"audio":true,"video":true}", extInfo: DOMException}__proto__: Object
(anonymous) @ index.js:164
WebRTCAPI.min.js:1 POST https://ilivelog.qcloud.com/ net::ERR_CONNECTION_RESET
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档