Replies: 2 comments 1 reply
-
|
Which version of SRT is that? I'm looing into the latest version and it doesn't look like there could be the reason of printing this message in a normal situation. There is one that I could think of: if the blocking mode is in use and the timeout for reading is set. But in order to achieve flooding in this situation there would have to be reading timeout set to an extremely small value. The readMessage() function is called in non-blocking mode only if isRcvDataReady() returns true, otherwise it isn't called at all. This is also called unconditionally in blocking mode, but only after the condition loop that should either:
The call of this function then happens in case of broken connection or timeout and it might cause this warning log in this case, but then you should get the error from the call of |
Beta Was this translation helpful? Give feedback.
-
|
Hmm, are you sure that you know what you are doing? This is exactly the reason of this floding message. Note also that it's weird that you are setting this: while your application isn't sending. If you wanted to have a non-blocking calls for The timeout you set through |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am experiencing trace flooding from this function despite having a steady connection stream (no drops, everything's working). Is it normal behavior? What could be wrong with the code (attached below)?
My stream:
ffmpeg -re -f lavfi -i testsrc=size=640x480:rate=25 -f lavfi -i sine=f=440:b=4 -f lavfi -i sine=f=432:b=4 -filter_complex "[1:a][2:a]amerge=inputs=2[a1]" -map 0 -map "[a1]" -c:v libx264 -preset ultrafast -tune animation -crf 32 -x264opts keyint=25:min-keyint=25 -c:a aac -b:a 32k -f mpegts -muxrate 1200k "srt://localhost:5000"My stripped down (from original app) server listen code is attached.
srtsvr.c.gz
to build (inside srt cloned working copy root):
to run:
Beta Was this translation helpful? Give feedback.
All reactions