Jump to content
  • 0

Why stream has freeze when cpu is low


Ceren Alptekin
 Share

Question

Hello,

Have a good day.

We are streaming with Antmedia with 2000 participants. CPU values look like below. But loading icon appears on the screen from at intervals. I added the image of the loading icon. Broadcast stops and then resumes after a certain time. We checked logs but there is no error log. Although there is no increase in CPU and memory, why is this case happening?

antmedia.png.e46a116428abbdf49ed13cefa6c8a8a0.png

14292937_loadingicon.png.ffb59303e8c69c043b0708809e1c896b.png

Best Regards.

Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
5 hours ago, Ceren Alptekin said:

Hi,

We start streaming with rtmp liveapp.

Best regards

Hi @Ceren Alptekin,

Hope you are doing well.

How are you sending the rtmp stream to the Ant Media Server?

If it's some encoder like OBS, can you please share the encoder settings that you are using?

P.S. You can refer to this document to tune the settings for rtmp to webrtc https://resources.antmedia.io/docs/rtmp-publishing-1

Let me know how it goes.

Link to comment
Share on other sites

  • 0

Hi Mohit,

We sending rtmp stream to Ant Media Server as below. We record the screen with ffmpeg , screen record in linux.

ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 10 -s 1920x1080 -thread_queue_size 9000 -i :0.0+0,0 -f pulse -thread_queue_size 9000 -i default -acodec aac -strict -2 -ar 44100 -b:a 128k -af aresample=async=1 -c:v libx264 -preset fast -maxrate 2976k -bufsize 5952k -pix_fmt yuv420p -r 10 -crf 17 -minrate 500 -maxrate 500 -bufsize 1000 -vf scale=1920x1080 -g 20 -f flv rtmp://ip:1935/LiveApp/roomkey 

Link to comment
Share on other sites

  • 0
On 2/27/2023 at 11:57 AM, Ceren Alptekin said:

Hi Mohit,

We sending rtmp stream to Ant Media Server as below. We record the screen with ffmpeg , screen record in linux.

ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 10 -s 1920x1080 -thread_queue_size 9000 -i :0.0+0,0 -f pulse -thread_queue_size 9000 -i default -acodec aac -strict -2 -ar 44100 -b:a 128k -af aresample=async=1 -c:v libx264 -preset fast -maxrate 2976k -bufsize 5952k -pix_fmt yuv420p -r 10 -crf 17 -minrate 500 -maxrate 500 -bufsize 1000 -vf scale=1920x1080 -g 20 -f flv rtmp://ip:1935/LiveApp/roomkey 

Thank you @Ceren Alptekin,

I will test it at my end and get back to you.

Link to comment
Share on other sites

  • 0
On 2/28/2023 at 1:07 PM, Mohit said:

Thank you @Ceren Alptekin,

I will test it at my end and get back to you.

Hi @Ceren Alptekin,

How are you?

I tried to investigate this at my end but I'm not able to completely reproduce the issue.

If it is possible for you, can you please provide me Networking logs from inspect/developer tools.

Also, if it suits to you then you can mark your availability here https://calendly.com/antmedia and we can check these over a meeting.

Thank you 

Link to comment
Share on other sites

 Share

×
×
  • Create New...