Streamer sleep duration increased from 100 microseconds to 15 milliseconds to avoid termination in iOS builds due to too many wake cycles / second.
This commit is contained in:
@@ -80,7 +80,7 @@ void KRStreamer::run()
|
|||||||
{
|
{
|
||||||
pthread_setname_np("Kraken - Streamer");
|
pthread_setname_np("Kraken - Streamer");
|
||||||
|
|
||||||
std::chrono::microseconds sleep_duration( 100 );
|
std::chrono::microseconds sleep_duration( 15000 );
|
||||||
|
|
||||||
#if TARGET_OS_IPHONE
|
#if TARGET_OS_IPHONE
|
||||||
[EAGLContext setCurrentContext: gTextureStreamerContext];
|
[EAGLContext setCurrentContext: gTextureStreamerContext];
|
||||||
|
|||||||
Reference in New Issue
Block a user