1
0
Fork 0
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:
winlin 2021-04-25 15:52:34 +08:00 committed by Winlin
parent 3d225973ef
commit 8a30cc86d9
3 changed files with 4 additions and 2 deletions

View file

@ -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) {