mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +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, "=");
|
||||
|
||||
if (v_pram.size() > 0) {
|
||||
if (v_pram.size() > 1) {
|
||||
return v_pram.at(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue