[Live-devel] Quick Advice Request on Enhancing RTSP Client with live555

Ross Finlayson finlayson at live555.com
Wed Feb 14 23:36:09 PST 2024



> On Feb 14, 2024, at 7:36 PM, Fatih Bahceci <fatih.bahceci at nanodems.com> wrote:
> 
> We are using version 2023.05.10 of your live555wrapper library

Sorry, but we don’t have any software named “live555wrapper”.  Whatever that is, it must have been written by someone else.


> To prevent high CPU usage, we added a 10-millisecond sleep period after each frame pull in the FramedSource.cpp file of the livemedia library in the following method:
> void FramedSource::getNextFrame(unsigned char* to, unsigned maxSize, afterGettingFunc* afterGettingFunc, void* afterGettingClientData, onCloseFunc* onCloseFunc, void* onCloseClientData)
> {
>    ...
>    std::this_thread::sleep_for(std::chrono::milliseconds(10)); 
>    doGetNextFrame();
> }

Sorry, but if you modify the supplied source code, you can’t expect any support.

There should be no reason for you to add any ‘delay’ to our code.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list