mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Squash: Fix padding packets for RTMP2RTC
This commit is contained in:
parent
c8a1e0f3da
commit
8f91a90f28
6 changed files with 18 additions and 8 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue