Skip to content

Commit

Permalink
Added msid value to media router debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Keukhan committed Dec 4, 2024
1 parent 88ed31f commit 10ed1e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/projects/mediarouter/mediarouter_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1050,13 +1050,14 @@ void MediaRouteStream::UpdateStatistics(std::shared_ptr<MediaTrack> &media_track

ov::String stat_stream_str = "";

stat_stream_str.AppendFormat("Stream. id: %10u, type: %s, name: %s/%s, uptime: %lldms, queue: %d, sync: %lldms",
stat_stream_str.AppendFormat("Stream. id: %10u, type: %s, name: %s/%s, uptime: %lldms, queue: %d, msid: %u, sync: %lldms",
_stream->GetId(),
_inout_type == MediaRouterStreamType::INBOUND ? "Inbound" : "Outbound",
_stream->GetApplicationInfo().GetVHostAppName().CStr(),
_stream->GetName().CStr(),
(int64_t)uptime,
_packets_queue.Size(),
_stream->GetMsid(),
max_pts - min_pts);

stat_track_str = stat_stream_str + stat_track_str;
Expand Down

0 comments on commit 10ed1e9

Please sign in to comment.