A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Haivision/srt/commit/1cd39b9d58bcae459c56a97c64141790ebe62547 below:

[core] Show RCV buffer timespan instead of TSBPD ready span. · Haivision/srt@1cd39b9 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+11

-15

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+11

-15

lines changed Original file line number Diff line number Diff line change

@@ -1003,29 +1003,25 @@ string CRcvBufferNew::strFullnessState(int iFirstUnackSeqNo, const time_point& t

1003 1003

if (m_tsbpd.isEnabled() && m_iMaxPosInc > 0)

1004 1004

{

1005 1005

const PacketInfo nextValidPkt = getFirstValidPacketInfo();

1006 -

ss << " (TSBPD ready in ";

1006 +

ss << "(TSBPD ready in ";

1007 1007

if (!is_zero(nextValidPkt.tsbpd_time))

1008 1008

{

1009 -

ss << count_milliseconds(nextValidPkt.tsbpd_time - tsNow);

1009 +

ss << count_milliseconds(nextValidPkt.tsbpd_time - tsNow) << "ms";

1010 +

const int iLastPos = incPos(m_iStartPos, m_iMaxPosInc - 1);

1011 +

if (m_entries[iLastPos].pUnit)

1012 +

{

1013 +

ss << ", timespan ";

1014 +

const uint32_t usPktTimestamp = m_entries[iLastPos].pUnit->m_Packet.getMsgTimeStamp();

1015 +

ss << count_milliseconds(m_tsbpd.getPktTsbPdTime(usPktTimestamp) - nextValidPkt.tsbpd_time);

1016 +

ss << " ms";

1017 +

}

1010 1018

}

1011 1019

else

1012 1020

{

1013 1021

ss << "n/a";

1014 1022

}

1015 1023 1016 -

const int iLastPos = incPos(m_iStartPos, m_iMaxPosInc - 1);

1017 -

if (m_entries[iLastPos].pUnit)

1018 -

{

1019 -

ss << ":";

1020 -

const uint32_t usPktTimestamp = m_entries[iLastPos].pUnit->m_Packet.getMsgTimeStamp();

1021 -

ss << count_milliseconds(m_tsbpd.getPktTsbPdTime(usPktTimestamp) - tsNow);

1022 -

ss << " ms";

1023 -

}

1024 -

else

1025 -

{

1026 -

ss << ":n/a ms";

1027 -

}

1028 -

ss << ". ";

1024 +

ss << "). ";

1029 1025

}

1030 1026 1031 1027

ss << SRT_SYNC_CLOCK_STR " drift " << getDrift() / 1000 << " ms.";

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4