Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[技术咨询] rtsp推流遇到connection refused。请教原因 #3496

Closed
7288Fzq opened this issue Apr 26, 2024 · 3 comments
Closed

[技术咨询] rtsp推流遇到connection refused。请教原因 #3496

7288Fzq opened this issue Apr 26, 2024 · 3 comments

Comments

@7288Fzq
Copy link

7288Fzq commented Apr 26, 2024

咨询的功能模块

  • rtsp推流部分

咨询的具体内容和问题

bug日志在此

- 2024-04-26 12:45:42.650 D [rv1126_demo] [3454-stamp thread] util.cpp:366 operator() | Stamp thread started
2024-04-26 12:45:42.656 I [rv1126_demo] [3454-rv1126_demo] EventPoller.cpp:500 EventPollerPool | EventPoller created size: 4
2024-04-26 12:45:42.676 D [rv1126_demo] [3454-event poller 1] MediaSink.cpp:162 emitAllTrackReady | All track ready use 8ms
2024-04-26 12:45:42.679 T [rv1126_demo] [3454-event poller 1] MediaSink.cpp:280 addMuteAudioTrack | Mute aac track added
2024-04-26 12:45:42.688 I [rv1126_demo] [3454-event poller 1] MediaSource.cpp:517 emitEvent | 媒体注册:fmp4://__defaultVhost__/live/video0
2024-04-26 12:45:42.690 I [rv1126_demo] [3454-event poller 1] MultiMediaSourceMuxer.cpp:555 onAllTrackReady | stream: schema://__defaultVhost__/app/stream , codec info: mpeg4-generic[8000/1/16] H264[1920/1080/30]
2024-04-26 12:45:42.696 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:80 publish | rtsp://localhost/live/video0 null null 0
2024-04-26 12:45:42.698 T [rv1126_demo] [3454-event poller 1] TcpClient.cpp:79 startConnect | mediakit::PusherImp<mediakit::RtspPusher, mediakit::PusherBase>-1 start connect localhost:554
2024-04-26 12:45:42.698 W [rv1126_demo] [3454-event poller 1] EventPoller.cpp:209 async_l | take time: 11ms, thread may be overloaded
2024-04-26 12:45:42.696 W [rv1126_demo] [3454-event poller 1] EventPoller.cpp:209 async_l | take time: 14ms, thread may be overloaded
2024-04-26 12:45:42.710 I [rv1126_demo] [3454-event poller 1] MediaSource.cpp:517 emitEvent | 媒体注册:rtsp://__defaultVhost__/live/video0
2024-04-26 12:45:42.717 T [rv1126_demo] [3454-event poller 1] TcpClient.cpp:89 onSockConnect | mediakit::PusherImp<mediakit::RtspPusher, mediakit::PusherBase>-1 connect result: 3(connection refused)
2024-04-26 12:45:42.718 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:102 onPublishResult_l | connection refused
push rtsp://localhost/live/video0 failed:3 connection refused2024-04-26 12:45:42.719 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:29 ~RtspPusher |
2024-04-26 12:45:42.719 T [rv1126_demo] [3454-event poller 1] TcpClient.cpp:28 ~TcpClient | ~mediakit::PusherImp<mediakit::RtspPusher, mediakit::PusherBase>-1
2024-04-26 12:45:42.736 I [rv1126_demo] [3454-event poller 1] MediaSource.cpp:517 emitEvent | 媒体注册:rtmp://__defaultVhost__/live/video0
2024-04-26 12:45:42.740 I [rv1126_demo] [3454-event poller 1] MediaSource.cpp:517 emitEvent | 媒体注册:ts://__defaultVhost__/live/video0

注意事项

  • 技术咨询前请先认真阅读readme, wiki,如有必要,您也可以同时搜索已经答复的issue,如果没找到答案才在此提issue

  • 技术咨询不属于bug缺陷,要求用户先star(收藏)本项目,否则会直接关闭issue

@7288Fzq
Copy link
Author

