-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
srs-5.0.12 uses Hikvision camera GB28181 for normal RTMP playback, but cannot play WebRTC. #2642
Comments
This error is very clear:
|
Hmm, the backend display shows that there is a stream, and rtmp can play normally. The camera uses h264 encoding. I am currently testing with srs. I am just starting to work on audio and video, and I am still a beginner. I appreciate the help from all the experts.
|
Suggest using the latest gb28181 branch code and adding the "rtmp_to_rtc on;" field in the configuration file. If there are still issues after using the latest code and adding "rtmp_to_rtc on;", you can reopen the issue. This issue can be closed as per the suggestion.
|
The latest version of GB seems to indeed have issues with RTC playback, unlike previous versions like 5.0.12. Enabling 'rtmp_to_rtc on' resolves the issue, but it is unclear whether it is a bug or not.
|
Previously, rtmp_to_rtc was enabled by default, but now it is off by default. This is not a bug.
|
So that's how it is, thank you 🙏
|
Thank you very much!! I will give it a try.
|
rtmp_to_rtc on; Good job, I have been working on it for more than a day. I searched through numerous online articles but couldn't find a reliable answer. Only here did I find the solution. I love you so much.
|
Here, #2716 (comment), it explains in detail why it is set to default off. Originally, default on would be more convenient, but there were too many issues, so it had to be changed to off. If you have any issues, please search in the official repository. The information found online is mostly copied and may not be up to date. Then I will close this issue. Thank you all.
|
Description
Replay
How to replay bug?
How to replay bug?
Expected behavior
The expectation is to be able to play WebRTC streams normally.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: