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:
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;
|
||||
}
|
||||
|
||||
conf = conf->get("sip");
|
||||
if (!conf) {
|
||||
return DEFAULT;
|
||||
}
|
||||
|
||||
conf = conf->get("candidate");
|
||||
if (!conf || conf->arg0().empty()) {
|
||||
return DEFAULT;
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 76
|
||||
#define VERSION_REVISION 77
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue