mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Bridger: Fix build fail if disable rtc and ffmpeg-fit
This commit is contained in:
parent
3d225973ef
commit
8a30cc86d9
3 changed files with 4 additions and 2 deletions
|
@ -983,7 +983,7 @@ srs_error_t SrsRtmpConn::acquire_publish(SrsSource* source)
|
|||
}
|
||||
|
||||
// Bridge to RTC streaming.
|
||||
#ifdef SRS_RTC
|
||||
#if defined(SRS_RTC) && defined(SRS_FFMPEG_FIT)
|
||||
if (rtc) {
|
||||
SrsRtcFromRtmpBridger *bridger = new SrsRtcFromRtmpBridger(rtc);
|
||||
if ((err = bridger->initialize(req)) != srs_success) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue