1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00
This commit is contained in:
winlin 2020-08-21 21:23:32 +08:00
parent 60aebb5ae3
commit 1c07aed2fc
3 changed files with 11 additions and 11 deletions

View file

@ -166,7 +166,7 @@ uint8_t SrsRtcpApp::get_subtype() const
string SrsRtcpApp::get_name() const
{
return string((char*)name_);
return string((char*)name_, strnlen((char*)name_, 4));
}
srs_error_t SrsRtcpApp::get_payload(uint8_t*& payload, int& len)