Closed yangjieshao closed 1 month ago
Hi, If you do not open a webrtc connection for the rtsp URL you don't want to connect, it will not try to connect. But i am not to understand what you are trying to achieve. Webrtc-streamer don't need to know backend URL, when a webrtc call is initiated, backend URL is given as argument. Best Regards Michel
for now
everyone can see username and password in url
some customers do not allow this situation
and I don't know how to c++
so I add a program by c#
But I cannot guarantee that the virtual rtsp address passed has a real corresponding rtsp address So how do I tell webrtc-streamer when I receive a virtual address that has no real corresponding address?
Hi, If you put a name and an rtsp URL with user&password in the config file or using arguments -n name and -u URL, only name is known by the web browser. Then user, password, IP, ... are private to the backend. Best Regards Michel
使用配置文件的话,该如何实时响应用户添加摄像头/修改摄像头账号密码呢? (If a configuration file is used, how to respond in real time to the user adding a camera/modifying the camera account password?)
在项目部署的时候我并不知道有哪些摄像头的rtsp需要播放, 我只是提供了个UI给用户进行添加相关数据 (When deploying the project, I didn’t know which cameras’ rtsp needed to be played. I just provide a UI for users to add relevant data)
由于原始的rtsp地址带有账号密码 (Because the original rtsp address contains the account password) 所以我用c#写了个程序来接收和转发rtsp数据 (So I wrote a program in C # to receive and forward rtsp data)
当我发现这个地址不存在的时候,我会直接关闭流 (When I discover that this address does not exist, I will directly close the stream)
但是现在发现,直接断开流,你的程序会不断尝试重连 (But now I find that if you disconnect the stream directly, your program will keep trying to reconnect.)
如果是传了个不经过我的程序的不存在的rtsp地址 (If it was a non-existent rtsp address that did not pass through my program) 你的程序会正常的断开链接 (Your program will disconnect normally)
所以 我该如何告诉你的程序,这个rtsp地址不存在,不要再发起重连请求了? (So how should I tell your program that this rtsp address does not exist and do not initiate reconnection requests?)