<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks for the response Ross.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Please find the below mentioned list of function calls:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<div class="ContentPasted0">    NetAddressList destinationAddresses(streamDest.address().to_string().c_str());</div>
<div class="ContentPasted0">    struct sockaddr_storage destinationAddress;</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">    copyAddress(destinationAddress, destinationAddresses.firstAddress());</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">    const Port rtpPort(streamDest.port());</div>
<div class="ContentPasted0">    streamInfoPtr->rtpGroupsock.reset(new Groupsock(*live555Env, destinationAddress, rtpPort, TTL));</div>
<div><br class="ContentPasted0">
</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">        streamInfoPtr->sourceFile.reset(MP3FileSource::createNew(*live555Env, streamInfoPtr->filename.c_str()));</div>
<div class="ContentPasted0"> </div>
<div class="ContentPasted0">        streamInfoPtr->framerSourceSet = false;</div>
<div class="ContentPasted0">        streamInfoPtr->rtpSink.reset(MPEG1or2AudioRTPSink::createNew(*live555Env,</div>
<div class="ContentPasted0">                                                                    streamInfoPtr->rtpGroupsock.get()));</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">        streamInfoPtr->afterCallStreamData = CallbackStreamInfo(streamDest, &afterPlayingCallback);</div>
<div class="ContentPasted0">        if (!streamInfo->rtpSink->startPlaying(*streamInfoPtr->sourceFile, InvokeCallback,</div>
<div class="ContentPasted0">                                                 &streamInfoPtr->afterCallStreamData))</div>
<div class="ContentPasted0">        {</div>
<div class="ContentPasted0">            return false;</div>
<div class="ContentPasted0">        }</div>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I was using 2011 earlier, but after changing to 2021 version, I am getting 100% CPU usage, function calls were same for both the versions, except copyAddress(htonl used in 2011 version).</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-size:13px; font-family:Tahoma">
<p><font face="Bookman Old Style">Regards,</font></p>
<p><font face="Bookman Old Style">Vinoth Kumar.T</font></p>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> live-devel <live-devel-bounces@us.live555.com> on behalf of Ross Finlayson <finlayson@live555.com><br>
<b>Sent:</b> Tuesday, May 30, 2023 3:51 PM<br>
<b>To:</b> LIVE555 Streaming Media - development & use <live-devel@us.live555.com><br>
<b>Subject:</b> Re: [Live-devel] CPU 100% usage while using live555 2021</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]<br>
<br>
> On May 30, 2023, at 3:11 AM, Vinothkumar Thiyagarajan via live-devel <live-devel@us.live555.com> wrote:<br>
><br>
><br>
> From: Vinothkumar Thiyagarajan <vinothkumar_t@hcl.com><br>
> Subject: CPU 100% usage while using live555 2021<br>
> Date: May 30, 2023 at 3:11:23 AM PDT<br>
> To: "live-devel@lists.live555.com" <live-devel@us.live555.com><br>
><br>
><br>
> Hello,<br>
>     I am using live555's live.2021.08.04.tar.gz<br>
<br>
Sorry, but we support only the latest version of the code.  See<br>
        <a href="http://live555.com/liveMedia/faq.html#old-versions">https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flive555.com%2FliveMedia%2Ffaq.html%23old-versions&data=05%7C01%7Cvinothkumar_t%40hcl.com%7C10731b2d50f1438e9eb008db60f84013%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C638210391620391425%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fQLYVsWvQSmSnEaLqieR6QiUVj9khgTqOrqmrmQUZ0s%3D&reserved=0</a><br>
and<br>
        <a href="http://live555.com/liveMedia/faq.html#latest-version">https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flive555.com%2FliveMedia%2Ffaq.html%23latest-version&data=05%7C01%7Cvinothkumar_t%40hcl.com%7C10731b2d50f1438e9eb008db60f84013%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C638210391620391425%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=md12U0f0tdr9lr9ty4ZhhFBxIwQUc%2BouZJVnnStVi90%3D&reserved=0</a><br>
<br>
<br>
> , and am getting CPU usage as 100% when I play an audio.<br>
<br>
You would need to better explain exactly how you are using the “LIVE555 Streaming Media” code (note that the code includes RTSP servers, RTSP clients, and proxy servers), and, specifically, what you mean by “play an audio”.<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/">https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.live555.com%2F&data=05%7C01%7Cvinothkumar_t%40hcl.com%7C10731b2d50f1438e9eb008db60f84013%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C638210391620391425%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6%2F4zsuDij3RWqHdmzM1uTn6AhwUtk6SYx9sxATOO2Go%3D&reserved=0</a><br>
<br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
live-devel@lists.live555.com<br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel">https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.live555.com%2Fmailman%2Flistinfo%2Flive-devel&data=05%7C01%7Cvinothkumar_t%40hcl.com%7C10731b2d50f1438e9eb008db60f84013%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C638210391620391425%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lh1cLFg4t1h0kpojRbfU%2BwNbVNJWLuc2kwlgPu2vXN8%3D&reserved=0</a><br>
</div>
</span></font></div>
<font face="Arial" color="Gray" size="1">::DISCLAIMER::<br>
<hr>
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or
 incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely
 those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent
 of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.<br>
<hr>
</font>
</body>
</html>