mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine source state to created and delivering
This commit is contained in:
parent
5afabe4adf
commit
66a0143f14
5 changed files with 42 additions and 19 deletions
|
@ -417,7 +417,6 @@ srs_error_t SrsRtcServer::create_session(
|
|||
return srs_error_wrap(err, "create source");
|
||||
}
|
||||
|
||||
// TODO: FIXME: Refine the API for stream status manage.
|
||||
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