-
Notifications
You must be signed in to change notification settings - Fork 597
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 error: 404 Not Found after playing about 25seconeds #170
Comments
可能是因为 it may be because |
感谢回复
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: kromalee ***@***.***>
发送时间: Sunday, February 20, 2022 10:40:40 AM
收件人: Streamedian/html5_rtsp_player ***@***.***>
抄送: HaoXuan ***@***.***>; Author ***@***.***>
主题: Re: [Streamedian/html5_rtsp_player] RTSP error: 404 Not Found after playing about 25seconeds (#170)
可能是因为
keepAlive机制, 目前源码配置的是 keepaliveTime = 30000
部分海康DVR RTSPserver 会认为客户端发送的保活报文是垃圾数据,并停止RTSP拉流
可以通过把 源码这个参数修改成1分钟,2分钟,看直播是否会1分钟,2分钟卡住来验证是否这个原因
it may be because
keepAlive mechanism, the current source configuration is keepaliveTime = 30000
Some Hikvision DVR RTSP servers will consider the keep-alive messages sent by the client as junk data and stop RTSP streaming
You can verify whether this is the reason by modifying the parameter of the source code to 1 minute, 2 minutes, and see if the live broadcast will be stuck for 1 minute and 2 minutes.
―
Reply to this email directly, view it on GitHub<#170 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKBBYQCX4ZOC24HOCIE7W23U4BICRANCNFSM4WKII4HQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I'm currently facing a challenge with integrating an RTSP stream from a Hikvision DVR into my WebApp using Streamedian, and I've noticed that you, @kromalee, have previously solved a similar issue. While I can successfully view the stream using VLC, indicating that the stream setup is correct, I'm encountering difficulties when trying to display it in my WebApp through Streamedian. Here's the RTSP link format I'm using to access the camera stream:
The credentials and link work flawlessly on VLC, but the integration with Streamedian in my WebApp doesn't seem to function as expected. I'm beginning to suspect the problem might be with how Streamedian processes the RTSP stream or potentially a specific configuration required by the Hikvision DVR to be compatible with web streaming solutions. Given your experience with Hikvision DVRs and possibly Streamedian, @kromalee, I was hoping you might share some insights or guidance on how to tackle this issue. Any advice or recommendations would be immensely appreciated. Thank you very much for considering my request for assistance! |
forget Streamedian, Its not free, and not easy to use.
|
using HIKVISON NVR
in the 3ed picture, when console.log shows
Media description for payload type: 112 not provided
in 3 times and follow with[client:rtsp] OPTIONS * RTSP/1.0 CSeq: 6 User-Agent: SFRtsp 0.3 Authorization: Basic YWRtaW46YWRtaW4xMjM0NTY=
and finally the alert shows up "RTSP error: 404 Not Found"
The text was updated successfully, but these errors were encountered: