mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SquashSRS4: Remove srs-librtmp
This commit is contained in:
parent
f043a7eb48
commit
6dc8d9dd6f
26 changed files with 139 additions and 189 deletions
|
@ -961,12 +961,14 @@ srs_error_t SrsRtmpConn::acquire_publish(SrsLiveSource* source)
|
|||
|
||||
SrsRequest* req = info->req;
|
||||
|
||||
// @see https://github.com/ossrs/srs/issues/2364
|
||||
// @see https://github.com/ossrs/srs/issues/2364
|
||||
// Check whether GB28181 stream is busy.
|
||||
#if defined(SRS_GB28181)
|
||||
SrsGb28181RtmpMuxer* gb28181 = _srs_gb28181->fetch_rtmpmuxer(req->stream);
|
||||
if (gb28181 != NULL) {
|
||||
return srs_error_new(ERROR_SYSTEM_STREAM_BUSY, "gb28181 stream %s busy", req->get_stream_url().c_str());
|
||||
if (_srs_gb28181 != NULL) {
|
||||
SrsGb28181RtmpMuxer* gb28181 = _srs_gb28181->fetch_rtmpmuxer(req->stream);
|
||||
if (gb28181 != NULL) {
|
||||
return srs_error_new(ERROR_SYSTEM_STREAM_BUSY, "gb28181 stream %s busy", req->get_stream_url().c_str());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue