Closed kirofreedom closed 2 years ago
This error is very clear: no valid found h264 payload type
.
TRANS_BY_GPT3
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.
TRANS_BY_GPT3
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. @duiniuluantanqin @winlinvip
TRANS_BY_GPT3
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.
It is recommended to use the latest gb28181 branch code and add 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 is recommended to be closed. @duiniuluantanqin @winlinvip
TRANS_BY_GPT3
Previously, rtmp_to_rtc was enabled by default, but now it is off by default. This is not a bug.
TRANS_BY_GPT3
So that's how it is, thank you 🙏
TRANS_BY_GPT3
It is recommended to use the latest gb28181 branch code and add 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 is suggested to be closed. @duiniuluantanqin @winlinvip
Thank you very much!! I will give it a try.
TRANS_BY_GPT3
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.
TRANS_BY_GPT3
Here, https://github.com/ossrs/srs/issues/2716#webrtc-live, 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.
TRANS_BY_GPT3
Description
listen 1935; max_connections 1000; daemon off; srs_log_tank console;
http_api { enabled on; listen 1985; }
http_server { enabled on; listen 8080; }
stats { network 0; }
stream_caster { enabled on; caster gb28181;
rtc_server { enabled on;
Listen at udp://8000
}
vhost defaultVhost { rtc { enabled on; bframe discard; }
}