tl-open-source / tl-rtc-file

WebRTC P2P online web media streaming tool (for files, video, screen, live streaming, text) with management and statistical monitoring capabilities.
https://im.iamtsm.cn/website/index.html
MIT License
2.45k stars 252 forks source link

请问怎么在配置文件里直接写入wss://地址,文件写完都是ws://地址,在外面自定义发给别人会失效 #24

Closed Fins03 closed 11 months ago

Fins03 commented 11 months ago

我是分开搭建的

iamtsm commented 11 months ago
image
Fins03 commented 11 months ago

可以说下自定义wss://可以在文件里改吗,文件里改tl_rtc_file_socket_host,改后运行是ws://

iamtsm commented 11 months ago

另外ws和wss是根据你的启动模式自动区分的,默认http模式启动对应的就是ws://,https启动的就是wss://

Fins03 commented 11 months ago

我没办法运行https,api运行是http的,但是另外搭建的socket却是wss的

Fins03 commented 11 months ago

好的,谢谢,有点难

iamtsm commented 11 months ago

把api服务同步改为https环境就好

Fins03 commented 11 months ago

把api服务同步改为https环境就好

这个服务器很怪,http运行的socket,0.0.0.0运行是https网站,http的api就设别为wss,但是这个服务器https都是运行不了的

iamtsm commented 11 months ago

https://im.iamtsm.cn/document/install/INSTALL_BY_COMMAND.html