7288Fzq commented Apr 26, 2024

2024-04-26 12:45:42.650 D [rv1126_demo] [3454-stamp thread] util.cpp:366 operator() | Stamp thread started
2024-04-26 12:45:42.656 I [rv1126_demo] [3454-rv1126_demo] EventPoller.cpp:500 EventPollerPool | EventPoller created size: 4
2024-04-26 12:45:42.676 D [rv1126_demo] [3454-event poller 1] MediaSink.cpp:162 emitAllTrackReady | All track ready use 8ms
2024-04-26 12:45:42.679 T [rv1126_demo] [3454-event poller 1] MediaSink.cpp:280 addMuteAudioTrack | Mute aac track added
2024-04-26 12:45:42.688 I [rv1126_demo] [3454-event poller 1] MediaSource.cpp:517 emitEvent | 媒体注册:fmp4://__defaultVhost__/live/video0
2024-04-26 12:45:42.690 I [rv1126_demo] [3454-event poller 1] MultiMediaSourceMuxer.cpp:555 onAllTrackReady | stream: schema://__defaultVhost__/app/stream , codec info: mpeg4-generic[8000/1/16] H264[1920/1080/30]
2024-04-26 12:45:42.696 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:80 publish | rtsp://localhost/live/video0 null null 0
2024-04-26 12:45:42.698 T [rv1126_demo] [3454-event poller 1] TcpClient.cpp:79 startConnect | mediakit::PusherImp<mediakit::RtspPusher, mediakit::PusherBase>-1 start connect localhost:554
2024-04-26 12:45:42.698 W [rv1126_demo] [3454-event poller 1] EventPoller.cpp:209 async_l | take time: 11ms, thread may be overloaded
2024-04-26 12:45:42.696 W [rv1126_demo] [3454-event poller 1] EventPoller.cpp:209 async_l | take time: 14ms, thread may be overloaded
2024-04-26 12:45:42.710 I [rv1126_demo] [3454-event poller 1] MediaSource.cpp:517 emitEvent | 媒体注册:rtsp://__defaultVhost__/live/video0
person @ (184 276 446 639) 0.747
2024-04-26 12:45:42.717 T [rv1126_demo] [3454-event poller 1] TcpClient.cpp:89 onSockConnect | mediakit::PusherImp<mediakit::RtspPusher, mediakit::PusherBase>-1 connect result: 3(connection refused)
2024-04-26 12:45:42.718 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:102 onPublishResult_l | connection refused
push rtsp://localhost/live/video0 failed:3 connection refused2024-04-26 12:45:42.719 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:29 ~RtspPusher |
2024-04-26 12:45:42.719 T [rv1126_demo] [3454-event poller 1] TcpClient.cpp:28 ~TcpClient | ~mediakit::PusherImp<mediakit::RtspPusher, mediakit::PusherBase>-1
2024-04-26 12:45:42.736 I [rv1126_demo] [3454-event poller 1] MediaSource.cpp:517 emitEvent | 媒体注册:rtmp://__defaultVhost__/live/video0
2024-04-26 12:45:42.740 I [rv1126_demo] [3454-event poller 1] MediaSource.cpp:517 emitEvent | 媒体注册:ts://__defaultVhost__/live/video0

@7288Fzq
Copy link
Author

7288Fzq commented Apr 26, 2024

2024-04-26 12:45:42.718 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:102 onPublishResult_l | connection refused
push rtsp://localhost/live/video0 failed:3 connection refused2024-04-26 12:45:42.719 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:29 ~RtspPusher |

@xiongguangjie
Copy link
Member

2024-04-26 12:45:42.718 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:102 onPublishResult_l | connection refused push rtsp://localhost/live/video0 failed:3 connection refused2024-04-26 12:45:42.719 D [rv1126_demo] [3454-event poller 1] RtspPusher.cpp:29 ~RtspPusher |
你这个流已经存在了,还推? 同时,你rtsp服务器监听的端口是554?

@xia-chu xia-chu closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants