[Live-devel] StatsIterator sometimes doesn't return any stats

Andy Hawkins Andy.Hawkins at uniguest.com
Thu Feb 22 06:59:22 PST 2024


Hi,

Apologies, I somehow missed that message. I've just made the change you suggest and it now seems to be consistently returning the results I'd expect.

I'll continue to monitor, but looks good so far.

Thanks again for the assistance.

Andy

________________________________
From: live-devel <live-devel-bounces at us.live555.com> on behalf of Ross Finlayson <finlayson at live555.com>
Sent: 22 February 2024 13:59
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: Re: [Live-devel] StatsIterator sometimes doesn't return any stats



> On Feb 23, 2024, at 12:28 AM, Andy Hawkins <Andy.Hawkins at uniguest.com> wrote:
>
> Just an update on this. I've now got the camera in the same network as the proxy, and I'm still seeing occasional losses of the 'stats' for a particular source, even with the new code applied.

Did you do the following, as I recommended in my last email?

———
Try changing
                        while ((Stats = StatsIterator.next()) != NULL)
in your code to
                        while ((Stats = StatsIterator.next(True)) != NULL)
to ensure that you include all sources - even those that occurred before a ‘reset’ of the source streams.
———

If so, then I don’t see how this could still be happening (as there should no longer be anywhere in the code that is removing “RTPReceptionStats” records.  You’re going to have to track down this apparent bug in the LIVE555 code yourself.


Ross Finlayson
Live Networks, Inc.
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.live555.com%2F&data=05%7C02%7Candy.hawkins%40uniguest.com%7C2f56a356b92a40ac53db08dc33af97a8%7C9b0e98ba45ed42abb699c61412572c2c%7C0%7C0%7C638442076477884919%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=KVxOI7iCETWWUbrBPFQ0esBsSx3TPC%2BTTEx380TSyZ4%3D&reserved=0<http://www.live555.com/>


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.live555.com%2Fmailman%2Flistinfo%2Flive-devel&data=05%7C02%7Candy.hawkins%40uniguest.com%7C2f56a356b92a40ac53db08dc33af97a8%7C9b0e98ba45ed42abb699c61412572c2c%7C0%7C0%7C638442076477892489%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=TKLQ6%2BJZNIfS3kLUGdzNiOpXSRZdq57oJ1jvakbBgn8%3D&reserved=0<http://lists.live555.com/mailman/listinfo/live-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20240222/fb083f74/attachment.htm>


More information about the live-devel mailing list