Skip to content

Commit

Permalink
Fix typo, change bridger to bridge.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jun 9, 2022
1 parent f469753 commit f1840b8
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 102 deletions.
12 changes: 6 additions & 6 deletions trunk/src/app/srs_app_rtc_conn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1197,17 +1197,17 @@ srs_error_t SrsRtcPublishStream::initialize(SrsRequest* r, SrsRtcSourceDescripti
return srs_error_wrap(err, "create source");
}

// Disable GOP cache for RTC2RTMP bridger, to keep the streams in sync,
// Disable GOP cache for RTC2RTMP bridge, to keep the streams in sync,
// especially for stream merging.
rtmp->set_cache(false);

SrsRtmpFromRtcBridger *bridger = new SrsRtmpFromRtcBridger(rtmp);
if ((err = bridger->initialize(r)) != srs_success) {
srs_freep(bridger);
return srs_error_wrap(err, "create bridger");
SrsRtmpFromRtcBridge *bridge = new SrsRtmpFromRtcBridge(rtmp);
if ((err = bridge->initialize(r)) != srs_success) {
srs_freep(bridge);
return srs_error_wrap(err, "create bridge");
}

source->set_bridger(bridger);
source->set_bridge(bridge);
}
#endif

Expand Down
Loading

0 comments on commit f1840b8

Please sign in to comment.