mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix bugs
This commit is contained in:
parent
60aebb5ae3
commit
1c07aed2fc
3 changed files with 11 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue