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

RTC: Pithy print the address change

This commit is contained in:
winlin 2020-07-27 12:28:15 +08:00
parent a035d312f9
commit 5f7d1e2c5b
4 changed files with 20 additions and 8 deletions

View file

@ -125,7 +125,11 @@ SrsErrorPithyPrint::~SrsErrorPithyPrint()
bool SrsErrorPithyPrint::can_print(srs_error_t err)
{
int error_code = srs_error_code(err);
return can_print(error_code);
}
bool SrsErrorPithyPrint::can_print(int error_code)
{
bool new_stage = false;
SrsStageInfo* stage = stages.fetch_or_create(error_code, &new_stage);