修复编译警告

This commit is contained in:
xia-chu 2021-04-20 17:32:22 +08:00
parent 9004ad7a60
commit ef0371ef94

View File

@ -308,7 +308,7 @@ void MultiMediaSourceMuxer::setTrackListener(const std::weak_ptr<MultiMuxerPriva
int MultiMediaSourceMuxer::totalReaderCount() const {
#if defined(ENABLE_RTPPROXY)
return _muxer->totalReaderCount() + _rtp_sender.size();
return _muxer->totalReaderCount() + (int)_rtp_sender.size();
#else
return _muxer->totalReaderCount();
#endif