打印codec信息时,打印url信息

This commit is contained in:
ziyue
2021-08-05 14:49:52 +08:00
parent f833bfb031
commit 018fa40946
3 changed files with 2 additions and 3 deletions

View File

@@ -286,7 +286,7 @@ void MultiMediaSourceMuxer::onAllTrackReady() {
if (listener) {
listener->onAllTrackReady();
}
InfoL << "stream: " << _stream_url << " , codec info: " << getTrackInfoStr(this);
InfoL << "stream: " << getOriginUrl(*MediaSource::NullMediaSource) << " , codec info: " << getTrackInfoStr(this);
}
void MultiMediaSourceMuxer::resetTracks() {