mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
fix sip stack param check error
This commit is contained in:
parent
06412ddddc
commit
98c29b2b9a
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ std::string srs_sip_get_param(std::string msg, std::string param)
|
||||||
|
|
||||||
std::vector<std::string> v_pram = srs_string_split(value, "=");
|
std::vector<std::string> v_pram = srs_string_split(value, "=");
|
||||||
|
|
||||||
if (v_pram.size() > 0) {
|
if (v_pram.size() > 1) {
|
||||||
return v_pram.at(1);
|
return v_pram.at(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue