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:
parent
87ffb7071a
commit
5afabe4adf
3 changed files with 4 additions and 4 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue