Comments (4)
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.
from srs.
Hi, based on previous testing...
- start playing 20*WebRTC Streams (can be different stream names) in 1 page
- refresh this page for 2~3 times, must encuonter SRS crash issue
that's most efficient way to reproduce the issue,
if 1 page only plays 1 webrtc stream, have to refresh lots of times and not absolutely trigger the bug
from srs.
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.
from srs.
Duplicated to #3784
from srs.
Related Issues (20)
- Bug: Config http_api and rtc_server.tcp listen on same port. HOT 2
- RTSP: FFmpeg convert to RTMP, the HLS TS file size is too short. HOT 6
- How to set authentication for rtmp HOT 2
- Rtmp authentication HOT 1
- WebRTC WHEP URL playback is stuttering in Google Chrome browser. HOT 1
- HTTPS: SSL errors in safari and chrome. HOT 1
- RTMP: Response accurate error when rejecting OBS.
- Standalone binary HOT 1
- Version 6.0/5.0 configuration parsing options: Configuration file not found at conf/docker.conf. HOT 1
- API: The VmSize of SRS is huge and incorrect, if enabled asan. HOT 2
- WebRTC WHEP URL playback is stuttering in Google Chrome browser.
- C++ HOT 1
- When the DVR generates a segment, it sends a request to /ws/v1/update. HOT 1
- http_hooks always connect to localhost on Docker compose HOT 4
- RTMP to WebRTC fps drop by DJI mini 3. HOT 5
- Console: The HTTPS API and the HTTPS server share the same port. HOT 1
- RTMP2WebRTC: Stuttering when using flutter WebRTC HOT 5
- IO: network i/o and block i/o is shooting high HOT 1
- FFmepg: Transcode will result in endless ffmpeg process HOT 1
- High latency on raspberry pi 5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from srs.