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

RTC: Remove dead code

This commit is contained in:
winlin 2020-08-17 17:47:26 +08:00
parent 87ffb7071a
commit 5afabe4adf
3 changed files with 4 additions and 4 deletions

View file

@ -418,7 +418,7 @@ srs_error_t SrsRtcServer::create_session(
}
// TODO: FIXME: Refine the API for stream status manage.
if (publish && !source->can_publish(false)) {
if (publish && !source->can_publish()) {
return srs_error_new(ERROR_RTC_SOURCE_BUSY, "stream %s busy", req->get_stream_url().c_str());
}