1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Merge branch '4.0release' into merge/develop

This commit is contained in:
winlin 2021-07-08 14:36:23 +08:00
commit a47c55a171
6 changed files with 18 additions and 8 deletions

View file

@ -747,6 +747,9 @@ srs_error_t SrsSdp::parse(const std::string& sdp_str)
line.erase(line.size()-1, 1);
}
// Strip the space of line, for pion WebRTC client.
line = srs_string_trim_end(line, " ");
if ((err = parse_line(line)) != srs_success) {
return srs_error_wrap(err, "parse sdp line failed");
}