Closed DancingPanda666 closed 3 months ago
I believe this bug could caused from issues with the signaling connection and the media connection, as they use separate TCP connections. This could lead to crashes due to the interaction between these two components on the server.
Identifying a simpler method to reproduce the issue is crucial; if we can reliably replicate the problem, we can address it directly. Conversely, without a way to stably reproduce it, finding a solution becomes much more challenging due to the need to guess.
We recognize the risks associated with using TCP for WebRTC. We are exploring enhanced solutions, similar to the smart pointer concept in C++11. However, at present, there is no definitive solution or 'silver bullet' for this issue. Thus, the most effective strategy remains to reproduce the issue so we can address it directly.
Hi, based on previous testing...
if 1 page only plays 1 webrtc stream, have to refresh lots of times and not absolutely trigger the bug
It would be beneficial if you could simplify the reproduction steps. Starting 20 players to reproduce the problem could be very complex. Perhaps, using network conditioning tools to introduce loss or delay in the network could allow the issue to be reproduced with just one or two players. Please try to reproduce it by using a publisher, for example. With the network condition tools, you might manage to reproduce it with only one publisher or possibly two.
I prefer using the publisher to reproduce the issue because using a player always requires a publisher as well, introducing complexity with two components involved. By reproducing the issue directly through a publisher, there's no need for a player, making the process simpler.
Duplicated to #3784
Describe the bug Using WebRTC(TCP) is very likely to encounter SRS crash issue, whereas using UDP is safe and sound
Version SRS5
To Reproduce
Expected behavior working fine under webrtc (tcp)
Screenshots
Additional context
Also, here're some relevant issue posts which look like also not yet been resolved