为什么在WebRTC会议中出现Websocket错误?

问题描述 投票:0回答:1

我正在尝试AntMedia EE试用版

我正在使用位于以下位置的WebRTC演示https://ant.techrova.in/LiveApp/conference.html

(内置演示)

该会议室已禁用,我正在检查控制台

enter image description here

我遇到这些错误

WebSocket连接到'wss://ant.techrova.in/LiveApp/websocket'失败:WebSocket握手期间出错:意外的响应代码:404

不知道如何解决?

这是我的Apache代理配置

用于http

<VirtualHost *:80>
        ServerName ant.techrova.in
        ProxyPreserveHost On

        ProxyPass / http://127.0.0.1:5080/
        ProxyPassReverse / http://127.0.0.1:5080/

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

RewriteEngine on
RewriteCond %{SERVER_NAME} =ant.techrova.in
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]


</VirtualHost>

对于https

<IfModule mod_ssl.c>
<VirtualHost *:443>
        ServerName ant.techrova.in
        ProxyPreserveHost On

        ProxyPass / http://127.0.0.1:5080/
        ProxyPassReverse / http://127.0.0.1:5080/

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined



SSLCertificateFile /etc/letsencrypt/live/ant.techrova.in/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ant.techrova.in/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

=====================>

请帮助解决此问题

[我正在尝试AntMedia EE试用版,我正在使用位于https://ant.techrova.in/LiveApp/conference.html(内置演示)中的WebRTC演示。联接室已禁用,我检查正在获取的控制台。 。

sockets https websocket webrtc ant-media-server
1个回答
0
投票

请启用以下模块:

© www.soinside.com 2019 - 2024. All rights reserved.