1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix typo, change bridger to bridge.

This commit is contained in:
winlin 2022-06-09 19:35:07 +08:00
parent f469753b07
commit f1840b87e5
7 changed files with 102 additions and 102 deletions

View file

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