diff --git a/README.md b/README.md index 368e25c..79a3abf 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ npm install 修改 `tlrtcfile.env` 中相应websocket配置 ## websocket服务端口 - tl_rtc_file_ws_port=8444 + tl_rtc_file_socket_port=8444 ## websocket服务地址 ## "ws://域名 或者 ws://ip:端口 或者 ws://域名:端口" diff --git a/bin/auto-pull-and-start-docker.sh b/bin/auto-pull-and-start-docker.sh index 8af28b6..fbc0818 100755 --- a/bin/auto-pull-and-start-docker.sh +++ b/bin/auto-pull-and-start-docker.sh @@ -100,7 +100,7 @@ docker run \ -p $tl_rtc_file_api_port:$tl_rtc_file_api_port \ -e "tl_rtc_file_env_mode=http" \ -e tl_rtc_file_api_port \ - -e tl_rtc_file_ws_port \ + -e tl_rtc_file_socket_port \ -e tl_rtc_file_socket_host \ -e tl_rtc_file_webrtc_stun_host \ -e tl_rtc_file_webrtc_turn_host \ @@ -139,10 +139,10 @@ docker run \ # 启动socket容器 docker run \ --name=socket \ - -p $tl_rtc_file_ws_port:$tl_rtc_file_ws_port \ + -p $tl_rtc_file_socket_port:$tl_rtc_file_socket_port \ -e "tl_rtc_file_env_mode=http" \ -e tl_rtc_file_api_port \ - -e tl_rtc_file_ws_port \ + -e tl_rtc_file_socket_port \ -e tl_rtc_file_socket_host \ -e tl_rtc_file_webrtc_stun_host \ -e tl_rtc_file_webrtc_turn_host \ diff --git a/doc/README_EN.md b/doc/README_EN.md index 6b5cc6d..b7d90bc 100644 --- a/doc/README_EN.md +++ b/doc/README_EN.md @@ -62,7 +62,7 @@ npm install Modify the corresponding websocket configurations in `tlrtcfile.env`: ## Websocket server port - tl_rtc_file_ws_port=8444 + tl_rtc_file_socket_port=8444 ## Websocket server address ## "ws://domain or ws://ip:port or ws://domain:port" diff --git a/tlrtcfile.env b/tlrtcfile.env index d4a9d12..680db39 100644 --- a/tlrtcfile.env +++ b/tlrtcfile.env @@ -2,7 +2,7 @@ ## api服务端口 tl_rtc_file_api_port=9092 ## websocket服务端口 -tl_rtc_file_ws_port=8444 +tl_rtc_file_socket_port=8444 ## websocket服务地址 tl_rtc_file_socket_host=ws://127.0.0.1:8444