1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-14 20:31:56 +00:00

GB28181: Fix sip.candidate configuration bug. v5.0.77

This commit is contained in:
winlin 2022-10-09 22:37:06 +08:00
parent dd563d45ca
commit 5b3dd61deb
2 changed files with 6 additions and 1 deletions

View file

@ -3934,6 +3934,11 @@ std::string SrsConfig::get_stream_caster_sip_candidate(SrsConfDirective* conf)
return DEFAULT;
}
conf = conf->get("sip");
if (!conf) {
return DEFAULT;
}
conf = conf->get("candidate");
if (!conf || conf->arg0().empty()) {
return DEFAULT;

View file

@ -9,6 +9,6 @@
#define VERSION_MAJOR 5
#define VERSION_MINOR 0
#define VERSION_REVISION 76
#define VERSION_REVISION 77
#endif