mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
app/srs_app_rtmp_conn: move err result to RTC MACRO to fix compiling warning
This commit is contained in:
parent
ad2d7c3779
commit
8a6fa30992
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,6 @@ srs_error_t SrsRtmpConn::do_publishing(SrsLiveSource* source, SrsPublishRecvThre
|
|||
|
||||
srs_error_t SrsRtmpConn::acquire_publish(SrsLiveSource* source)
|
||||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
||||
SrsRequest* req = info->req;
|
||||
|
||||
|
@ -953,6 +952,7 @@ srs_error_t SrsRtmpConn::acquire_publish(SrsLiveSource* source)
|
|||
|
||||
// Check whether RTC stream is busy.
|
||||
#ifdef SRS_RTC
|
||||
srs_error_t err = srs_success;
|
||||
SrsRtcSource *rtc = NULL;
|
||||
bool rtc_server_enabled = _srs_config->get_rtc_server_enabled();
|
||||
bool rtc_enabled = _srs_config->get_rtc_enabled(req->vhost);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue