Comments (6)
The entire SRS program will crash, rendering all pages inaccessible.
TRANS_BY_GPT4
from srs.
It is a bug about converting RTSP to RTMP, there is a log "duration":1.23
:
[2024-04-15 22:12:17.076][INFO][1537][41559egi] 45B video sh, codec(7, profile=Main, level=5.1, 3200x1800, 0kbps, 0.0fps, 0.0s)
[2024-04-15 22:12:17.077][INFO][1537][41559egi] 7B audio sh, codec(10, profile=LC, 1channels, 0kbps, 8000HZ), flv(16bits, 2channels, 44100HZ)
[2024-04-15 22:12:18.271][INFO][1537][41559egi] time diff to large=1293, next out=7072, new pkt=1440, set to new pkt
[2024-04-15 22:13:23.287][WARN][1537][41559egi][62] ignore task failed code=1018(StConnect)(ST connect server failed) : callback on_hls http://127.0.0.1:7071/controller/srs/onHls : http: post http://127.0.0.1:7071/controller/srs/onHls with {"server_id":"vid-4249b16","service_id":"0ta99422","action":"on_hls","client_id":"41559egi","ip":"127.0.0.1","vhost":"__defaultVhost__","app":"live","tcUrl":"rtmp://127.0.0.1:1935/live","stream":"3144002875-1360-49","param":"?ipc_id=3144002875-1360-49&id=492",
"duration":1.23,"cwd":"/","file":"./objs/nginx/html/live/3144002875-1360-49/2-1713190361081.ts","url":"live/3144002875-1360-49/2-1713190361081.ts","m3u8":"./objs/nginx/html/live/3144002875-1360-49/3144002875-1360-49.m3u8","m3u8_url":"live/3144002875-1360-49/3144002875-1360-49.m3u8","seq_no":2,"stream_url":"/live/3144002875-1360-49","stream_id":"vid-b933772"}, status=28671, res= : http: client post : http: connect server : http: tcp connect http 127.0.0.1:7071 to=30000ms, rto=30000ms : tcp: connect 127.0.0.1:7071 to=30000ms : connect to 127.0.0.1:7071
I think it's related to your stream content. Could you describe how to reproduce this issue? What's your RTSP client? Which browser did you use?
from srs.
The network camera is utilizing FFmpeg to pull an RTSP stream and then convert it to an RTMP stream for broadcasting, using the SRS (Simple Real-time Server) on a Windows platform.
TRANS_BY_GPT4
from srs.
Please use TCP for RTSP, do not use UDP, as UDP may have issues such as out-of-order packets that could result in incorrect timestamps.
If the issue cannot be resolved, encode the stream once with FFmpeg before pushing it to SRS.
This issue is not related to SRS; it pertains to the RTSP stream.
TRANS_BY_GPT4
from srs.
It is utilizing TCP.
TRANS_BY_GPT4
from srs.
I have mentioned before, this is not an issue with SRS; please seek assistance on the FFmpeg forum.
TRANS_BY_GPT4
from srs.
Related Issues (20)
- WebRTC: Server crashes on AV1 Encoder HOT 2
- WebRTC streaming was successful, but WebRTC play failed HOT 2
- on_hls_notify duplicate [stream] param
- dvr_plan=segment does not take effect if RTSP is H265
- ingree config ffmpeg rtsp_transport tcp cause the exec ffmpeg cli log part has error, and cause whole cli failed HOT 2
- using vlc play srt stream, play fail and coredump HOT 1
- WebRTC: h264 FU-A parse for both S and E flag HOT 1
- requesting the HTTP-FLV using the HEAD method will cause a nullptr crash HOT 8
- heap-use-after-free crash occurs after the streaming endpoint disconnects. HOT 3
- Need current number of client in on_play/on_stop webhook body. HOT 3
- Regarding the issue of static compilation not taking effect HOT 3
- The first few seconds of audio will be lost, only video without audio play HOT 7
- SRS5 WHEP have memory leaks HOT 1
- Simultaneous SRT callers HOT 2
- A user tutorial guide
- RTMP2WebRTC play failed on ios
- HLS Encryption with AES-128 and PKCS7 padding HOT 1
- Not being able to reconnect after network unavailability HOT 2
- The srs-cloud service is no longer operational, and it is also not functioning within the Baota panel. Could you provide an updated release of resources and a new method for setting up within the Baota environment? HOT 1
- WebRTC: 10 concurrent rtc push and pull stream, crashes after a few hours~ HOT 2
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.