Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-chat嵌入到iframe时,音视频通话提示:getUserMedia() error: NotAllowedError #102

Closed
imndx opened this issue Jan 19, 2024 · 0 comments

Comments

@imndx
Copy link
Contributor

imndx commented Jan 19, 2024

原因是没有给访问cameramicrophone的权限

  1. 通过iframe引入时,需要允许访问cameramicrophone,参考如下
    <iframe src="https://example.com" allow="camera;microphone"></iframe>
  2. 需要允许站点使用摄像头和麦克风,参考下图设置
image
@imndx imndx changed the title vue-chat嵌入到iframe时,音视频通话提示:getUserMedia0 error: NotAllowedError vue-chat嵌入到iframe时,音视频通话提示:getUserMedia() error: NotAllowedError Jan 19, 2024
@imndx imndx pinned this issue Jan 19, 2024
@imndx imndx closed this as completed Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant