mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
打印codec信息时,打印url信息
This commit is contained in:
parent
f833bfb031
commit
018fa40946
@ -286,7 +286,7 @@ void MultiMediaSourceMuxer::onAllTrackReady() {
|
|||||||
if (listener) {
|
if (listener) {
|
||||||
listener->onAllTrackReady();
|
listener->onAllTrackReady();
|
||||||
}
|
}
|
||||||
InfoL << "stream: " << _stream_url << " , codec info: " << getTrackInfoStr(this);
|
InfoL << "stream: " << getOriginUrl(*MediaSource::NullMediaSource) << " , codec info: " << getTrackInfoStr(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MultiMediaSourceMuxer::resetTracks() {
|
void MultiMediaSourceMuxer::resetTracks() {
|
||||||
|
@ -142,7 +142,6 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
bool _is_enable = false;
|
bool _is_enable = false;
|
||||||
string _stream_url;
|
|
||||||
Ticker _last_check;
|
Ticker _last_check;
|
||||||
Stamp _stamp[2];
|
Stamp _stamp[2];
|
||||||
std::weak_ptr<Listener> _track_listener;
|
std::weak_ptr<Listener> _track_listener;
|
||||||
|
@ -968,7 +968,7 @@ MediaOriginType WebRtcTransportImp::getOriginType(MediaSource &sender) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
string WebRtcTransportImp::getOriginUrl(MediaSource &sender) const {
|
string WebRtcTransportImp::getOriginUrl(MediaSource &sender) const {
|
||||||
return "";
|
return _media_info._full_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<SockInfo> WebRtcTransportImp::getOriginSock(MediaSource &sender) const {
|
std::shared_ptr<SockInfo> WebRtcTransportImp::getOriginSock(MediaSource &sender) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user