unjust / microradio_server

work for the streaming service and site
4 stars 0 forks source link

Transmission message rate on youtube #12

Open m33toh opened 5 years ago

m33toh commented 5 years ago

There was a message on YouTube about the transmission rate not being healthy enough. Should make sure it was not a local WiFi issue trying with a proven fast and stable connection.

unjust commented 5 years ago

Reading this post https://dzone.com/articles/rtmp-performance-testing-with-jmeter-learn-how We may be able to set up some tooling. With one of the plugins to measure. Also something to consider is a test with streaming a file already on the server, so elimtae the question of WiFi upload and narrow down if the problem is in uploading, processing, or streaming.

unjust commented 5 years ago

https://www.blazemeter.com/blog/how-load-test-rtmpt-live-media-streaming-jmeter

unjust commented 5 years ago

What kind of performance issues are you seeing?

There are a few things you can try:

1) At the encoder: check the stats dock in OBS if there's too much recording lag, encoding lag or dropped frames https://twitter.com/obsproject/status/1100167198876803077 2) At the server: use top to see realtime CPU/memory usage https://linux.die.net/man/1/top 3) At the server: use iftop to see realtime bandwidth usage http://www.ex-parrot.com/pdw/iftop/ 4) At YouTube: look for errors in the Live Control Room

Also make sure that you use a Google Cloud instance that's near you, as you will get more bandwidth that way.