mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine comment
This commit is contained in:
parent
66a0143f14
commit
88d4314a3c
1 changed files with 1 additions and 0 deletions
|
@ -1553,6 +1553,7 @@ srs_error_t SrsRtcConnection::add_publisher(SrsRequest* req, const SrsSdp& remot
|
|||
}
|
||||
|
||||
// When SDP is done, we set the stream to create state, to prevent multiple publisher.
|
||||
// @note Here, we check the stream again.
|
||||
if (!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