1
0
Fork 0
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:
kyxlx550 2020-04-17 00:17:47 +08:00
parent 06412ddddc
commit 98c29b2b9a

View file

@ -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);
}
}