mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
GB28181: Fix sip.candidate configuration bug. v5.0.77
This commit is contained in:
parent
dd563d45ca
commit
5b3dd61deb
2 changed files with 6 additions and 1 deletions
|
@ -3934,6 +3934,11 @@ std::string SrsConfig::get_stream_caster_sip_candidate(SrsConfDirective* conf)
|
||||||
return DEFAULT;
|
return DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
conf = conf->get("sip");
|
||||||
|
if (!conf) {
|
||||||
|
return DEFAULT;
|
||||||
|
}
|
||||||
|
|
||||||
conf = conf->get("candidate");
|
conf = conf->get("candidate");
|
||||||
if (!conf || conf->arg0().empty()) {
|
if (!conf || conf->arg0().empty()) {
|
||||||
return DEFAULT;
|
return DEFAULT;
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
|
|
||||||
#define VERSION_MAJOR 5
|
#define VERSION_MAJOR 5
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_REVISION 76
|
#define VERSION_REVISION 77
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue